summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-10-11 14:49:27 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2019-10-11 21:20:28 -0700
commit8dd95c17053ee0f19bc0afe18822ed341ae77852 (patch)
treec8ff396a6f33adf0a8140784ae5eb7cbaa338acd
parentd248b0e9d5c322576620eb5270f7d95b7c1e9df0 (diff)
downloadspack-8dd95c17053ee0f19bc0afe18822ed341ae77852.tar.gz
spack-8dd95c17053ee0f19bc0afe18822ed341ae77852.tar.bz2
spack-8dd95c17053ee0f19bc0afe18822ed341ae77852.tar.xz
spack-8dd95c17053ee0f19bc0afe18822ed341ae77852.zip
Fixed options to compile generic code on ppc64 and ppc64le
-rw-r--r--lib/spack/llnl/util/cpu/microarchitectures.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/llnl/util/cpu/microarchitectures.json b/lib/spack/llnl/util/cpu/microarchitectures.json
index 5a288c5809..88e2bb665f 100644
--- a/lib/spack/llnl/util/cpu/microarchitectures.json
+++ b/lib/spack/llnl/util/cpu/microarchitectures.json
@@ -729,6 +729,7 @@
"features": [],
"compilers": {
"gcc": {
+ "name": "powerpc64",
"versions": "4:",
"flags": "-mcpu={name} -mtune={name}"
}
@@ -783,6 +784,7 @@
"features": [],
"compilers": {
"gcc": {
+ "name": "powerpc64le",
"versions": "4:",
"flags": "-mcpu={name} -mtune={name}"
}