Nantes Université

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

correcting rpmbuild

parent 3da0e54f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -8,6 +8,7 @@ export SLURM_URL="https://github.com/SchedMD/slurm"
export SLURM_DEST_ARCH="x86_64"
export SLURM_OPTIONS=""
export SLURM_BUILD_DEP_OPTIONS='--define="_with_hdf5 1" --define="_with_hwloc 1" --define="_with_lua 1" --define="_with_mysql 1" --define="_with_numa 1" --define="_with_openssl 1"'
export SLURM_BUILD_OPTIONS='--with-hdf5=1 --with-hwloc=1 --with-lua=1 --with-mysql=1 --with-numa=1 --with-openssl=1'
#
# MUNGE RELATED
......
......@@ -34,12 +34,12 @@ fi
/usr/bin/echo "${SLURM_BUILD_DEP_OPTIONS}" | /usr/bin/xargs /bin/yum-builddep -y ${TOP_DIR}/SPECS/slurm.spec
/usr/bin/cp ${TOP_DIR}/rpmmacros ~/.rpmmacros
/usr/bin/yum install -y jsoncpp-devel json-c-devel json-parser-devel hdf5-devel pmix-devel freeipmi-devel rrdtool-devel man2html man2html-core libcurl-devel glib2-devel hwloc-devel gtk2-devel \
jsoncpp json-c json-parser hdf5 pmix freeipmi rrdtool man2html man2html-core libcurl glib2 hwloc gtk2
/usr/bin/yum install -y jsoncpp-devel json-c-devel json-parser-devel hdf5-devel pmix-devel freeipmi-devel rrdtool-devel man2html man2html-core libcurl-devel glib2-devel hwloc-devel gtk2-devel lua-devel numactl-devel\
jsoncpp json-c json-parser hdf5 pmix freeipmi rrdtool man2html man2html-core libcurl glib2 hwloc gtk2 lua numactl numactl-libs numad
/usr/bin/yum --setopt=group_package_types=optional groupinstall -y "Infiniband Support"
# compiling rpm
/usr/bin/echo "${SLURM_BUILD_DEP_OPTIONS}" | /usr/bin/xargs -I% /usr/bin/rpmbuild --clean --target=${SLURM_DEST_ARCH} % -ba ${TOP_DIR}/SPECS/slurm.spec
/usr/bin/echo "${SLURM_BUILD_OPTIONS}" | /usr/bin/xargs -I% /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 -iname "*.rpm" -exec /usr/bin/cp -v {} ${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