Merge branch 'master' into '301-git-build-modules-for-newer-version'
# Conflicts: # Programming/perl/files/config.yaml
This commit is contained in:
@@ -1,19 +1,5 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::set_download_url "https://www.python.org/ftp/python/${V_PKG}/$P-${V_PKG}.tgz"
|
||||
|
||||
pbuild::set_sha256sum 'Python-3.7.3.tgz:d62e3015f2f89c970ac52343976b406694931742fbde2fed8d1ce8ebb4e1f8ff'
|
||||
pbuild::set_sha256sum 'Python-2.7.12.tgz:3cb522d17463dfa69a155ab18cffa399b358c966c0363d6c8b5b3bf1384da4b6'
|
||||
pbuild::set_sha256sum 'Python-2.7.14.tgz:304c9b202ea6fbd0a4a8e0ad3733715fbd4749f2204a9173a58ec53c32ea73e8'
|
||||
pbuild::set_sha256sum 'Python-2.7.16.tgz:01da813a3600876f03f46db11cc5c408175e99f03af2ba942ef324389a83bad5'
|
||||
pbuild::set_sha256sum 'Python-3.6.3.tgz:ab6193af1921b30f587b302fe385268510e80187ca83ca82d2bfe7ab544c6f91'
|
||||
pbuild::set_sha256sum 'Python-3.7.3.tgz:d62e3015f2f89c970ac52343976b406694931742fbde2fed8d1ce8ebb4e1f8ff'
|
||||
pbuild::set_sha256sum 'Python-3.7.4.tgz:d63e63e14e6d29e17490abbe6f7d17afb3db182dbd801229f14e55f4157c4ba3'
|
||||
|
||||
pbuild::add_to_group 'Programming'
|
||||
|
||||
pbuild::compile_in_sourcetree
|
||||
|
||||
pbuild::pre_configure() {
|
||||
local -a cflags=()
|
||||
local -a ldflags=()
|
||||
@@ -74,7 +60,7 @@ pbuild::post_install() {
|
||||
std::info "Building scipy\n"
|
||||
pip${V_MAJOR} install scipy
|
||||
|
||||
std::info "Building matplotlub\n"
|
||||
std::info "Building matplotlib\n"
|
||||
pip${V_MAJOR} install matplotlib
|
||||
|
||||
std::info "Building ipython\n"
|
||||
@@ -95,8 +81,8 @@ pbuild::post_install() {
|
||||
std::info "Building virtualenv\n"
|
||||
pip${V_MAJOR} install virtualenv
|
||||
|
||||
std::info "Building virtualenv\n"
|
||||
pip${V_MAJOR} install ansible ansible-core==2.15.4
|
||||
#std::info "Building ansible\n"
|
||||
#pip${V_MAJOR} install ansible ansible-core==2.15.4
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::set_download_url "https://www.python.org/ftp/python/${V_PKG}/$P-${V_PKG}.tgz"
|
||||
|
||||
pbuild::set_sha256sum 'Python-3.7.3.tgz:d62e3015f2f89c970ac52343976b406694931742fbde2fed8d1ce8ebb4e1f8ff'
|
||||
pbuild::set_sha256sum 'Python-2.7.12.tgz:3cb522d17463dfa69a155ab18cffa399b358c966c0363d6c8b5b3bf1384da4b6'
|
||||
pbuild::set_sha256sum 'Python-2.7.14.tgz:304c9b202ea6fbd0a4a8e0ad3733715fbd4749f2204a9173a58ec53c32ea73e8'
|
||||
pbuild::set_sha256sum 'Python-2.7.16.tgz:01da813a3600876f03f46db11cc5c408175e99f03af2ba942ef324389a83bad5'
|
||||
pbuild::set_sha256sum 'Python-3.6.3.tgz:ab6193af1921b30f587b302fe385268510e80187ca83ca82d2bfe7ab544c6f91'
|
||||
pbuild::set_sha256sum 'Python-3.7.3.tgz:d62e3015f2f89c970ac52343976b406694931742fbde2fed8d1ce8ebb4e1f8ff'
|
||||
pbuild::set_sha256sum 'Python-3.7.4.tgz:d63e63e14e6d29e17490abbe6f7d17afb3db182dbd801229f14e55f4157c4ba3'
|
||||
|
||||
pbuild::add_to_group 'Programming'
|
||||
|
||||
pbuild::compile_in_sourcetree
|
||||
|
||||
pbuild::pre_configure() {
|
||||
local -a cflags=()
|
||||
local -a ldflags=()
|
||||
@@ -60,7 +74,7 @@ pbuild::post_install() {
|
||||
std::info "Building scipy\n"
|
||||
pip${V_MAJOR} install scipy
|
||||
|
||||
std::info "Building matplotlib\n"
|
||||
std::info "Building matplotlub\n"
|
||||
pip${V_MAJOR} install matplotlib
|
||||
|
||||
std::info "Building ipython\n"
|
||||
@@ -78,11 +92,11 @@ pbuild::post_install() {
|
||||
std::info "Building pandas\n"
|
||||
pip${V_MAJOR} install pandas
|
||||
|
||||
#std::info "Building virtualenv\n"
|
||||
#pip${V_MAJOR} install virtualenv
|
||||
std::info "Building virtualenv\n"
|
||||
pip${V_MAJOR} install virtualenv
|
||||
|
||||
#std::info "Building ansible\n"
|
||||
#pip${V_MAJOR} install ansible ansible-core==2.15.4
|
||||
std::info "Building virtualenv\n"
|
||||
pip${V_MAJOR} install ansible ansible-core==2.15.4
|
||||
}
|
||||
|
||||
|
||||
@@ -8,34 +8,37 @@ Python:
|
||||
- url: https://www.python.org/ftp/python/${V_PKG}/$P-${V_PKG}.tgz
|
||||
|
||||
shasums:
|
||||
Python-2.7.12.tgz: 3cb522d17463dfa69a155ab18cffa399b358c966c0363d6c8b5b3bf1384da4b6
|
||||
Python-2.7.14.tgz: 304c9b202ea6fbd0a4a8e0ad3733715fbd4749f2204a9173a58ec53c32ea73e8
|
||||
Python-2.7.16.tgz: 01da813a3600876f03f46db11cc5c408175e99f03af2ba942ef324389a83bad5
|
||||
Python-2.7.17.tgz: f22059d09cdf9625e0a7284d24a13062044f5bf59d93a7f3382190dfa94cecde
|
||||
Python-2.7.18.tgz: da3080e3b488f648a3d7a4560ddee895284c3380b11d6de75edb986526b9a814
|
||||
Python-3.6.11.tgz: 96621902f89746fffc22f39749c07da7c2917b232e72352e6837d41850f7b90c
|
||||
Python-3.6.3.tgz: ab6193af1921b30f587b302fe385268510e80187ca83ca82d2bfe7ab544c6f91
|
||||
Python-3.7.3.tgz: d62e3015f2f89c970ac52343976b406694931742fbde2fed8d1ce8ebb4e1f8ff
|
||||
Python-3.7.4.tgz: d63e63e14e6d29e17490abbe6f7d17afb3db182dbd801229f14e55f4157c4ba3
|
||||
Python-3.7.8.tgz: 0e25835614dc221e3ecea5831b38fa90788b5389b99b675a751414c858789ab0
|
||||
Python-3.8.12.tgz: 316aa33f3b7707d041e73f246efedb297a70898c4b91f127f66dc8d80c596f1a
|
||||
Python-3.8.4.tgz: 32c4d9817ef11793da4d0d95b3191c4db81d2e45544614e8449255ca9ae3cc18
|
||||
Python-3.8.8.tgz: 76c0763f048e4f9b861d24da76b7dd5c7a3ba7ec086f40caedeea359263276f7
|
||||
Python-3.9.10.tgz: 1aa9c0702edbae8f6a2c95f70a49da8420aaa76b7889d3419c186bfc8c0e571e
|
||||
Python-3.9.17.tgz: 8ead58f669f7e19d777c3556b62fae29a81d7f06a7122ff9bc57f7dd82d7e014
|
||||
Python-3.13.2.tgz: b8d79530e3b7c96a5cb2d40d431ddb512af4a563e863728d8713039aa50203f9
|
||||
Python-3.12.9.tgz: 45313e4c5f0e8acdec9580161d565cf5fea578e3eabf25df7cc6355bf4afa1ee
|
||||
Python-3.11.11.tgz: f2e22ed965a93cfeb642378ed6e6cdbc127682664b24123679f3d013fafe9cd0
|
||||
Python-3.10.16.tgz: f2e22ed965a93cfeb642378ed6e6cdbc127682664b24123679f3d013fafe9cd0
|
||||
Python-3.9.21.tgz: 667c3ba2ca98d39ead1162f6548c3475768582e2ff89e0821d25eb956ac09944
|
||||
Python-3.9.18.tgz: 504ce8cfd59addc04c22f590377c6be454ae7406cb1ebf6f5a350149225a9354
|
||||
Python-3.9.17.tgz: 8ead58f669f7e19d777c3556b62fae29a81d7f06a7122ff9bc57f7dd82d7e014
|
||||
Python-3.9.10.tgz: 1aa9c0702edbae8f6a2c95f70a49da8420aaa76b7889d3419c186bfc8c0e571e
|
||||
Python-3.8.8.tgz: 76c0763f048e4f9b861d24da76b7dd5c7a3ba7ec086f40caedeea359263276f7
|
||||
Python-3.8.4.tgz: 32c4d9817ef11793da4d0d95b3191c4db81d2e45544614e8449255ca9ae3cc18
|
||||
Python-3.8.12.tgz: 316aa33f3b7707d041e73f246efedb297a70898c4b91f127f66dc8d80c596f1a
|
||||
Python-3.7.8.tgz: 0e25835614dc221e3ecea5831b38fa90788b5389b99b675a751414c858789ab0
|
||||
Python-3.7.4.tgz: d63e63e14e6d29e17490abbe6f7d17afb3db182dbd801229f14e55f4157c4ba3
|
||||
Python-3.7.3.tgz: d62e3015f2f89c970ac52343976b406694931742fbde2fed8d1ce8ebb4e1f8ff
|
||||
Python-3.6.3.tgz: ab6193af1921b30f587b302fe385268510e80187ca83ca82d2bfe7ab544c6f91
|
||||
Python-3.6.11.tgz: 96621902f89746fffc22f39749c07da7c2917b232e72352e6837d41850f7b90c
|
||||
Python-2.7.18.tgz: da3080e3b488f648a3d7a4560ddee895284c3380b11d6de75edb986526b9a814
|
||||
Python-2.7.17.tgz: f22059d09cdf9625e0a7284d24a13062044f5bf59d93a7f3382190dfa94cecde
|
||||
Python-2.7.16.tgz: 01da813a3600876f03f46db11cc5c408175e99f03af2ba942ef324389a83bad5
|
||||
Python-2.7.14.tgz: 304c9b202ea6fbd0a4a8e0ad3733715fbd4749f2204a9173a58ec53c32ea73e8
|
||||
Python-2.7.12.tgz: 3cb522d17463dfa69a155ab18cffa399b358c966c0363d6c8b5b3bf1384da4b6
|
||||
versions:
|
||||
3.9.18-1:
|
||||
3.13.2:
|
||||
config:
|
||||
relstage: unstable
|
||||
build_requires: [openssl/1.1.1w, TclTk/8.6.9, xz/5.2.4]
|
||||
3.9.18:
|
||||
build_requires: [openssl/3.4.1, TclTk/8.6.16, xz/5.8.0]
|
||||
3.9.18;3.9.21;3.10.16;3.11.11;3.12.9:
|
||||
config:
|
||||
relstage: unstable
|
||||
build_requires: [openssl/1.1.1w, TclTk/8.6.9, xz/5.2.4]
|
||||
runtime_deps: [openssl/3.4.1, TclTk/8.6.16, xz/5.8.0]
|
||||
3.9.17:
|
||||
config:
|
||||
relstage: unstable
|
||||
relstage: deprecated
|
||||
build_requires: [openssl/1.1.1v, TclTk/8.6.9, xz/5.2.4]
|
||||
3.9.10:
|
||||
3.8.12:
|
||||
|
||||
@@ -1,4 +1,32 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
./build_Tcl "$@" ||exit $?
|
||||
./build_Tk -f "$@"
|
||||
#pbuild::install_docfiles 'license.terms' 'README'
|
||||
|
||||
pbuild::configure_Darwin() {
|
||||
export CXX=/usr/bin/clang++
|
||||
export CC=/usr/bin/clang
|
||||
PATH+=":/opt/X11/bin"
|
||||
export PKG_CONFIG_PATH="/opt/X11/share/pkgconfig:/opt/X11/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||
"${SRC_DIR}/macosx/configure" \
|
||||
--prefix="${PREFIX}" \
|
||||
--enable-threads \
|
||||
--disable-symbols \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::configure() {
|
||||
"${SRC_DIR}/unix/configure" \
|
||||
--prefix="${PREFIX}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::post_install() {
|
||||
{ cd "${PREFIX}"/bin && rm -f tclsh && ln -fs tclsh${V%.*} tclsh; };
|
||||
}
|
||||
|
||||
pbuild::post_install_Darwin() {
|
||||
local -r libtcl="libtcl${V_MAJOR}.${V_MINOR}.dylib"
|
||||
install_name_tool \
|
||||
-id @executable_path/../lib/${libtcl} \
|
||||
"${PREFIX}/lib/${libtcl}"
|
||||
}
|
||||
|
||||
@@ -1,14 +1,20 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::set_download_url "ftp://ftp.tcl.tk/pub/tcl/tk${V_MAJOR}_${V_MINOR}/tk${V_PKG}-src.tar.gz"
|
||||
|
||||
pbuild::add_to_group 'Programming'
|
||||
|
||||
export PATH="${PREFIX}/bin:$PATH"
|
||||
export C_INCLUDE_PATH="${PREFIX}/include:${C_INCLUDE_PATH}"
|
||||
export LIBRARY_PATH="${PREFIX}/lib:${LIBRARY_PATH}"
|
||||
if [[ -v C_INCLUDE_PATH ]]; then
|
||||
C_INCLUDE_PATH="${PREFIX}/include:${C_INCLUDE_PATH}"
|
||||
else
|
||||
C_INCLUDE_PATH="${PREFIX}/include"
|
||||
fi
|
||||
export C_INCLUDE_PATH
|
||||
if [[ -v LIBRARY_PATH ]]; then
|
||||
LIBRARY_PATH="${PREFIX}/lib:${LIBRARY_PATH}"
|
||||
else
|
||||
LIBRARY_PATH="${PREFIX}/lib"
|
||||
fi
|
||||
export LIBRARY_PATH
|
||||
|
||||
pbuild::configure_Darwin() {
|
||||
pbuil:d:configure_Darwin() {
|
||||
PATH+=":/opt/X11/bin"
|
||||
export CXX=/usr/bin/clang++
|
||||
export CC=/usr/bin/clang
|
||||
@@ -24,7 +30,7 @@ pbuild::configure_Darwin() {
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::configure_Linux() {
|
||||
pbuild::configure() {
|
||||
"${SRC_DIR}/unix/configure" \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-tcl="${PREFIX}/lib" \
|
||||
@@ -1,35 +0,0 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::set_download_url "ftp://ftp.tcl.tk/pub/tcl/tcl8_6/tcl${V_PKG}-src.tar.gz"
|
||||
|
||||
pbuild::add_to_group 'Programming'
|
||||
pbuild::install_docfiles 'license.terms' 'README'
|
||||
|
||||
pbuild::configure_Darwin() {
|
||||
export CXX=/usr/bin/clang++
|
||||
export CC=/usr/bin/clang
|
||||
PATH+=":/opt/X11/bin"
|
||||
export PKG_CONFIG_PATH="/opt/X11/share/pkgconfig:/opt/X11/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||
"${SRC_DIR}/macosx/configure" \
|
||||
--prefix="${PREFIX}" \
|
||||
--enable-threads \
|
||||
--disable-symbols \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::configure_Linux() {
|
||||
"${SRC_DIR}/unix/configure" \
|
||||
--prefix="${PREFIX}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::post_install() {
|
||||
{ cd "${PREFIX}"/bin && rm -f tclsh && ln -fs tclsh${V%.*} tclsh; };
|
||||
}
|
||||
|
||||
pbuild::post_install_Darwin() {
|
||||
local -r libtcl="libtcl${V_MAJOR}.${V_MINOR}.dylib"
|
||||
install_name_tool \
|
||||
-id @executable_path/../lib/${libtcl} \
|
||||
"${PREFIX}/lib/${libtcl}"
|
||||
}
|
||||
32
Programming/TclTk/files/config.yaml
Normal file
32
Programming/TclTk/files/config.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
format: 1
|
||||
TclTk:
|
||||
defaults:
|
||||
group: Programming
|
||||
overlay: base
|
||||
relstage: stable
|
||||
urls:
|
||||
- url: http://prdownloads.sourceforge.net/tcl/tcl${V_PKG}-src.tar.gz
|
||||
shasums:
|
||||
versions:
|
||||
8.6.16:
|
||||
config:
|
||||
sub_packages:
|
||||
- name: Tk
|
||||
version: 8.6.16
|
||||
build_args:
|
||||
8.6.9:
|
||||
config:
|
||||
sub_packages:
|
||||
- name: Tk
|
||||
version: 8.6.9
|
||||
build_args:
|
||||
|
||||
Tk:
|
||||
type: sub_package
|
||||
defaults:
|
||||
urls:
|
||||
- url: http://prdownloads.sourceforge.net/tcl/tk${V_PKG}-src.tar.gz
|
||||
versions:
|
||||
8.6.16:
|
||||
8.6.9:
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
TclTk/8.6.9 stable
|
||||
@@ -1 +0,0 @@
|
||||
TclTk/8.6.9 stable
|
||||
@@ -12,4 +12,4 @@ anaconda:
|
||||
- url: https://repo.anaconda.com/miniconda/Miniconda3-py39_24.5.0-0-Linux-x86_64.sh
|
||||
name: miniconda-2024.08.sh
|
||||
unpacker: none
|
||||
relstage: unstable
|
||||
relstage: stable
|
||||
|
||||
@@ -1,29 +1,14 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::add_to_group 'Programming'
|
||||
|
||||
pbuild::prep() {
|
||||
:
|
||||
}
|
||||
|
||||
pbuild::configure() {
|
||||
:
|
||||
}
|
||||
|
||||
pbuild::compile() {
|
||||
:
|
||||
}
|
||||
|
||||
pbuild::install() {
|
||||
:
|
||||
}
|
||||
|
||||
# install with
|
||||
# bash ./cuda_12.8.1_570.124.06_linux.run --silent --toolkit --installpath=/opt/psi/Programming/cuda/12.8.1/ --no-opengl-libs --no-man-page
|
||||
#
|
||||
pbuild::post_install() {
|
||||
if [ -f "/opt/psi/Programming/cuda/${V_PKG}/lib64/stubs/libnvidia-ml.so" ]
|
||||
then
|
||||
if [ ! -f "/opt/psi/Programming/cuda/${V_PKG}/lib64/stubs/libnvidia-ml.so.1" ]
|
||||
then
|
||||
ln -s /opt/psi/Programming/cuda/$V/lib64/stubs/libnvidia-ml.so /opt/psi/Programming/cuda/${V_PKG}/lib64/stubs/libnvidia-ml.so.1
|
||||
fi
|
||||
fi
|
||||
cd "${PREFIX}/lib64/stubs"
|
||||
for lib in lib*; do
|
||||
local soname="$(patchelf --print-soname "${lib}" 2>/dev/null)" || continue
|
||||
if [[ ! -e "${soname}" ]]; then
|
||||
ln -s "${lib}" "${soname}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
119
Programming/cuda/files/config.yaml
Normal file
119
Programming/cuda/files/config.yaml
Normal file
@@ -0,0 +1,119 @@
|
||||
---
|
||||
format: 1
|
||||
cuda:
|
||||
defaults:
|
||||
group: Programming
|
||||
overlay: base
|
||||
relstage: stable
|
||||
build_variants: first_match
|
||||
build_functions:
|
||||
configure: []
|
||||
compile: []
|
||||
install: [pbuild::post_install]
|
||||
urls:
|
||||
- &cuda-12_8_1-aarch64
|
||||
url: https://developer.download.nvidia.com/compute/cuda/12.8.1/local_installers/cuda_12.8.1_570.124.06_linux_sbsa.run
|
||||
unpacker: none
|
||||
- &cuda-12_8_1-x86_64
|
||||
url: https://developer.download.nvidia.com/compute/cuda/12.8.1/local_installers/cuda_12.8.1_570.124.06_linux.run
|
||||
unpacker: none
|
||||
- &cuda-12_2_2-aarch64
|
||||
url: https://developer.download.nvidia.com/compute/cuda/12.2.2/local_installers/cuda_12.2.2_535.104.05_linux_sbsa.run
|
||||
unpacker: none
|
||||
- &cuda-12_2_2-x86_64
|
||||
url: https://developer.download.nvidia.com/compute/cuda/12.2.2/local_installers/cuda_12.2.2_535.104.05_linux.run
|
||||
unpacker: none
|
||||
- &cuda-12_2_0-aarch64
|
||||
url: https://developer.download.nvidia.com/compute/cuda/12.2.0/local_installers/cuda_12.2.0_535.54.03_linux_sbsa.run
|
||||
unpacker: none
|
||||
- &cuda-12_2_0-x86_64
|
||||
url: https://developer.download.nvidia.com/compute/cuda/12.2.0/local_installers/cuda_12.2.0_535.54.03_linux.run
|
||||
unpacker: none
|
||||
- &cuda-12_1_1-aarch64
|
||||
url: https://developer.download.nvidia.com/compute/cuda/12.1.1/local_installers/cuda_12.1.1_530.30.02_linux_sbsa.run
|
||||
unpacker: none
|
||||
- &cuda-12_1_1-x86_64
|
||||
url: https://developer.download.nvidia.com/compute/cuda/12.1.1/local_installers/cuda_12.1.1_530.30.02_linux.run
|
||||
unpacker: none
|
||||
|
||||
shasums:
|
||||
cuda_12.8.1_570.124.06_linux.run: 228f6bcaf5b7618d032939f431914fc92d0e5ed39ebe37098a24502f26a19797
|
||||
cuda_12.8.1_570.124.06_linux_sbsa.run: 353cbab1b57282a1001071796efd95c1e40ec27a3375e854d12637eaa1c6107c
|
||||
cuda_12.2.2_535.104.05_linux.run: 2b39aae3e7618d9f59a3c8fa1f1bc61f29c0b0e0df75fb05076badb352952ef2
|
||||
cuda_12.2.2_535.104.05_linux_sbsa.run: 4113a15e6b27a02638c72edeb5f89de4c9ea312febba12fc4cefff2edc882268
|
||||
cuda_12.2.0_535.54.03_linux.run: ecf3d2afadcbac029f0f4505785810d52d006e4b87ba79ff3f984336a2bbf518
|
||||
cuda_12.2.0_535.54.03_linux_sbsa.run: 9c90d79bb63952cd30f1f57f9f8fe11e7a8967bba6f824df45d3464b5d37e5d8
|
||||
cuda_12.1.1_530.30.02_linux.run: d74022d41d80105319dfa21beea39b77a5b9919539c0487a05caaf2446d6a70e
|
||||
cuda_12.1.1_530.30.02_linux_sbsa.run: 45ea4cd860f0a26d3db8ce032530f2ee0b55abdd587545213d395a73623b4278
|
||||
|
||||
versions:
|
||||
12.8.1:
|
||||
variants:
|
||||
- target_cpus: [aarch64]
|
||||
systems: [gpu.*.merlin7.psi.ch]
|
||||
relstage: unstable
|
||||
overlay: PSI
|
||||
urls:
|
||||
- *cuda-12_8_1-aarch64
|
||||
- target_cpus: [x86_64]
|
||||
systems: [.*.merlin7.psi.ch]
|
||||
relstage: unstable
|
||||
overlay: PSI
|
||||
urls:
|
||||
- *cuda-12_8_1-x86_64
|
||||
- target_cpus: [x86_64]
|
||||
relstage: stable
|
||||
urls:
|
||||
- *cuda-12_8_1-x86_64
|
||||
12.2.2:
|
||||
variants:
|
||||
- target_cpus: [aarch64]
|
||||
systems: [gpu.*.merlin7.psi.ch]
|
||||
relstage: stable
|
||||
overlay: PSI
|
||||
urls:
|
||||
- *cuda-12_2_2-aarch64
|
||||
- target_cpus: [x86_64]
|
||||
systems: [.*.merlin7.psi.ch]
|
||||
relstage: stable
|
||||
overlay: PSI
|
||||
urls:
|
||||
- *cuda-12_2_2-x86_64
|
||||
- target_cpus: [x86_64]
|
||||
relstage: stable
|
||||
urls:
|
||||
- *cuda-12_2_2-x86_64
|
||||
|
||||
12.2.0:
|
||||
variants:
|
||||
- target_cpus: [aarch64]
|
||||
systems: [gpu.*.merlin7.psi.ch]
|
||||
urls:
|
||||
- *cuda-12_2_0-aarch64
|
||||
- target_cpus: [x86_64]
|
||||
systems: [.*.merlin7.psi.ch]
|
||||
overlay: PSI
|
||||
urls:
|
||||
- *cuda-12_2_0-x86_64
|
||||
- target_cpus: [x86_64]
|
||||
urls:
|
||||
- *cuda-12_2_0-x86_64
|
||||
|
||||
12.1.1:
|
||||
variants:
|
||||
- target_cpus: [aarch64]
|
||||
systems: [gpu.*.merlin7.psi.ch]
|
||||
overlay: PSI
|
||||
relstage: unstable
|
||||
urls:
|
||||
- *cuda-12_1_1-aarch64
|
||||
|
||||
- target_cpus: [x86_64]
|
||||
systems: [.*.merlin7.psi.ch]
|
||||
overlay: PSI
|
||||
urls:
|
||||
- *cuda-12_1_1-x86_64
|
||||
|
||||
- target_cpus: [x86_64]
|
||||
urls:
|
||||
- *cuda-12_1_1-x86_64
|
||||
@@ -13,4 +13,4 @@ cuda/11.4.3 stable
|
||||
cuda/11.5.1 stable
|
||||
cuda/11.8.0 stable
|
||||
cuda/12.1.1 stable
|
||||
cuda/12.2.0 unstable
|
||||
cuda/12.2.0 stable
|
||||
|
||||
@@ -13,15 +13,12 @@ harnessing the power of the graphics processing unit (GPU).
|
||||
|
||||
prepend-path CUDA_PATH "$PREFIX"
|
||||
|
||||
# libnvidia-ml.so in GDK package is a stub library that is attached only for build purposes
|
||||
prepend-path LIBRARY_PATH "$PREFIX/lib64/stubs"
|
||||
prepend-path LIBRARY_PATH "$PREFIX/targets/x86_64-linux/lib/stubs"
|
||||
if {[catch {exec /usr/sbin/modinfo -d nvidia} result]} {
|
||||
# add if the module is *not* loaded => we are on a system without GPU
|
||||
prepend-path LIBRARY_PATH "$PREFIX/lib64/stubs"
|
||||
prepend-path LD_LIBRARY_PATH "$PREFIX/lib/stubs"
|
||||
}
|
||||
|
||||
prepend-path C_INCLUDE_PATH "$PREFIX/targets/x86_64-linux/include"
|
||||
prepend-path CPLUS_INCLUDE_PATH "$PREFIX/targets/x86_64-linux/include"
|
||||
|
||||
# We should always run with libnvidia-ml.so that is installed with your NVIDIA Display Driver.
|
||||
# By default it's installed in /usr/lib and /usr/lib64.
|
||||
# Therefore, LD_LIBRARY_PATH must not contain any libnvidia-ml.so reference in the GDK package
|
||||
# prepend-path LD_LIBRARY_PATH "$PREFIX/lib/stubs"
|
||||
# prepend-path LD_LIBRARY_PATH "$PREFIX/targets/x86_64-linux/lib/stubs"
|
||||
|
||||
@@ -86,6 +86,7 @@ gcc:
|
||||
systems: [rhel.*]
|
||||
- overlay: PSI
|
||||
systems: [login.*.merlin7.psi.ch, cn.*.merlin7.psi.ch, gpu.*.merlin7.psi.ch]
|
||||
modulefile: modulefile-alps
|
||||
- overlay: base
|
||||
systems: [rhel.*]
|
||||
|
||||
@@ -168,6 +169,16 @@ gcc:
|
||||
- overlay: base
|
||||
systems: [rhel.*]
|
||||
|
||||
8.5.0:
|
||||
config:
|
||||
relstage: stable
|
||||
build_requires: [gmp/6.3.0, mpfr/4.2.1, mpc/1.3.1-1]
|
||||
configure_args+:
|
||||
- --enable-languages=c,c++,objc,obj-c++,lto,fortran,go
|
||||
variants:
|
||||
- overlay: PSI
|
||||
systems: [login.*.merlin7.psi.ch, cn.*.merlin7.psi.ch, gpu.*.merlin7.psi.ch]
|
||||
|
||||
8.4.0:
|
||||
config:
|
||||
restage: stable
|
||||
|
||||
28
Programming/gcc/modulefile-alps
Normal file
28
Programming/gcc/modulefile-alps
Normal file
@@ -0,0 +1,28 @@
|
||||
#%Module1.0
|
||||
|
||||
module-whatis "GNU Compiler Collection"
|
||||
module-url "http://gcc.gnu.org/"
|
||||
module-license "GNU GPL v2/v3"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
module-help "
|
||||
The GNU Compiler Collection includes front ends for C, C++, Objective-C,
|
||||
Fortran, Java, Ada, and Go, as well as libraries for these languages
|
||||
(libstdc++, libgcj,...). GCC was originally written as the compiler for
|
||||
the GNU operating system.
|
||||
|
||||
This module includes compilers for
|
||||
- C/C++
|
||||
- Objective-C/Objective-C++
|
||||
- Fortran
|
||||
"
|
||||
|
||||
module-addgroup "Compiler"
|
||||
|
||||
setenv CC $PREFIX/bin/gcc
|
||||
setenv CXX $PREFIX/bin/g++
|
||||
setenv F77 $PREFIX/bin/gfortran
|
||||
setenv F90 $PREFIX/bin/gfortran
|
||||
setenv FC $PREFIX/bin/gfortran
|
||||
setenv FORTRAN $PREFIX/bin/gfortran
|
||||
|
||||
Reference in New Issue
Block a user