Nantes Université

Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider 3ea583d9 rédigé par Jean-Francois GUILLAUME's avatar Jean-Francois GUILLAUME :squid:
Parcourir les fichiers

modifying compile_*.sh

parent a22f0dfd
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -7,8 +7,8 @@ export SLURM_RELEASE_SPEC="1"
export SLURM_URL="https://github.com/SchedMD/slurm"
export SLURM_DEST_ARCH="x86_64"
export SLURM_OPTIONS="--with auth_none --with blcr --with bluegene --with lua --with mysql --with openssl --with percs --with sgijob"
export SLURM_BUILD_DEP_OPTIONS="--define=\"_with_auth_none 0\" --define=\"_with_blcr 0\" --define=\"_with_bluegene 0\" --define=\"_with_lua 0\" --define=\"_with_mysql 0\" --define=\"_with_openssl 0\" --define=\"_with_percs 0\" --define=\"_with_sgijob 0\""
export SLURM_BUILD_DEP_OPTIONS="'_with_auth_none 0 _with_blcr 0 _with_bluegene 0 _with_lua 0 _with_mysql 0 _with_openssl 0 _with_percs 0 _with_sgijob 0'"
export SLURM_BUILD_DEP_OPTIONS='--define="_with_auth_none 0" --define="_with_blcr 0" --define="_with_bluegene 0" --define="_with_lua 0" --define="_with_mysql 0" --define="_with_openssl 0" --define="_with_percs 0" --define="_with_sgijob 0"'
#export SLURM_BUILD_DEP_OPTIONS="_with_auth_none 0 _with_blcr 0 _with_bluegene 0 _with_lua 0 _with_mysql 0 _with_openssl 0 _with_percs 0 _with_sgijob 0"
#
# MUNGE RELATED
......
......@@ -4,6 +4,8 @@
/usr/bin/rm -rf ${TOP_DIR}/BUILD/* ${TOP_DIR}/RPMS/* ${TOP_DIR}/SRPMS/* ${TOP_DIR}/SOURCES/* ${TOP_DIR}/BUILDROOT/*
# retrieving sources
SLURM_BUILD_DEP_OPTIONS=$(/usr/bin/grep "SLURM_BUILD_DEP_OPTIONS" ${TOP_DIR}/SLURM_INFOS|awk -F '=' '{print $2}'|sed "s|'||g")
/usr/bin/git clone -b slurm-${SLURM_VERSION} ${SLURM_URL} ${TOP_DIR}/SOURCES/slurm-${SLURM_VERSION_SPEC}-${SLURM_RELEASE_SPEC}
/usr/bin/sed -i "s|^Name:.*|Name: slurm|g" ${TOP_DIR}/SOURCES/slurm-${SLURM_VERSION_SPEC}-${SLURM_RELEASE_SPEC}/slurm.spec
/usr/bin/sed -i "s|^Version:.*|Version: ${SLURM_VERSION_SPEC}|g" ${TOP_DIR}/SOURCES/slurm-${SLURM_VERSION_SPEC}-${SLURM_RELEASE_SPEC}/slurm.spec
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter