Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions gha-script/create_wheel_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,22 +245,9 @@ echo
WHEELHOUSE="$CURRENT_DIR/wheelhouse"
mkdir -p "$WHEELHOUSE"

# Build auditwheel exclusion arguments from build_info.json
EXCLUDE_ARGS=""
if [ -n "$AUDITWHEEL_EXCLUDE" ]; then
echo "Adding package-specific auditwheel exclusions: $AUDITWHEEL_EXCLUDE"
for lib in $AUDITWHEEL_EXCLUDE; do
EXCLUDE_ARGS="$EXCLUDE_ARGS --exclude $lib"
done
else
echo "No auditwheel exclusions defined in build_info.json"
fi

echo "Auditwheel exclusion arguments: $EXCLUDE_ARGS"

# run auditwheel
set +e
audit_output=$(auditwheel repair "$wheel_file" --wheel-dir "$WHEELHOUSE" $EXCLUDE_ARGS 2>&1)
audit_output=$(auditwheel repair "$wheel_file" --wheel-dir "$WHEELHOUSE" --exclude libtvm_ffi.so --exclude libtensorflow_framework.so.2 --exclude libpython3.11.so.1.0 --exclude libpython3.10.so.1.0 --exclude libpython3.12.so.1.0 --exclude libpython3.13.so.1.0 --exclude libc10.so --exclude libtorch.so --exclude libtorch_cpu.so --exclude libtorch_python.so --exclude libshm.so --exclude libtorchaudio.so --exclude libtorchtext.so --exclude libavutil-ffmpeg.so.54 --exclude libavformat-ffmpeg.so.56 --exclude libswscale-ffmpeg.so.3 --exclude libavcodec-ffmpeg.so.56 --exclude libavformat.so.57 --exclude libswscale.so.4 --exclude libavutil.so.55 --exclude libswscale.so.5 --exclude libavformat.so.58 2>&1)
audit_status=$?
set -e

Expand Down
7 changes: 0 additions & 7 deletions gha-script/read_buildinfo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,6 @@ if [ -f "$stripped_build_script" ]; then
echo "Tested on value: $tested_on"
fi

# Extract auditwheel exclusions
AUDITWHEEL_EXCLUDE=""
if $(jq 'has("auditwheel_exclude")' $config_file); then
AUDITWHEEL_EXCLUDE=$(jq -r '.auditwheel_exclude[]' $config_file | tr '\n' ' ')
fi

# Export variables

echo "export VERSION=$VERSION" > $CUR_DIR/variable.sh
Expand All @@ -164,7 +158,6 @@ echo "export VARIANT=$variant" >> $CUR_DIR/variable.sh
echo "export BASENAME=$basename" >> $CUR_DIR/variable.sh
echo "export NON_ROOT_BUILD=$nonRootBuild" >> $CUR_DIR/variable.sh
echo "export TESTED_ON=$tested_on" >> $CUR_DIR/variable.sh
echo "export AUDITWHEEL_EXCLUDE=\"$AUDITWHEEL_EXCLUDE\"" >> $CUR_DIR/variable.sh

