summaryrefslogtreecommitdiff
path: root/azure
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-08-04 10:05:23 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-08-04 10:26:02 +0200
commit9bbe236f6adead060d83c87a581674f4917db3de (patch)
tree095b1bdde21249b1e692f64805cb0827e92e052d /azure
parent09be6394ad5ca19c853c7ea9dd7823693b21e218 (diff)
downloadphp-git-9bbe236f6adead060d83c87a581674f4917db3de.tar.gz
Manually build re2c on macos
Avoid issues with the licensing mafia, see: https://github.com/Homebrew/homebrew-core/pull/59094 Closes GH-5932.
Diffstat (limited to 'azure')
-rw-r--r--azure/macos/brew.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/azure/macos/brew.yml b/azure/macos/brew.yml
index 02cb736d02..fb8b9ace2d 100644
--- a/azure/macos/brew.yml
+++ b/azure/macos/brew.yml
@@ -7,8 +7,7 @@ steps:
- script: |
brew install pkg-config \
autoconf \
- bison \
- re2c
+ bison
displayName: 'Install Build Tools'
- script: |
brew install openssl@1.1 \
@@ -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'