diff options
-rw-r--r-- | var/spack/repos/builtin/packages/julia/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/julia/package.py b/var/spack/repos/builtin/packages/julia/package.py index a2fc1a552a..6096857a71 100644 --- a/var/spack/repos/builtin/packages/julia/package.py +++ b/var/spack/repos/builtin/packages/julia/package.py @@ -274,6 +274,14 @@ class Julia(MakefilePackage): options.append("USEGCC:={}".format("1" if "%gcc" in spec else "0")) options.append("USECLANG:={}".format("1" if "%clang" in spec else "0")) + options.extend( + [ + "override CC:={0}".format(spack_cc), + "override CXX:={0}".format(spack_cxx), + "override FC:={0}".format(spack_fc), + ] + ) + # libm or openlibm? if spec.variants["openlibm"].value: options.append("USE_SYSTEM_LIBM=0") |