Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
pkg-scripts
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
20
Pull requests
5
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
375b5f1
system
tools
.gitignore
Anaconda3-5.0.1-0.build.sh
CellProfiler-2.2.0-0.build.sh
CellProfiler-3.1.5-0.build.sh
CellProfiler-4.2.1-0.build.sh
LibreCAD-2.2.0.rc1-0.build.sh
R-3.3.3-0.build.sh
R-3.3.3-1.build.sh
R-3.3.3-2.build.sh
R-3.4.0-0.build.sh
R-3.4.3-0.build.sh
R-3.4.4-0.build.sh
R-3.5.1-0.build.sh
R-3.5.1-1.build.sh
R-3.5.1-2.build.sh
R-3.5.2-0.build.sh
R-3.5.3-0.build.sh
R-3.6.0-0.build.sh
R-3.6.1-0.build.sh
R-3.6.1-1.build.sh
R-3.6.3-0.build.sh
R-4.0.1-0.build.sh
R-4.0.5-0.build.sh
R-4.1.0-0.build.sh
R-4.2.1-0.build.sh
R-4.2.2-0.build.sh
R-4.3.0-0.build.sh
R-4.4.0-0.build.sh
R-4.4.1-0.build.sh
R-devel-2017-02-02-0.build.sh
R-devel-2017-02-02-1.build.sh
TEMPLATE.sh
apache-ant-1.10.12-0.build.sh
apache-maven-3.6.0-0.build.sh
apache-maven-3.8.4-0.build.sh
apptainer-1.1.9-0.build.sh
apptainer-1.2.4-0.build.sh
apptainer-1.3.4-0.build.sh
atom-1.60.0-0.build.sh
atom-1.60.0-1.build.sh
audacity-2.4.2-0.build.sh
avidemux-2.7.1-0.build.sh
avidemux-2.8.0-0.build.sh
bazel-0.28.1-0.build.sh
bazel-3.4.1-0.build.sh
bazel-4.1.0-0.build.sh
bazel-5.1.0-0.build.sh
bazel-5.4.1-0.build.sh
bazel-6.2.1-0.build.sh
bmake-20230522-0.build.sh
boost-1.63.0-0.build.sh
boost-1.73.0-0.build.sh
boost-1.86.0-0.build.sh
bpftrace-0.20.3-0.build.sh
brave-browser-0.64.60-0.build.sh
brave-browser-0.66.101-0.build.sh
brave-browser-1.20.108-0.build.sh
brave-browser-1.29.79-0.build.sh
brlcad-7.28.0-0.build.sh
charliecloud-0.30-0.build.sh
charliecloud-0.31-0.build.sh
charliecloud-0.32-0.build.sh
charliecloud-0.32-1.build.sh
charliecloud-0.34-0.build.sh
chromium-100.0.4896.60-0.build.sh
chromium-104.0.5112.101-0.build.sh
chromium-108.0.5359.94-0.build.sh
chromium-114.0.5735.106-0.build.sh
chromium-116.0.5845.179-0.build.sh
chromium-66.0.3331.2-0.build.sh
chromium-66.0.3331.2-1.build.sh
chromium-72.0.3626.121-0.build.sh
chromium-73.0.3683.75-0.build.sh
chromium-76.0.3809.100-0.build.sh
chromium-76.0.3809.100-1.build.sh
chromium-77.0.3865.90-0.build.sh
chromium-78.0.3904.87-0.build.sh
chromium-81.0.4044.92-0.build.sh
chromium-85.0.4183.121-0.build.sh
chromium-86.0.4240.183-0.build.sh
chromium-89.0.4389.128-0.build.sh
chromium-89.0.4389.90-0.build.sh
chromium-98.0.4758.80-0.build.sh
claws-mail-3.17.4-0.build.sh
codium-1.93.0.24253-0.build.sh
codium-1.94.2.24286-0.build.sh
codium-1.95.1.24307-0.build.sh
codium-1.95.2.24313-0.build.sh
codium-1.95.3.24321-0.build.sh
concorde-03.12.19-0.build.sh
concorde-03.12.19-1.build.sh
cuda-10.0.130-0.build.sh
cuda-10.1.105-0.build.sh
cuda-10.2.89-0.build.sh
cuda-10.2.89-1.build.sh
cuda-11.0.3-0.build.sh
cuda-11.1.0-0.build.sh
cuda-11.1.1-0.build.sh
cuda-11.3.1-0.build.sh
cuda-11.5.2-0.build.sh
cuda-11.7.1-0.build.sh
cuda-11.8.0-0.build.sh
cuda-12.1.0-0.build.sh
cuda-9.0.176-0.build.sh
cuda-9.0.176-1.build.sh
cuda-9.1.85-0.build.sh
cuda-9.2.148-0.build.sh
cufflinks-2.2.1-2.build.sh
cytoscape-3.9.1-0.build.sh
fontforge-20200314-0.build.sh
freecad-0.20-0.build.sh
gcc-10.1.0-0.build.sh
gcc-10.2.0-0.build.sh
gcc-10.3.0-0.build.sh
gcc-11.1.0-0.build.sh
gcc-12.2.0-0.build.sh
gcc-13.2.0-0.build.sh
gcc-14.1.0-0.build.sh
gcc-4.5.1-0.build.sh
gcc-5.5.0-0.build.sh
gcc-5.5.0-1.build.sh
gcc-7.2.0-0.build.sh
gcc-7.3.0-0.build.sh
gcc-7.4.0-0.build.sh
gcc-8.3.0-0.build.sh
gcc-8.4.0-0.build.sh
gcc-9.2.0-0.build.sh
gcc-9.3.0-0.build.sh
ghidra-10.1.5-0.build.sh
git-cola-3.2-0.build.sh
git-cola-3.5-0.build.sh
git-cola-3.7-0.build.sh
git-cola-3.9-0.build.sh
github-cli-2.48.0-0.build.sh
haskell-8.10.2-0.build.sh
haskell-9.2.2-0.build.sh
igv-2.15.2-0.build.sh
igv-2.17.1-0.build.sh
igv-2.4.14-0.build.sh
igv-2.5.0-0.build.sh
igv-2.5.2-0.build.sh
igv-2.8.0-0.build.sh
igv-2.9.2-0.build.sh
imagej-1.54f-0.build.sh
inkscape-0.92.1-0.build.sh
inkscape-0.92.2-0.build.sh
inkscape-0.92.3-0.build.sh
inkscape-0.92.4-0.build.sh
inkscape-0.92.4-1.build.sh
inkscape-0.92.4-2.build.sh
inkscape-1.0-0.build.sh
inkscape-1.0-1.build.sh
inkscape-1.0beta0-0.build.sh
inkscape-1.1.1-0.build.sh
inkscape-1.1.2-0.build.sh
inkscape-1.2.2-0.build.sh
inkscape-1.2.2-1.build.sh
inkscape-1.3.2-0.build.sh
inkscape-1.4-0.build.sh
jdk-7u80-1.build.sh
jdk-8u141-0.build.sh
jdk-8u181-0.build.sh
jdk-9.0.1-0.build.sh
julia-0.6.4-0.build.sh
julia-1.0.0-0.build.sh
julia-1.1.0-0.build.sh
julia-1.6.1-0.build.sh
libheif-1.6.0-0.build.sh
llvm-12.0.1-0.build.sh
llvm-13.0.1-0.build.sh
llvm-15.0.4-0.build.sh
llvm-16.0.1-0.build.sh
llvm-17.0.6-0.build.sh
meld-3.20.1-0.build.sh
meme-5.1.1-0.build.sh
meme-5.3.0-0.build.sh
nedit-ng-2020.1.75800b6bd-0.build.sh
nextflow-22.10.0-0.build.sh
nextflow-23.04.1-0.build.sh
nextflow-23.10.0-0.build.sh
nextflow-23.10.0-1.build.sh
node-10.13.0-0.build.sh
node-10.16.0-0.build.sh
node-12.13.0-0.build.sh
node-12.4.0-0.build.sh
node-14.16.0-0.build.sh
node-14.17.1-0.build.sh
node-16.15.0-0.build.sh
node-16.16.0-0.build.sh
node-16.17.0-0.build.sh
node-18.16.0-0.build.sh
node-18.18.0-0.build.sh
node-20.12.2-0.build.sh
node-20.13.1-0.build.sh
node-20.9.0-0.build.sh
node-22.11.0-0.build.sh
node-8.11.4-0.build.sh
ocaml-4.08.1-0.build.sh
openjdk-11.0.3.2-0.build.sh
openjdk-14.0.2.12-0.build.sh
openjdk-17.0.2.8-0.build.sh
openjdk-21.0.0.35-0.build.sh
openjdk-7u181-0.build.sh
openjdk-8u171-0.build.sh
orca-1.2.1-0.build.sh
orca-1.3.1-0.build.sh
pdftk-3.3.2-0.build.sh
perl-5.12.1-0.build.sh
perl-5.18.2-0.build.sh
perl-5.24.1-0.build.sh
perl-5.24.1-1.build.sh
perl-5.24.1-2.build.sh
perl-5.26.1-0.build.sh
perl-5.26.1-1.build.sh
perl-5.26.1-2.build.sh
perl-5.26.1-3.build.sh
perl-5.26.1-4.build.sh
perl-5.26.1-5.build.sh
perl-5.26.2-1.build.sh
perl-5.28.1-0.build.sh
perl-5.34.0-0.build.sh
proot-5.4.0-0.build.sh
pulsar-1.113.0-0.build.sh
pymol-open-source-2.5.0-0.build.sh
pypy-3.10-v7.3.13-0.build.sh
python-2.7.13-0.build.sh
python-2.7.13-1.build.sh
python-2.7.13-2.build.sh
python-2.7.13-3.build.sh
python-2.7.13-4.build.sh
python-2.7.13-5.build.sh
python-2.7.14-0.build.sh
python-2.7.14-1.build.sh
python-2.7.14-2.build.sh
python-2.7.14-3.build.sh
python-2.7.15-0.build.sh
python-2.7.15-1.build.sh
python-2.7.15-2.build.sh
python-2.7.16-0.build.sh
python-3.10.10-0.build.sh
python-3.10.10-1.build.sh
python-3.10.12-0.build.sh
python-3.10.7-0.build.sh
python-3.10.8-0.build.sh
python-3.11.7-0.build.sh
python-3.11.7-1.build.sh
python-3.6.0-0.build.sh
python-3.6.2-0.build.sh
python-3.6.4-0.build.sh
python-3.6.4-1.build.sh
python-3.6.4-2.build.sh
python-3.6.6-0.build.sh
python-3.6.6-1.build.sh
python-3.7.1-0.build.sh
python-3.7.1-1.build.sh
python-3.7.1-2.build.sh
python-3.7.3-0.build.sh
python-3.7.4-0.build.sh
python-3.7.4-1.build.sh
python-3.7.4-2.build.sh
python-3.7.7-0.build.sh
python-3.8.6-0.build.sh
python-3.8.7-0.build.sh
python-3.8.8-0.build.sh
python-3.8.9-0.build.sh
python-3.8.9-1.build.sh
python-3.9.12-0.build.sh
python-3.9.6-0.build.sh
python-3.9.7-0.build.sh
qemu-3.1.1-0.build.sh
qemu-4.2.1-0.build.sh
qemu-5.0.0-0.build.sh
qemu-5.1.0-0.build.sh
qemu-6.0.0-0.build.sh
qemu-6.2.0-0.build.sh
qemu-7.1.0-0.build.sh
qemu-7.2.0-0.build.sh
qemu-7.2.0-1.build.sh
qt-5.12.7-0.build.sh
qt-6.2.4-0.build.sh
relion-3.0.5-0.build.sh
relion-3.1.1-0.build.sh
rstudio-1.1.128-0.build.sh
rstudio-1.1.232-0.build.sh
rstudio-1.1.30-0.build.sh
rstudio-1.1.383-0.build.sh
rstudio-1.1.444-0.build.sh
rstudio-1.2.1335-0.build.sh
rstudio-1.2.5019-0.build.sh
rstudio-1.2.5019-1.build.sh
rstudio-1.2.5042-0.build.sh
rstudio-1.4.1103-0.build.sh
rstudio-2022.02.3-492-0.build.sh
rstudio-2023.12.1-402-0.build.sh
rstudio-debpkg-1.4.1717-0.build.sh
rstudio-server-2024.09.0-375-1.build.sh
rustc-1.29.2-0.build.sh
rustc-1.32.0-0.build.sh
rustc-1.34.2-0.build.sh
rustc-1.37.0-0.build.sh
rustc-1.41.0-0.build.sh
rustc-1.43.1-0.build.sh
rustc-1.45.2-0.build.sh
rustc-1.47.0-0.build.sh
rustc-1.50.0-0.build.sh
rustc-1.52.1-0.build.sh
rustc-1.56.1-0.build.sh
rustc-1.57.0-0.build.sh
rustc-1.58.1-0.build.sh
rustc-1.59.0-0.build.sh
rustc-1.61.0-0.build.sh
rustc-1.63.0-0.build.sh
rustc-1.65.0-0.build.sh
rustc-1.66.1-0.build.sh
rustc-1.68.2-0.build.sh
rustc-1.70.0-0.build.sh
rustc-1.73.0-0.build.sh
rustc-1.77.2-0.build.sh
rustc-1.80.0-0.build.sh
rustc-1.82.0-0.build.sh
signal-desktop-1.25.3-0.build.sh
signal-desktop-1.35.1-0.build.sh
signal-desktop-5.15.0-0.build.sh
signal-desktop-5.58.0-0.build.sh
signal-desktop-5.6.1-0.build.sh
signal-desktop-6.0.1-0.build.sh
signal-desktop-6.17.1-0.build.sh
signal-desktop-6.2.0-0.build.sh
signal-desktop-6.27.1-0.build.sh
signal-desktop-6.36.0-0.build.sh
signal-desktop-6.44.1-0.build.sh
signal-desktop-7.16.0-0.build.sh
signal-desktop-7.28.0-0.build.sh
signal-desktop-7.5.1-0.build.sh
snakemake-7.1.1-0.build.sh
sra-tools-2.10.8-0.build.sh
sra-tools-2.9.3-0.build.sh
sra-tools-2.9.4-0.build.sh
sra-tools-3.0.0-0.build.sh
stellarium-0.18.1-0.build.sh
stellarium-0.19.2-0.build.sh
stellarium-0.21.0-0.build.sh
stellarium-0.22.2-0.build.sh
tcc-0.9.27-0.build.sh
tcl-8.6.8-0.build.sh
texinfo-4.13a-0.build.sh
tulip-5.2.0-0.build.sh
tulip-5.2.1-0.build.sh
tulip-5.6.3-0.build.sh
ugene-36.0-0.build.sh
vscode-1.87.2-0.build.sh
vscode-1.88.0-0.build.sh
vscode-1.92.0-0.build.sh
wine-9.10-0.build.sh
xfig-3.2.7-1.build.sh
zig-0.11.0-0.build.sh
zig-0.11.0-1.build.sh
Breadcrumbs
pkg-scripts
/
python-3.8.9-1.build.sh
Blame
Blame
Latest commit
History
History
executable file
·
598 lines (501 loc) · 22.3 KB
Breadcrumbs
pkg-scripts
/
python-3.8.9-1.build.sh
Top
File metadata and controls
Code
Blame
executable file
·
598 lines (501 loc) · 22.3 KB
Raw
#! /bin/bash # COOKIE=$(mcookie|cut -c-8); grep -v V_GREP_ME $0 > /dev/shm/runme-$COOKIE.sh ; sleep 0.3; exec bash /dev/shm/runme-$COOKIE.sh # TESTING=1 PKG=python VERSION=3.8.9 BUILD=1 PYTHONVER=${VERSION%.*} CUDADIR=/pkg/cuda-11.1.1-0 PREFIX=/pkg/$PKG-$VERSION-$BUILD if [ -n "$TESTING" ]; then PREFIX=/scratch/local2/$PKG-$VERSION-$BUILD ; fi PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin set -xe umask 022 BUILD_TMPDIR=/scratch/local2/$PKG-$VERSION-$BUILD.build.tmp if [ -n "$TESTING" ]; then BUILD_TMPDIR=/scratch/local2/$PKG-$VERSION-$BUILD.test.build.tmp ; fi test -d $BUILD_TMPDIR && ( chmod -R u+rwx $BUILD_TMPDIR || true ; rm -rf $BUILD_TMPDIR ) mkdir -p $BUILD_TMPDIR/home/.cache/pip mkdir -p $BUILD_TMPDIR/home/.local # copy script to an accessible location cp $0 $BUILD_TMPDIR; ME="$BUILD_TMPDIR/$(basename $0)" export TMPDIR=$BUILD_TMPDIR export HOME=$BUILD_TMPDIR/home exec </dev/null mkdir -p $PREFIX cat >$PREFIX/profile <<-EOF . $CUDADIR/profile PATH=$PREFIX/bin:\$PATH export LD_LIBRARY_PATH=$PREFIX/lib\${LD_LIBRARY_PATH:+:}\$LD_LIBRARY_PATH PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig\${PKG_CONFIG_PATH:+:}\$PKG_CONFIG_PATH export PKG_CONFIG_PATH if [ -d $PREFIX/.compatlibs ]; then export LD_LIBRARY_PATH=$PREFIX/.compatlibs\${LD_LIBRARY_PATH:+:}\$LD_LIBRARY_PATH ; fi EOF . $PREFIX/profile NPROC=$(( $(nproc) * 4 / 5 + 1 )) export MAKEFLAGS="-j $NPROC" BUILDDIR=$PREFIX/build mkdir -p $BUILDDIR cd $BUILDDIR # orig: https://www.python.org/ftp/python/3.8.9/Python-3.8.9.tgz BEEHIVE=https://beehive.molgen.mpg.de/41a5eaa15818cee7ea59e578564a2629/Python-3.8.9.tgz test -e Python-$VERSION.tgz || wget -nv $BEEHIVE test -d Python-$VERSION || tar -xf Python-$VERSION.tgz cd Python-$VERSION LDFLAGS="-Wl,-rpath=$PREFIX/lib" \ ./configure \ --prefix=$PREFIX \ --enable-shared make -j $NPROC # make test # || true # 'test_socket' seems to run for ever make install # it might come to happen that something down the line may just call 'python', defuse ... test -e $PREFIX/bin/python || ln -s python3 $PREFIX/bin/python ( # sip: tool to create Python bindings for C and C++ libraries., v6 is out, but not so popular at the moment cd $BUILDDIR SIP_VERSION=4.19.24 # orig: https://www.riverbankcomputing.com/static/Downloads/sip/$SIP_VERSION/sip-$SIP_VERSION.tar.gz BEEHIVE=https://beehive.molgen.mpg.de/595e9ad6bb0a4b3a6ea92c163a05d19c/sip-4.19.24.tar.gz test -e sip-$SIP_VERSION.tar.gz || wget -nv $BEEHIVE test -d sip-$SIP_VERSION || tar -xf sip-$SIP_VERSION.tar.gz cd sip-$SIP_VERSION #### ATTN! #### python meanders between /python${PYTHONVER} and /python${PYTHONVER}m python3 configure.py \ -b $PREFIX/bin \ -d $PREFIX/lib/python$PYTHONVER/site-packages \ -e $PREFIX/include/python${PYTHONVER} \ -v $PREFIX/share/sip \ --sip-module=sip # well, right here share/sip is spoilage, but maybe some packages will use the decent sip later on ... mkdir -p $PREFIX/share/sip make -j $NPROC make install ) ( # now for the private (sic!) version required by newer PyQt cd $BUILDDIR SIP_VERSION=4.19.24 mkdir -p private_sip cd private_sip # orig: https://www.riverbankcomputing.com/static/Downloads/sip/$SIP_VERSION/sip-$SIP_VERSION.tar.gz BEEHIVE=https://beehive.molgen.mpg.de/595e9ad6bb0a4b3a6ea92c163a05d19c/sip-4.19.24.tar.gz test -e sip-$SIP_VERSION.tar.gz || wget -nv $BEEHIVE test -d sip-$SIP_VERSION || tar -xf sip-$SIP_VERSION.tar.gz cd sip-$SIP_VERSION # note $PREFIX/share/sip/PyQt5 is mandatory python3 configure.py \ -d $PREFIX/lib/python$PYTHONVER/site-packages \ -v $PREFIX/share/sip/PyQt5 \ --no-tools \ --sip-module=PyQt5.sip mkdir -p $PREFIX/share/sip/PyQt5 make -j $NPROC # The resulting sip.so in site-packages/PyQt5 differs indeed a bit (grep for PyQt5) make install ) ( cd $BUILDDIR PYQT_VERSION=5.15.2 # orig: https://files.pythonhosted.org/packages/28/6c/640e3f5c734c296a7193079a86842a789edb7988dca39eab44579088a1d1/PyQt5-5.15.2.tar.gz BEEHIVE=https://beehive.molgen.mpg.de/b94576e9e013210dc5aba061913e4bd4/PyQt5-5.15.2.tar.gz test -e PyQt5-$PYQT_VERSION.tar.gz || wget -nv $BEEHIVE test -d PyQt5-$PYQT_VERSION || tar -xf PyQt5-$PYQT_VERSION.tar.gz cd PyQt5-$PYQT_VERSION #### ATTN! #### python meanders between /python${PYTHONVER} and /python${PYTHONVER}m # export QTDIR=/usr/local/qt5 python3 configure.py \ -b $PREFIX/bin \ -d $PREFIX/lib/python$PYTHONVER/site-packages \ -n $PREFIX/share/qsci \ -q /usr/local/qt5/bin/qmake \ -v $PREFIX/share/sip/PyQt5 \ --sip-incdir=$PREFIX/include/python${PYTHONVER} \ --confirm-license \ --no-qml-plugin \ --no-designer-plugin \ --no-dist-info \ --verbose make -j $NPROC make install ) ( cd $BUILDDIR QSCINTILLA_VERSION=2.11.6 # orig: https://www.riverbankcomputing.com/static/Downloads/QScintilla/$QSCINTILLA_VERSION/QScintilla-$QSCINTILLA_VERSION.tar.gz BEEHIVE=https://beehive.molgen.mpg.de/343cd0c2c8b425518df2e51eb994fbc6/QScintilla-2.11.6.tar.gz test -e QScintilla-$QSCINTILLA_VERSION.tar.gz || wget -nv $BEEHIVE test -d QScintilla-$QSCINTILLA_VERSION || tar -xf QScintilla-$QSCINTILLA_VERSION.tar.gz cd QScintilla-$QSCINTILLA_VERSION cd Python # apidir follows PyQt, not Qt (default is: QT_INSTALL_DATA/qsci) python3 configure.py \ --pyqt=PyQt5 \ --qmake=/usr/local/qt5/bin/qmake \ --apidir=$PREFIX/share/qsci \ --no-dist-info make -j $NPROC make install ) python3 -m ensurepip pip3 install --prefix=$PREFIX -I pip pip3 install --prefix=$PREFIX ipython[all] # install the basic ballpark ... # numpy holds no ref to *_MAX_THREADS, albeit it's an issue, fix via profile? # still persisting: NUMEXPR_MAX_THREADS issue caused by numexpr.utils (braindead defaults from this dependency) pip3 install --prefix=$PREFIX SciPy NumPy Matplotlib pandas SymPy nose statsmodels # clean up some dirt that statsmodels placed also into $PREFIX rm -vf $PREFIX/LICENSE.txt rm -vf $PREFIX/setup.cfg pip3 install --prefix=$PREFIX Cython pip3 install --prefix=$PREFIX pysam pip3 install --prefix=$PREFIX seaborn pip3 install --prefix=$PREFIX scikit-learn #pip3 install --prefix=$PREFIX metaseq # fails (Latest commit fa875d1 on Jan 10, 2017) pip3 install --prefix=$PREFIX Mako pip3 install --prefix=$PREFIX meson # required in mariux pip3 install --prefix=$PREFIX cutadapt # Helpdesk 01/24/18 16:19, Sabrina Krakau pip3 install --prefix=$PREFIX pygobject # Helpdesk 03/26/18 14:19, Virginie Stanisla pip3 install --prefix=$PREFIX blink1 # Blink1-lib 07/04/18 12:00, Niclas Hofmann pip3 install --prefix=$PREFIX umi-tools pip3 install --prefix=$PREFIX sphinx pip3 install --prefix=$PREFIX recommonmark pip3 install --prefix=$PREFIX fastcluster pip3 install --prefix=$PREFIX pydot pip3 install --prefix=$PREFIX pygraphviz pip3 install --prefix=$PREFIX deeptools pip3 install --prefix=$PREFIX HTSeq pip3 install --prefix=$PREFIX keras pip3 install --prefix=$PREFIX keras_preprocessing # tensorflow ... pip3 install --prefix=$PREFIX MotifScan # Alena 30.8.2018 pip3 install --prefix=$PREFIX MAmotif pip3 install --prefix=$PREFIX hic2cool # Helpdesk Robert Schoepflin 17.09.2018 #pip3 install --prefix=$PREFIX hifive # only python 2.7+ pip3 install --prefix=$PREFIX snakemake pip3 install --prefix=$PREFIX virtualenv # Donald pip3 install --prefix=$PREFIX odfpy # Donald pip3 install --prefix=$PREFIX Dumper # Thomas pip3 install --prefix=$PREFIX igraph pip3 install --prefix=$PREFIX louvain # monocle3 prep for Helene pip3 install --prefix=$PREFIX selenium # 19.7.19 Kreitler -> https://webxray.org/ pip3 install --prefix=$PREFIX cooltools # Maria Valieva 17.7.2019 pip3 install --prefix=$PREFIX gmpy # From viper context (Helpdesk Laura Glaser 9.8.2019) pip3 install --prefix=$PREFIX torch pip3 install --prefix=$PREFIX torchvision pip3 install --prefix=$PREFIX plotly pip3 install --prefix=$PREFIX pyOpenCL pip3 install --prefix=$PREFIX docopt pip3 install --prefix=$PREFIX dbus-python pip3 install --prefix=$PREFIX distro pip3 install --prefix=$PREFIX notify pip3 install --prefix=$PREFIX ply pip3 install --prefix=$PREFIX threadpoolctl pip3 install --prefix=$PREFIX pyopengl # creates error, so remove it rm -rf ${PREFIX}/lib/python$PYTHONVER/site-packages/OpenGL/Tk # pip3 install --prefix=$PREFIX HiCExplorer # Would be a nice to have, but it likes to downgrade too much, pick some cherries pip3 install --prefix=$PREFIX HiCMatrix pip3 install --prefix=$PREFIX pybedtools pip3 install --prefix=$PREFIX gffutils pip3 install --prefix=$PREFIX --no-deps "pyGenomeTracks" # example produces plots, so give it a chance, otherwise it's just a dumbfucked downgrader pip3 install --prefix=$PREFIX python-bioformats pip3 install --prefix=$PREFIX jupyterlab # request Peter Arndt pip3 install --prefix=$PREFIX jupyterlab-git pip3 install --prefix=$PREFIX igv_jupyterlab # Matthias Lienhard HD 01-04-2020 pip3 install --prefix=$PREFIX igv-jupyter mkdir -vp $PREFIX/share/jupyter/lab/settings # try to defeat a silly error in jupyter labextension install pip3 install --prefix=$PREFIX libxml2-python3 # required by several bee packages after swich to python3 pip3 install --prefix=$PREFIX scour # https://github.molgen.mpg.de/mariux64/pkg-scripts/issues/98 pip3 install --prefix=$PREFIX multiqc pip3 install --prefix=$PREFIX thonny # nice little ide, kreitler pip3 install --prefix=$PREFIX pybind11 pip3 install --prefix=$PREFIX svgwrite pip3 install --prefix=$PREFIX pyomo pip3 install --prefix=$PREFIX jsbsim # kreitler, hobby pip3 install --prefix=$PREFIX bioservices pip3 install --prefix=$PREFIX pairtools pip3 install --prefix=$PREFIX SharedArray pip3 install --prefix=$PREFIX pyabc # dependency for stochkit, HD 20.07.20 Gemma Noviello pip3 install --prefix=$PREFIX petab pip3 install --prefix=$PREFIX tadtool # HD 26.01.21 Michael Robson # pip3 install --prefix=$PREFIX perf # fails, issue from Paul sep-20, no clue... # pip3 install --prefix=$PREFIX glpk-py # kreitler, fails, wants setuptools_scm, do i want setuptools_scm? pip3 install --prefix=$PREFIX helen # HD, a dependency from a request by helene :) pip3 install --prefix=$PREFIX umap # HD, used by Matthias Lienhard pip3 install --prefix=$PREFIX macs2 # HD, Alessa Ringel, Tobias Zehnder, old python2 version broke after glibc update pip3 install --prefix=$PREFIX macs3 # boost for pycuda ( . ${PREFIX}/profile BOOST_VERSION=(1.75.0 1_75_0) PKGCFLAGS="-O2 -fPIC" cd $BUILDDIR # 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 test -e boost_${BOOST_VERSION[1]}.tar.gz || wget -nv $BEEHIVE test -d boost-${BOOST_VERSION[0]} || mkdir boost-${BOOST_VERSION[0]} && tar -xf boost_${BOOST_VERSION[1]}.tar.gz -C boost-${BOOST_VERSION[0]} --strip-components=1 #### ATTN! #### python meanders between /python${PYTHONVER} and /python${PYTHONVER}m cd boost-${BOOST_VERSION[0]} sed -e "/using python/ s|;|: ${PREFIX}/include/python${PYTHONVER} ;|" \ -i bootstrap.sh ./bootstrap.sh \ --with-toolset=gcc \ --with-icu \ --with-python=$PREFIX/bin/python3 \ --with-libraries=python,thread || exit 1 ./b2 \ -j $NPROC \ --layout=system \ --build-dir=build-python3 \ --prefix=$PREFIX \ --libdir=$PREFIX/lib \ --build-type=minimal \ toolset=gcc \ variant=release \ debug-symbols=off \ link=shared \ threading=multi \ runtime-link=shared \ python=$PYTHONVER \ cflags="$PKGCFLAGS" \ cxxflags="$PKGCFLAGS" \ install || exit 1 ) # use pycuda git version to get GL support ( PYCUDAVERS=2020.1 PYTHON_LIBNAME=boost_python38 . ${PREFIX}/profile cd $BUILDDIR # orig: https://github.com/inducer/pycuda/archive/v2020.1.tar.gz BEEHIVE=https://beehive.molgen.mpg.de/580562d7af4d3249c5b42a1df8d428a0/pycuda-2020.1.tar.gz test -e pycuda-${PYCUDAVERS}.tar.gz || wget -nv $BEEHIVE test -d pycuda-${PYCUDAVERS} || tar -xf pycuda-${PYCUDAVERS}.tar.gz cd pycuda-${PYCUDAVERS} test -e siteconf.py && rm siteconf.py python3 configure.py \ --cuda-enable-gl \ --cuda-root=$CUDADIR \ --no-use-shipped-boost \ --boost-python-libname=$PYTHON_LIBNAME \ --boost-inc-dir=$PREFIX/include \ --boost-lib-dir=$PREFIX/lib \ --cudadrv-lib-dir='${CUDA_ROOT}/lib,${CUDA_ROOT}/lib/stubs' \ --cudart-lib-dir='${CUDA_ROOT}/lib,${CUDA_ROOT}/lib/stubs' \ --curand-lib-dir='${CUDA_ROOT}/lib,${CUDA_ROOT}/lib/stubs' \ --ldflags=-L$PREFIX/lib python3 setup.py install --prefix $PREFIX ) ( # orig:https://github.com/nboley/idr/archive/2.0.3/idr-2.0.3.tar.gz # HD: Tobias Zehnder, 18.3.21 BEEHIVE=https://beehive.molgen.mpg.de/1bec61b526bb1dcf92a5ab99c27852d0/idr-2.0.3.tar.gz test -e idr-2.0.3.tar.gz || wget -nv $BEEHIVE test -d idr-2.0.3 || tar -xf idr-2.0.3.tar.gz cd idr-2.0.3 python3 setup.py build python3 setup.py install --prefix $PREFIX ) ( # 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 test -e stgit-1.0.tar.gz || wget -nv $BEEHIVE test -d stgit-1.0 || tar -xf stgit-1.0.tar.gz cd stgit-1.0 python3 setup.py build python3 setup.py install --prefix $PREFIX ) # finaly tensorflaw ( TFVERSION=2.3.2 . ${PREFIX}/profile . /pkg/bazel-3.4.1-0/profile cd $BUILDDIR # orig: https://github.com/tensorflow/tensorflow/archive/v${TFVERSION}/tensorflow-${TFVERSION}.tar.gz BEEHIVE=https://beehive.molgen.mpg.de/b444d145beb5c8195c0476111747c8fa/tensorflow-2.3.2.tar.gz test -e tensorflow-${TFVERSION}.tar.gz || wget -nv $BEEHIVE test -d tensorflow-${TFVERSION} || tar -xf tensorflow-${TFVERSION}.tar.gz cd tensorflow-${TFVERSION} # use patch(es) from below ... sed -ne '/^#Epatch:f16/ s/^#Epatch:\S* // p' $ME | patch -p1 --verbose sed -ne '/^#Epatch:rtver/ s/^#Epatch:\S* // p' $ME | patch -p1 --verbose #vars for config export PYTHON_BIN_PATH=${PREFIX}/bin/python3 export USE_DEFAULT_PYTHON_LIB_PATH=1 export TF_NEED_JEMALLOC=1 export TF_NEED_KAFKA=0 export TF_NEED_OPENCL_SYCL=0 export TF_NEED_AWS=0 export TF_NEED_GCP=0 export TF_NEED_HDFS=0 export TF_NEED_S3=0 export TF_ENABLE_XLA=1 export TF_NEED_GDR=0 export TF_NEED_VERBS=0 export TF_NEED_OPENCL=0 export TF_NEED_MPI=0 export TF_NEED_TENSORRT=1 export TF_NEED_NGRAPH=0 export TF_NEED_IGNITE=0 export TF_NEED_ROCM=0 export TF_SET_ANDROID_WORKSPACE=0 export TF_DOWNLOAD_CLANG=0 export TF_NCCL_VERSION=2.7 export TF_IGNORE_MAX_BAZEL_VERSION=1 export NCCL_INSTALL_PATH=${CUDADIR} export GCC_HOST_COMPILER_PATH=/usr/bin/gcc export TF_CUDA_CLANG=0 export CLANG_CUDA_COMPILER_PATH=/usr/bin/clang export TF_CUDA_PATHS=${CUDADIR},${CUDADIR}/extras/CUPTI,${CUDADIR}/nvvm export TF_CUDA_VERSION=$(${CUDADIR}/bin/nvcc --version | sed -n 's/^.*release \(.*\),.*/\1/p') export TF_CUDNN_VERSION=$(sed -n 's/^#define CUDNN_MAJOR\s*\(.*\).*/\1/p' ${CUDADIR}/include/cudnn_version.h) export TF_CUDA_COMPUTE_CAPABILITIES=3.5,3.7,5.0,5.2,5.3,6.0,6.1,6.2,7.0,7.2,7.5 export CC_OPT_FLAGS="-march=nehalem" export TF_NEED_CUDA=1 ./configure bazel build \ --cxxopt="-march=nehalem" \ --copt="-march=nehalem" \ --noshow_loading_progress \ --noshow_progress \ --color="no" \ //tensorflow:libtensorflow.so \ //tensorflow:libtensorflow_cc.so \ //tensorflow:install_headers \ //tensorflow/tools/pip_package:build_pip_package bazel shutdown # otherwise it hogs in cwd # create a _clean/decent_ python package from so far created debris test -d tensorflow-pip && rm -r tensorflow-pip mkdir tensorflow-pip ./bazel-bin/tensorflow/tools/pip_package/build_pip_package --src ${BUILDDIR}/tensorflow-pip cd ${BUILDDIR} # ... cope with the ??? symlink-structure placed in bazels' build-TMPDIR (-h) (tell me why ?) test -e tensorflow-pip.tar && rm tensorflow-pip.tar tar -chf tensorflow-pip.tar tensorflow-pip # and perform a regular install test -d tensorflow-pip && rm -r tensorflow-pip tar -xf tensorflow-pip.tar cd ${BUILDDIR}/tensorflow-pip # inhibit downgrading of packages installed sed -ne '/^#Epatch:tfdep/ s/^#Epatch:\S* // p' $ME | patch -p2 --verbose python3 setup.py build python3 setup.py install --prefix $PREFIX ) # load all packages, see warnings and spot installation errors # But don't care about r2py, a further dependence into R is not wanted! echo "# START load test." python3 -c 'help("modules")' > /dev/null echo "# END load test." exit ### PATCHES # origin? Ooops, I've lost the ref. Found somewhere in TF-github issue-comments, and this code is actually present in TF 2.4 # note: numpy 1.19 or so borked its API, possibly a common deprecation mech is better to be ignored ... #Epatch:f16 --- a/tensorflow/python/lib/core/bfloat16.cc 2021-01-04 21:20:31.000000000 +0100 #Epatch:f16 +++ b/tensorflow/python/lib/core/bfloat16.cc 2021-02-22 17:52:49.012465507 +0100 #Epatch:f16 @@ -517,7 +517,7 @@ #Epatch:f16 } #Epatch:f16 #Epatch:f16 template <typename InType, typename OutType, typename Functor> #Epatch:f16 -void BinaryUFunc(char** args, npy_intp* dimensions, npy_intp* steps, #Epatch:f16 +void BinaryUFunc(char** args, const npy_intp* dimensions, const npy_intp* steps, #Epatch:f16 void* data) { #Epatch:f16 const char* i0 = args[0]; #Epatch:f16 const char* i1 = args[1]; #Epatch:f16 @@ -532,11 +532,17 @@ #Epatch:f16 } #Epatch:f16 } #Epatch:f16 #Epatch:f16 +// Numpy changed const-ness of PyUFuncGenericFunction, provide overload. #Epatch:f16 template <typename Functor> #Epatch:f16 void CompareUFunc(char** args, npy_intp* dimensions, npy_intp* steps, #Epatch:f16 void* data) { #Epatch:f16 BinaryUFunc<bfloat16, npy_bool, Functor>(args, dimensions, steps, data); #Epatch:f16 } #Epatch:f16 +template <typename Functor> #Epatch:f16 +void CompareUFunc(char** args, const npy_intp* dimensions, #Epatch:f16 + const npy_intp* steps, void* data) { #Epatch:f16 + BinaryUFunc<bfloat16, npy_bool, Functor>(args, dimensions, steps, data); #Epatch:f16 +} #Epatch:f16 #Epatch:f16 struct Bfloat16EqFunctor { #Epatch:f16 npy_bool operator()(bfloat16 a, bfloat16 b) { return a == b; } # https://github.com/tensorflow/tensorflow/issues/43588 # conclusio: nvidia disted a 'strange' SOVERSION in libcudart, some distro 'fixed' it ... # ... based on the assumtion that libcudart must be 11.1 # tensorflaw buddies took the distro -- well, know your code # n.b. this is a hack for linux only. #Epatch:rtver --- a/third_party/gpus/cuda_configure.bzl 2021-01-04 21:20:31.000000000 +0100 #Epatch:rtver +++ b/third_party/gpus/cuda_configure.bzl 2021-02-23 21:16:21.699194719 +0100 #Epatch:rtver @@ -533,14 +533,14 @@ #Epatch:rtver "cudart", #Epatch:rtver cpu_value, #Epatch:rtver cuda_config.config["cuda_library_dir"], #Epatch:rtver - cuda_config.cuda_version, #Epatch:rtver + "11.0", #Epatch:rtver static = False, #Epatch:rtver ), #Epatch:rtver "cudart_static": _check_cuda_lib_params( #Epatch:rtver "cudart_static", #Epatch:rtver cpu_value, #Epatch:rtver cuda_config.config["cuda_library_dir"], #Epatch:rtver - cuda_config.cuda_version, #Epatch:rtver + "11.0", #Epatch:rtver static = True, #Epatch:rtver ), #Epatch:rtver "cublas": _check_cuda_lib_params( #Epatch:rtver --- a/third_party/gpus/cuda/cuda_config.h.tpl 2021-02-25 16:09:26.393892637 +0100 #Epatch:rtver +++ b/third_party/gpus/cuda/cuda_config.h.tpl 2021-02-25 16:10:29.387584893 +0100 #Epatch:rtver @@ -17,6 +17,7 @@ #Epatch:rtver #define CUDA_CUDA_CONFIG_H_ #Epatch:rtver #Epatch:rtver #define TF_CUDA_VERSION "%{cuda_version}" #Epatch:rtver +#define TF_CUDART_VERSION "11.0" #Epatch:rtver #define TF_CUBLAS_VERSION "%{cublas_version}" #Epatch:rtver #define TF_CUSOLVER_VERSION "%{cusolver_version}" #Epatch:rtver #define TF_CURAND_VERSION "%{curand_version}" #Epatch:rtver --- a/tensorflow/stream_executor/platform/default/dso_loader.cc 2021-01-04 21:20:31.000000000 +0100 #Epatch:rtver +++ b/tensorflow/stream_executor/platform/default/dso_loader.cc 2021-02-25 16:28:43.867234896 +0100 #Epatch:rtver @@ -30,7 +30,8 @@ #Epatch:rtver namespace internal { #Epatch:rtver #Epatch:rtver namespace { #Epatch:rtver -string GetCudaVersion() { return TF_CUDA_VERSION; } #Epatch:rtver +string GetCudaVersion() { return TF_CUDA_VERSION; } // just libcupti.so #Epatch:rtver +string GetCudartVersion() { return TF_CUDART_VERSION; } // value is hardcoded in cuda_config.h.tpl #Epatch:rtver string GetCudnnVersion() { return TF_CUDNN_VERSION; } #Epatch:rtver string GetCublasVersion() { return TF_CUBLAS_VERSION; } #Epatch:rtver string GetCusolverVersion() { return TF_CUSOLVER_VERSION; } #Epatch:rtver @@ -77,7 +78,7 @@ #Epatch:rtver } #Epatch:rtver #Epatch:rtver port::StatusOr<void*> GetCudaRuntimeDsoHandle() { #Epatch:rtver - return GetDsoHandle("cudart", GetCudaVersion()); #Epatch:rtver + return GetDsoHandle("cudart", GetCudartVersion()); #Epatch:rtver } #Epatch:rtver #Epatch:rtver port::StatusOr<void*> GetCublasDsoHandle() { # Tensorflow-pip # don't downgrade numpy, since the ABI-issue is fixed # don't downgrade h5py, take the risk of manual fixing :) # skip stuff present already #Epatch:tfdep --- a/tensorflow-pip/setup.py 2021-03-05 18:49:44.000000000 +0100 #Epatch:tfdep +++ b/tensorflow-pip/setup.py 2021-03-18 12:03:02.536396036 +0100 #Epatch:tfdep @@ -56,19 +56,12 @@ #Epatch:tfdep 'astunparse == 1.6.3', #Epatch:tfdep 'gast == 0.3.3', #Epatch:tfdep 'google_pasta >= 0.1.8', #Epatch:tfdep - 'h5py >= 2.10.0, < 2.11.0', #Epatch:tfdep - 'keras_preprocessing >= 1.1.1, < 1.2', #Epatch:tfdep - # TODO(mihaimaruseac): numpy 1.19.0 has ABI breakage #Epatch:tfdep - # https://github.com/numpy/numpy/pull/15355 #Epatch:tfdep - 'numpy >= 1.16.0, < 1.19.0', #Epatch:tfdep 'opt_einsum >= 2.3.2', #Epatch:tfdep 'protobuf >= 3.9.2', #Epatch:tfdep 'tensorboard >= 2.3.0, < 3', #Epatch:tfdep 'tensorflow_estimator >= 2.3.0, < 2.4.0', #Epatch:tfdep 'termcolor >= 1.1.0', #Epatch:tfdep 'wrapt >= 1.11.1', #Epatch:tfdep - 'wheel >= 0.26', #Epatch:tfdep - 'six >= 1.12.0', #Epatch:tfdep ] #Epatch:tfdep #Epatch:tfdep if sys.byteorder == 'little':
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
You can’t perform that action at this time.