Skip to content

Commit 5982072

Browse files
committed
Merge branch 'RB-10.2' into RB-10.3
2 parents a4fd2b7 + 84281ea commit 5982072

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,14 @@ jobs:
112112
- name: Install toolchain (MacOS)
113113
# Prefer `pip install` because it is faster
114114
# than `brew install`.
115-
run: sudo pip3 install scons==4.0.1
115+
run: |
116+
sudo pip3 install scons==4.0.1
117+
# Brew installs all manner of headers into `/usr/local/include`, including
118+
# OpenEXR and Imath versions that conflict with our own. We can't stop Clang
119+
# finding them because Clang is hardcoded to look in `/usr/local/include`
120+
# _before_ anything we specify with `-isystem`, despite documentation to the
121+
# contrary. So we nuke the headers.
122+
rm -rf /usr/local/include/*
116123
if: runner.os == 'macOS'
117124

118125
- name: Install toolchain (Linux)

0 commit comments

Comments
 (0)