julia: Fix build for @1.9 (#39045)
julia@1.9 tries to download ittapi, which requires cmake. Disable it explicitly.
This commit is contained in:
parent
67b8dd0913
commit
5bbf8454d0
@ -318,6 +318,8 @@ def edit(self, spec, prefix):
|
|||||||
"JULIA_PRECOMPILE:={0}".format("1" if spec.variants["precompile"].value else "0"),
|
"JULIA_PRECOMPILE:={0}".format("1" if spec.variants["precompile"].value else "0"),
|
||||||
# we want to use `patchelf --add-rpath` instead of `patchelf --set-rpath`
|
# we want to use `patchelf --add-rpath` instead of `patchelf --set-rpath`
|
||||||
"override PATCHELF_SET_RPATH_ARG:=--add-rpath", # @1.9:
|
"override PATCHELF_SET_RPATH_ARG:=--add-rpath", # @1.9:
|
||||||
|
# Otherwise, Julia tries to download and build ittapi
|
||||||
|
"USE_INTEL_JITEVENTS:=0", # @1.9:
|
||||||
]
|
]
|
||||||
|
|
||||||
options.append("USEGCC:={}".format("1" if "%gcc" in spec else "0"))
|
options.append("USEGCC:={}".format("1" if "%gcc" in spec else "0"))
|
||||||
|
Loading…
Reference in New Issue
Block a user