From 6b1381dc9c03cc97b462a2a6ee5166ff5aa2999a Mon Sep 17 00:00:00 2001 From: Jonas Krimmer <30567171+jkrimmer@users.noreply.github.com> Date: Fri, 13 Sep 2024 11:07:32 +0200 Subject: [PATCH] fix: match LLVM version of LLVMOpenMP This PR fixes wrong test results in FINUFFT.jl on MacOS (see https://github.com/ludvigak/FINUFFT.jl/issues/64) --- F/finufft/build_tarballs.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/F/finufft/build_tarballs.jl b/F/finufft/build_tarballs.jl index a8696c10817..60c2d11ab31 100644 --- a/F/finufft/build_tarballs.jl +++ b/F/finufft/build_tarballs.jl @@ -65,6 +65,7 @@ dependencies = [ Dependency(PackageSpec(name="LLVMOpenMP_jll", uuid="1d63c593-3942-5779-bab2-d838dc0a180e"); platforms=filter(Sys.isbsd, platforms)), ] +llvm_version = v"13.0.1+1" # Build the tarballs, and possibly a `build.jl` as well. build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; - preferred_gcc_version=v"10", julia_compat="1.6", augment_platform_block) + preferred_gcc_version=v"10", preferred_llvm_version=llvm_version, julia_compat="1.6", augment_platform_block)