This commit is contained in:
jingjingxyk 2023-05-24 13:20:56 +08:00
parent 56b5c1b138
commit f831b4d61d
3 changed files with 24 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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