We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41feac6 commit 7a085c9Copy full SHA for 7a085c9
.gitlab/prepare-oci-package.sh
@@ -25,6 +25,16 @@ BUILD_DIR=sources
25
26
echo -n "$PYTHON_PACKAGE_VERSION" > sources/version
27
28
+echo "Cleaning up binaries for ${ARCH}"
29
+if [ "${ARCH}" == "arm64" ]; then
30
+ echo "Removing x86_64 binaries"
31
+ find ../pywheels-dep/ -type f -name '*x86_64*' -exec rm -f {} \;
32
+elif [ "${ARCH}" == "amd64" ]; then
33
+ echo "Removing aarch64 binaries"
34
+ find ../pywheels-dep/ -type f -name '*aarch64*' -exec rm -f {} \;
35
+else
36
+ echo "No ARCH set, not removing any binaries"
37
+fi
38
cp -r ../pywheels-dep/site-packages* sources/ddtrace_pkgs
39
40
cp ../lib-injection/sources/* sources/
0 commit comments