mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
验证
This commit is contained in:
parent
56b5c1b138
commit
f831b4d61d
@ -36,3 +36,5 @@ esac
|
||||
apk update
|
||||
|
||||
apk add vim alpine-sdk xz autoconf automake linux-headers clang-dev clang lld libtool cmake bison re2c gettext coreutils
|
||||
apk add bash p7zip zip unzip flex pkgconf ca-certificates
|
||||
apk add wget git curl
|
||||
@ -36,7 +36,6 @@ esac
|
||||
apt update -y
|
||||
apt install -y git curl wget ca-certificates
|
||||
apt install -y xz-utils autoconf automake lld libtool cmake bison re2c gettext coreutils lzip zip unzip
|
||||
apt install -y pkg-config bzip2 flex
|
||||
apt install -y pkg-config bzip2 flex p7zip
|
||||
apt install -y musl-tools g++
|
||||
apt install -y clang
|
||||
|
||||
|
||||
@ -20,6 +20,25 @@ chmod +x bin/spc
|
||||
./bin/spc list-ext
|
||||
|
||||
|
||||
#./bin/spc build "bcmath,openssl,tokenizer,sqlite3,pdo,pdo_sqlite,ftp,curl" --cc=gcc --cxx=g++ --debug
|
||||
EXTENSION="calendar,ctype,exif,fileinfo,filter,ftp"
|
||||
EXTENSION="${EXTENSION},session,tokenizer"
|
||||
EXTENSION="${EXTENSION},phar,posix"
|
||||
EXTENSION="${EXTENSION},iconv"
|
||||
EXTENSION="${EXTENSION},xml,dom,simplexml,xmlwriter,xmlreader"
|
||||
EXTENSION="${EXTENSION},phar,posix"
|
||||
EXTENSION="${EXTENSION},soap"
|
||||
EXTENSION="${EXTENSION},mbstring,mbregex"
|
||||
EXTENSION="${EXTENSION},openssl"
|
||||
EXTENSION="${EXTENSION},sockets,gmp,bcmath"
|
||||
EXTENSION="${EXTENSION},pcntl"
|
||||
EXTENSION="${EXTENSION},curl"
|
||||
EXTENSION="${EXTENSION},zlib,zip,bz2"
|
||||
EXTENSION="${EXTENSION},gd"
|
||||
EXTENSION="${EXTENSION},redis"
|
||||
EXTENSION="${EXTENSION},pdo,pdo_mysql,pdo_sqlite,"
|
||||
EXTENSION="${EXTENSION},mysqlnd,sqlite3"
|
||||
EXTENSION="${EXTENSION},mongodb"
|
||||
|
||||
./bin/spc build "bcmath,openssl,tokenizer,sqlite3,pdo,pdo_sqlite,ftp,curl" --cc=clang --cxx=clang++ --debug
|
||||
|
||||
./bin/spc build "${EXTENSION}" --build-cli --cc=clang --cxx=clang++ --debug
|
||||
# ./bin/spc build "${EXTENSION}" --build-cli --cc=gcc --cxx=g++ --debug
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user