File tree Expand file tree Collapse file tree 2 files changed +6
-17
lines changed
Expand file tree Collapse file tree 2 files changed +6
-17
lines changed Original file line number Diff line number Diff line change 11#! /bin/env bash
22set -uex
33
4-
54OS=$( uname -s)
65ARCH=$( uname -m)
76
8-
97export CC=clang
108export CXX=clang++
119export LD=ld.lld
1210
13- if [ " $OS " = ' Linux' ] ; then
11+ if [ " $OS " = ' Linux' ]; then
1412
15- : << 'EOF '
13+ : << 'EOF '
1614# setup container environment
1715
1816docker run --rm -ti --init -v .:/work -w /work debian:11
2422
2523fi
2624
25+ if [ " $OS " = ' Darwin' ]; then
2726
28- if [ " $OS " = ' Darwin' ] ; then
29-
30- export PATH=/usr/local/opt/bison/bin/:/usr/local/opt/llvm/bin/:$PATH
27+ export PATH=/usr/local/opt/bison/bin/:/usr/local/opt/llvm/bin/:$PATH
3128
3229fi
3330
34-
35-
3631mkdir -p /tmp/t
3732cd /tmp/t
3833
@@ -53,10 +48,6 @@ tar --strip-components=1 -C mongodb -xf mongodb-${MONGODB_VERSION}.tgz
5348test -d php-src/ext/mongodb && rm -rf php-src/ext/mongodb
5449mv mongodb php-src/ext/
5550
56-
57-
58-
59-
6051cd php-src
6152
6253./buildconf --force
@@ -83,13 +74,11 @@ cd php-src
8374
8475make -j $( nproc)
8576
86-
87- if [ " $OS " = ' Linux' ] ; then
77+ if [ " $OS " = ' Linux' ]; then
8878
8979 file sapi/cli/php
9080 readelf -h sapi/cli/php
9181
9282else
93- otool -L sapi/cli/php
83+ otool -L sapi/cli/php
9484fi
95-
File renamed without changes.
You can’t perform that action at this time.
0 commit comments