Nantes Université

Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 615ee728 rédigé par Jean-Francois GUILLAUME's avatar Jean-Francois GUILLAUME :squid:
Parcourir les fichiers

adding optional features to slurm

parent 8a18b916
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -28,17 +28,20 @@ fi
# installing dependencies
/bin/yum makecache fast
/usr/bin/yum makecache fast
/usr/bin/touch /var/lib/rpm/*
/usr/bin/echo "${SLURM_BUILD_DEP_OPTIONS}" | /usr/bin/xargs /bin/yum-builddep -y -q -e 0 ${TOP_DIR}/SPECS/slurm.spec
/usr/bin/cp ${TOP_DIR}/rpmmacros ~/.rpmmacros
/usr/bin/yum install -y -q -e 0 json-parser-devel hdf5-devel pmix-devel freeipmi-devel rrdtool-devel man2html man2html-core libcurl-devel glib2-devel hwloc-devel gtk2-devel
/usr/bin/yum --setopt=group_package_types=optional groupinstall -y -q -e 0 "Infiniband Support"
# compiling rpm
/usr/bin/echo "${SLURM_BUILD_DEP_OPTIONS}" | /usr/bin/rpmbuild --clean --target=${SLURM_DEST_ARCH} -ba ${TOP_DIR}/SPECS/slurm.spec
# moving rpms to artifacts directories
/usr/bin/find ${TOP_DIR}/RPMS/ -type f -exec -iname "*.rpm" /usr/bin/cp -v {} ${TOP_DIR}/ARTIFACTS/ \;
/usr/bin/find ${TOP_DIR}/RPMS/ -type f -iname "*.rpm" -exec /usr/bin/cp -v {} ${TOP_DIR}/ARTIFACTS/ \;
# installing rpm to check if all is ok and to enable compilation of slurm related products
/usr/bin/yum install -y -q -e 0 ${TOP_DIR}/ARTIFACTS/*
......
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