Skip to content

Commit

Permalink
Fix pic_flag and test contents about Fujitsu compiler. (spack#11996)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-karatsu authored and adamjstewart committed Jul 12, 2019
1 parent e8e030a commit adbb9e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/spack/spack/compilers/fj.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ def cxx14_flag(self):

@property
def pic_flag(self):
return "-fPIC"
return "-KPIC"
10 changes: 5 additions & 5 deletions lib/spack/spack/test/compilers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit adbb9e2

Please sign in to comment.