Skip to content

Commit

Permalink
Add python-3.10.12: cleanup and use latest bazel 5
Browse files Browse the repository at this point in the history
  • Loading branch information
david committed Aug 29, 2023
1 parent 0f62966 commit 6016e32
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions python-3.10.12-0.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,6 @@ mkdir -vp $PREFIX/share/jupyter/lab/settings # try to defeat a silly error in j
BOOST_VERSION=(1.80.0 1_80_0)
PKGCFLAGS="-O2 -fPIC"

# orig: https://dl.bintray.com/boostorg/release/1.75.0/source/boost_1_75_0.tar.gz
BEEHIVE=https://beehive.molgen.mpg.de//38813f6feb40387dfe90160debd71251/boost_1_75_0.tar.gz
# orig: https://boostorg.jfrog.io/artifactory/main/release/1.80.0/source/boost_1_80_0.tar.gz
BEEHIVE=https://beehive.molgen.mpg.de/077f074743ea7b0cb49c6ed43953ae95/boost_1_80_0.tar.gz
test -e boost_${BOOST_VERSION[1]}.tar.gz || wget -nv $BEEHIVE
Expand Down Expand Up @@ -541,8 +539,6 @@ mkdir -vp $PREFIX/share/jupyter/lab/settings # try to defeat a silly error in j
PYCUDAVERS=2022.1
PYTHON_LIBNAME=boost_python${PYTHONVER/./}

# orig: https://github.com/inducer/pycuda/archive/v2020.1.tar.gz
# BEEHIVE=https://beehive.molgen.mpg.de/580562d7af4d3249c5b42a1df8d428a0/pycuda-2020.1.tar.gz
# orig: https://files.pythonhosted.org/packages/2d/1f/48a3a5b2c715345e7af1e09361100bd98c3d72b4025371692ab233f523d3/pycuda-2022.1.tar.gz # maybe those very long URLs compensate for other (shorter) things ...
BEEHIVE="https://beehive.molgen.mpg.de/2fad5a15db4153d825822eba7cb25f25/pycuda-2022.1.tar.gz"
test -e pycuda-${PYCUDAVERS}.tar.gz || wget -nv $BEEHIVE
Expand Down Expand Up @@ -580,7 +576,7 @@ mkdir -vp $PREFIX/share/jupyter/lab/settings # try to defeat a silly error in j
(
STGIT_VERSSION=1.0
# orig: https://github.com/stacked-git/stgit/archive/v1.0/stgit-1.0.tar.gz # Paul mariux64/pkg-scripts/issues/152
BEEHIVE=https://beehive.molgen.mpg.de/b20ab5a197fc3a141f4b00c5859c0a3b/stgit-1.0.tar.gz
BEEHIVE=https://beehive.molgen.mpg.de/b20ab5a197fc3a141f4b00c5859c0a3b/stgit-1.0.tar.gz
test -e stgit-${STGIT_VERSSION}.tar.gz || wget -nv $BEEHIVE
test -d stgit-${STGIT_VERSSION} || tar -xf stgit-${STGIT_VERSSION}.tar.gz
cd stgit-${STGIT_VERSSION}
Expand Down Expand Up @@ -610,7 +606,7 @@ install wheel # to build our tf-wheel (i.e. zip archive)
TFVERSION=2.11.1
NCCLSHORTVERSION=$(pkg-config nccl --modversion | grep -Po '\d+\.\d+')

. /pkg/bazel-5.1.0-0/profile
. /pkg/bazel-5.4.1-0/profile

# orig: https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.11.1.tar.gz
BEEHIVE=https://beehive.molgen.mpg.de/e1b60c6e074f8b4c83f184e2c298774f/tensorflow-2.11.1.tar.gz
Expand Down

0 comments on commit 6016e32

Please sign in to comment.