diff options
author | t-karatsu <49965247+t-karatsu@users.noreply.github.com> | 2019-07-13 00:34:08 +0900 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-07-12 10:34:08 -0500 |
commit | adbb9e2d8eab3d3aff66151059b5727dab5ffb71 (patch) | |
tree | c1c3582b42518ed58706711027d88a0ff13c3c9c | |
parent | e8e030a518f3894d5be228401110b9c6cc5ff76e (diff) | |
download | spack-adbb9e2d8eab3d3aff66151059b5727dab5ffb71.tar.gz spack-adbb9e2d8eab3d3aff66151059b5727dab5ffb71.tar.bz2 spack-adbb9e2d8eab3d3aff66151059b5727dab5ffb71.tar.xz spack-adbb9e2d8eab3d3aff66151059b5727dab5ffb71.zip |
Fix pic_flag and test contents about Fujitsu compiler. (#11996)
-rw-r--r-- | lib/spack/spack/compilers/fj.py | 2 | ||||
-rw-r--r-- | lib/spack/spack/test/compilers.py | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/spack/spack/compilers/fj.py b/lib/spack/spack/compilers/fj.py index e37b3898bd..3f378746b7 100644 --- a/lib/spack/spack/compilers/fj.py +++ b/lib/spack/spack/compilers/fj.py @@ -46,4 +46,4 @@ class Fj(spack.compiler.Compiler): @property def pic_flag(self): - return "-fPIC" + return "-KPIC" diff --git a/lib/spack/spack/test/compilers.py b/lib/spack/spack/test/compilers.py index 0a81dd39d9..1b66b692e0 100644 --- a/lib/spack/spack/test/compilers.py +++ b/lib/spack/spack/test/compilers.py @@ -274,11 +274,11 @@ def test_xl_r_flags(): def test_fj_flags(): - supported_flag_test("openmp_flag", "-Kopenmp", "fj@1.2.0") - supported_flag_test("cxx98_flag", "-std=c++98", "fj@1.2.0") - supported_flag_test("cxx11_flag", "-std=c++11", "fj@1.2.0") - supported_flag_test("cxx14_flag", "-std=c++14", "fj@1.2.0") - supported_flag_test("pic_flag", "-fPIC", "fj@1.2.0") + supported_flag_test("openmp_flag", "-Kopenmp", "fj@4.0.0") + supported_flag_test("cxx98_flag", "-std=c++98", "fj@4.0.0") + supported_flag_test("cxx11_flag", "-std=c++11", "fj@4.0.0") + supported_flag_test("cxx14_flag", "-std=c++14", "fj@4.0.0") + supported_flag_test("pic_flag", "-KPIC", "fj@4.0.0") @pytest.mark.regression('10191') |