Skip to content

Commit

Permalink
Remove the 'debug' versions from the SSI package to reduce its size
Browse files Browse the repository at this point in the history
  • Loading branch information
iamluc committed Nov 19, 2024
1 parent 93849dd commit bdb06ec
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tooling/bin/generate-ssi-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,10 @@ for architecture in "${architectures[@]}"; do
# gnu
ln ./standalone_${architecture}/ddtrace-$php_api.so ${gnu}/trace/ext/$php_api/ddtrace.so
ln ./standalone_${architecture}/ddtrace-$php_api-zts.so ${gnu}/trace/ext/$php_api/ddtrace-zts.so
ln ./standalone_${architecture}/ddtrace-$php_api-debug.so ${gnu}/trace/ext/$php_api/ddtrace-debug.so

# musl
ln ./standalone_${architecture}/ddtrace-$php_api-alpine.so ${musl}/trace/ext/$php_api/ddtrace.so
if [[ ${php_api} -ge 20151012 ]]; then # zts on alpine starting 7.0
ln ./standalone_${architecture}/ddtrace-$php_api-alpine-zts.so ${musl}/trace/ext/$php_api/ddtrace-zts.so
fi
ln ./standalone_${architecture}/ddtrace-$php_api-alpine-zts.so ${musl}/trace/ext/$php_api/ddtrace-zts.so
done;

cp -r ./src ${trace}/
Expand Down

0 comments on commit bdb06ec

Please sign in to comment.