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:
Michael Kuhn 2023-10-19 09:09:45 +02:00 committed by GitHub
parent 67b8dd0913
commit 5bbf8454d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"))