diff options
author | Jack Lloyd <[email protected]> | 2020-11-09 19:09:09 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-11-09 19:09:09 -0500 |
commit | 6a2666e0b283fb73d6f84959173c9296e0321398 (patch) | |
tree | 72a2602e31814d11892b346f29051a3e4761a035 /src/build-data | |
parent | eb0b710a8fef5e0f83caee601a46c137af21b019 (diff) |
Use -mcpu=power9 for DARN support
This is apparently needed with certain (perhaps distro specific?)
builds of GCC.
Diffstat (limited to 'src/build-data')
-rw-r--r-- | src/build-data/arch/ppc64.txt | 1 | ||||
-rw-r--r-- | src/build-data/cc/clang.txt | 3 | ||||
-rw-r--r-- | src/build-data/cc/gcc.txt | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/src/build-data/arch/ppc64.txt b/src/build-data/arch/ppc64.txt index 57a363c04..4b871e85e 100644 --- a/src/build-data/arch/ppc64.txt +++ b/src/build-data/arch/ppc64.txt @@ -13,4 +13,5 @@ ppc64el <isa_extensions> altivec powercrypto +power9 </isa_extensions> diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index 8b22eb667..85f1d2ddb 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -58,6 +58,9 @@ rdseed -> "-mrdseed" sha -> "-msha" altivec -> "-maltivec" +ppc64:powercrypto -> "-mcrypto" +ppc64:power9 -> "-mcpu=power9" + arm64:armv8crypto -> "-march=armv8+crypto" arm32:neon -> "-mfpu=neon" diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index 3848fb0dd..c164da671 100644 --- a/src/build-data/cc/gcc.txt +++ b/src/build-data/cc/gcc.txt @@ -65,6 +65,7 @@ sha -> "-msha" altivec -> "-maltivec" powercrypto -> "-mcrypto" +ppc64:power9 -> "-mcpu=power9" arm64:armv8crypto -> "" arm64:armv8sm3 -> "-march=armv8.2-a+sm4" |