chmod +x $CUR_DIR/variable.sh
cat $CUR_DIR/variable.sh
Expand Down
8 changes: 0 additions & 8 deletions k/keras/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": false,
"auditwheel_exclude": [
"libtensorflow_framework.so.2",
"libpython3.10.so.1.0",
"libpython3.11.so.1.0",
"libpython3.12.so.1.0",
"libpython3.13.so.1.0",
"libpython3.14.so.1.0"
],
"2.15.0":{
"build_script":"keras_ubi_9.3.sh"
},
Expand Down
9 changes: 1 addition & 8 deletions o/outlines-core/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,5 @@
"docker_build": false,
"wheel_build": true,
"validate_build_script": true,
"use_non_root_user": false,
"auditwheel_exclude": [
"libc10.so",
"libtorch.so",
"libtorch_cpu.so",
"libtorch_python.so",
"libshm.so"
]
"use_non_root_user": false
}
7 changes: 0 additions & 7 deletions p/polars/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@
"validate_build_script": "true",
"use_non_root_user": "false",
"docker_build": false,
"auditwheel_exclude": [
"libc10.so",
"libtorch.so",
"libtorch_cpu.so",
"libtorch_python.so",
"libshm.so"
],
"*": {
"build_script": "polars_py-1.38.1_ubi_9.7.sh"
}
Expand Down
7 changes: 0 additions & 7 deletions p/pytorch/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
"validate_build_script": true,
"use_non_root_user": false,
"wheel_name": "torch",
"auditwheel_exclude": [
"libc10.so",
"libtorch.so",
"libtorch_cpu.so",
"libtorch_python.so",
"libshm.so"
],
"v2.4.0": {
"build_script": "pytorch_ubi_9.3.sh"
},
Expand Down
8 changes: 0 additions & 8 deletions t/tensorboard_plugin_wit/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": false,
"auditwheel_exclude": [
"libtensorflow_framework.so.2",
"libpython3.10.so.1.0",
"libpython3.11.so.1.0",
"libpython3.12.so.1.0",
"libpython3.13.so.1.0",
"libpython3.14.so.1.0"
],
"*": {
"build_script": "tensorboard_plugin_wit_ubi_9.3.sh"
}
Expand Down
8 changes: 0 additions & 8 deletions t/tensorflow-datasets/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": "false",
"auditwheel_exclude": [
"libtensorflow_framework.so.2",
"libpython3.10.so.1.0",
"libpython3.11.so.1.0",
"libpython3.12.so.1.0",
"libpython3.13.so.1.0",
"libpython3.14.so.1.0"
],
"*": {
"patches": {
"PATCH": "https://raw.githubusercontent.com/ppc64le/build-scripts/refs/heads/master/t/tensorflow-datasets/TFDS-fix.patch"
Expand Down
17 changes: 0 additions & 17 deletions t/tensorflow-io-gcs-filesystem/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": "false",
"auditwheel_exclude": [
"libtensorflow_framework.so.2",
"libpython3.10.so.1.0",
"libpython3.11.so.1.0",
"libpython3.12.so.1.0",
"libpython3.13.so.1.0",
"libpython3.14.so.1.0",
"libavutil-ffmpeg.so.54",
"libavformat-ffmpeg.so.56",
"libswscale-ffmpeg.so.3",
"libavcodec-ffmpeg.so.56",
"libavformat.so.57",
"libswscale.so.4",
"libavutil.so.55",
"libswscale.so.5",
"libavformat.so.58"
],
"*": {
"patches": {
"PATCH": "https://raw.githubusercontent.com/ppc64le/build-scripts/refs/heads/master/t/tensorflow-io-gcs-filesystem/tf-io-gcs-filesystem.patch"
Expand Down
17 changes: 0 additions & 17 deletions t/tensorflow-io/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": "false",
"auditwheel_exclude": [
"libtensorflow_framework.so.2",
"libpython3.10.so.1.0",
"libpython3.11.so.1.0",
"libpython3.12.so.1.0",
"libpython3.13.so.1.0",
"libpython3.14.so.1.0",
"libavutil-ffmpeg.so.54",
"libavformat-ffmpeg.so.56",
"libswscale-ffmpeg.so.3",
"libavcodec-ffmpeg.so.56",
"libavformat.so.57",
"libswscale.so.4",
"libavutil.so.55",
"libswscale.so.5",
"libavformat.so.58"
],
"*": {
"patches": {
"PATCH": "https://raw.githubusercontent.com/ppc64le/build-scripts/refs/heads/master/t/tensorflow-io-gcs-filesystem/tf-io-gcs-filesystem.patch"
Expand Down
8 changes: 0 additions & 8 deletions t/tensorflow-text/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": "false",
"auditwheel_exclude": [
"libtensorflow_framework.so.2",
"libpython3.10.so.1.0",
"libpython3.11.so.1.0",
"libpython3.12.so.1.0",
"libpython3.13.so.1.0",
"libpython3.14.so.1.0"
],
"v2.14.0": {
"build_script": "tensorflow_text_ubi_9.3.sh"
},
Expand Down
8 changes: 0 additions & 8 deletions t/tensorflow/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": "false",
"auditwheel_exclude": [
"libtensorflow_framework.so.2",
"libpython3.10.so.1.0",
"libpython3.11.so.1.0",
"libpython3.12.so.1.0",
"libpython3.13.so.1.0",
"libpython3.14.so.1.0"
],
"v2.20.0": {
"patches": {
"PATCH": "https://raw.githubusercontent.com/ppc64le/build-scripts/refs/heads/master/t/tensorflow/tf_2.20.0_fix.patch"
Expand Down
8 changes: 0 additions & 8 deletions t/tensorflow_model_optimization/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": false,
"auditwheel_exclude": [
"libtensorflow_framework.so.2",
"libpython3.10.so.1.0",
"libpython3.11.so.1.0",
"libpython3.12.so.1.0",
"libpython3.13.so.1.0",
"libpython3.14.so.1.0"
],
"*": {
"build_script": "tensorflow_model_optimization_ubi_9.3.sh"
}
Expand Down
8 changes: 0 additions & 8 deletions t/tf2onnx/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": false,
"auditwheel_exclude": [
"libtensorflow_framework.so.2",
"libpython3.10.so.1.0",
"libpython3.11.so.1.0",
"libpython3.12.so.1.0",
"libpython3.13.so.1.0",
"libpython3.14.so.1.0"
],
"*": {
"build_script": "tf2onnx_ubi_9.3.sh"
}
Expand Down
8 changes: 0 additions & 8 deletions t/torchaudio/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": "false",
"auditwheel_exclude": [
"libc10.so",
"libtorch.so",
"libtorch_cpu.so",
"libtorch_python.so",
"libshm.so",
"libtorchaudio.so"
],
"v2.9.*": {
"build_script": "torchaudio_v2.9_ubi_9.3.sh"
},
Expand Down
7 changes: 0 additions & 7 deletions t/torchdata/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": false,
"auditwheel_exclude": [
"libc10.so",
"libtorch.so",
"libtorch_cpu.so",
"libtorch_python.so",
"libshm.so"
],
"*": {
"build_script": "torchdata_ubi_9.3.sh"
}
Expand Down
8 changes: 0 additions & 8 deletions t/torchtext/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": "false",
"auditwheel_exclude": [
"libc10.so",
"libtorch.so",
"libtorch_cpu.so",
"libtorch_python.so",
"libshm.so",
"libtorchtext.so"
],
"v0.16.2": {
"build_script":"torchtext_0.16.2_ubi_9.6.sh"
},
Expand Down
7 changes: 0 additions & 7 deletions t/torchvision/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@
"validate_build_script": true,
"use_non_root_user": false,
"wheel_build": true,
"auditwheel_exclude": [
"libc10.so",
"libtorch.so",
"libtorch_cpu.so",
"libtorch_python.so",
"libshm.so"
],
"v*.*.*": {
"build_script": "torchvision_0.26.0_ubi_9.6.sh"
},
Expand Down
7 changes: 0 additions & 7 deletions v/vision/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": "false",
"auditwheel_exclude": [
"libc10.so",
"libtorch.so",
"libtorch_cpu.so",
"libtorch_python.so",
"libshm.so"
],
"*": {
"build_script": "vision_ubi_9.3.sh"
}
Expand Down
7 changes: 0 additions & 7 deletions v/vllm/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": false,
"auditwheel_exclude": [
"libc10.so",
"libtorch.so",
"libtorch_cpu.so",
"libtorch_python.so",
"libshm.so"
],
"v0.8.4": {
"build_script": "vllm_ubi_9.3.sh"
},
Expand Down
7 changes: 0 additions & 7 deletions x/xformers/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": false,
"auditwheel_exclude": [
"libc10.so",
"libtorch.so",
"libtorch_cpu.so",
"libtorch_python.so",
"libshm.so"
],
"*": {
"build_script": "xformers_ubi_9_3.sh"
}
Expand Down
3 changes: 0 additions & 3 deletions x/xgrammar/build_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"docker_build": false,
"validate_build_script": true,
"use_non_root_user": "false",
"auditwheel_exclude": [
"libtvm_ffi.so"
],
"*":{
"build_script":"xgrammar_0.2.1_ubi_9.6.sh"
},
Expand Down
Loading