Skip to content

Commit 9bbe236

Browse files
committed
Manually build re2c on macos
Avoid issues with the licensing mafia, see: Homebrew/homebrew-core#59094 Closes GH-5932.
1 parent 09be639 commit 9bbe236

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

azure/macos/brew.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ steps:
77
- script: |
88
brew install pkg-config \
99
autoconf \
10-
bison \
11-
re2c
10+
bison
1211
displayName: 'Install Build Tools'
1312
- script: |
1413
brew install openssl@1.1 \
@@ -34,3 +33,11 @@ steps:
3433
brew upgrade libzip
3534
brew link icu4c gettext --force
3635
displayName: 'Install Build Dependencies'
36+
- script: |
37+
wget https://github.com/skvadrik/re2c/releases/download/2.0.1/re2c-2.0.1.tar.xz
38+
tar -xf re2c-2.0.1.tar.xz
39+
cd re2c-2.0.1
40+
./configure
41+
make -j$(sysctl -n hw.ncpu)
42+
make install
43+
displayName: 'Build re2c'

0 commit comments

Comments
 (0)