summaryrefslogtreecommitdiffstats
path: root/gfx/wr/ci-scripts/etc/wr-darwin.meson
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /gfx/wr/ci-scripts/etc/wr-darwin.meson
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/wr/ci-scripts/etc/wr-darwin.meson')
-rw-r--r--gfx/wr/ci-scripts/etc/wr-darwin.meson18
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'