diff options
Diffstat (limited to 'gfx/wr/ci-scripts/etc/wr-darwin.meson')
-rw-r--r-- | gfx/wr/ci-scripts/etc/wr-darwin.meson | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gfx/wr/ci-scripts/etc/wr-darwin.meson b/gfx/wr/ci-scripts/etc/wr-darwin.meson new file mode 100644 index 0000000000..5449982225 --- /dev/null +++ b/gfx/wr/ci-scripts/etc/wr-darwin.meson @@ -0,0 +1,18 @@ +[binaries] +llvm-config = '/builds/worker/fetches/clang/bin/llvm-config' + +[properties] +# When linking `libOSMesa.dylib` Meson uses options provided by `llvm-config`. +# The binary for `llvm-config` in Firefox CI comes from a native Linux clang, +# which gives the link options for the Linux libLLVM-11.so in the Linux clang. +# However, we want to link against a native macOS clang's libLLVM.dylib, which +# we have available in a separate directory. +# Meson will still have -lLLVM-11 on the command line, but the linker will +# only warn that it has the wrong format (because it's not for macOS). +cpp_link_args = ['-L/builds/worker/fetches/clang-mac/clang/lib', '-lLLVM'] + +[host_machine] +system = 'darwin' +cpu_family = 'x86_64' +cpu = 'i686' +endian = 'little' |