Skip to content

Commit

Permalink
Manually build re2c on macos
Browse files Browse the repository at this point in the history
Avoid issues with the licensing mafia, see:
Homebrew/homebrew-core#59094

Closes GH-5932.
  • Loading branch information
nikic committed Aug 4, 2020
1 parent 09be639 commit 9bbe236
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions azure/macos/brew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ steps:
- script: |
brew install pkg-config \
autoconf \
bison \
re2c
bison
displayName: 'Install Build Tools'
- script: |
brew install openssl@1.1 \
Expand All @@ -34,3 +33,11 @@ steps:
brew upgrade libzip
brew link icu4c gettext --force
displayName: 'Install Build Dependencies'
- script: |
wget https://github.com/skvadrik/re2c/releases/download/2.0.1/re2c-2.0.1.tar.xz
tar -xf re2c-2.0.1.tar.xz
cd re2c-2.0.1
./configure
make -j$(sysctl -n hw.ncpu)
make install
displayName: 'Build re2c'

0 comments on commit 9bbe236

Please sign in to comment.