julia: add targets constraint to llvm (#28682)

This commit is contained in:
Harmen Stoppels
2022-01-31 14:29:23 +01:00
committed by GitHub
parent fff9a29401
commit f080e593cb

View File

@@ -48,7 +48,7 @@ class Julia(MakefilePackage):
# Note, we just use link_llvm_dylib so that we not only get a libLLVM,
# but also so that llvm-config --libfiles gives only the dylib. Without
# it it also gives static libraries, and breaks Julia's build.
depends_on('llvm version_suffix=jl +link_llvm_dylib ~internal_unwind')
depends_on('llvm targets=amdgpu,bpf,nvptx,webassembly version_suffix=jl +link_llvm_dylib ~internal_unwind')
depends_on('libuv')
with when('@1.7.0:1.7'):