Skip to content

Commit

Permalink
Merge pull request #2402 from cms-sw/enable-multi-targets-for-pr
Browse files Browse the repository at this point in the history
enable multi-targets if requested via PR
  • Loading branch information
smuzaffar authored Jan 13, 2025
2 parents 37ffeab + 07cd461 commit 38d215f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pr_testing/test_multiple_prs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,9 @@ if [ "X$EXTRA_CMSSW_PACKAGES" != "X" ] ; then
git cms-addpkg $(echo "${EXTRA_CMSSW_PACKAGES}" | tr ',' ' ') || true
fi
mark_commit_status_all_prs '' 'pending' -u "${BUILD_URL}" -d "Building CMSSW" || true
if [ $(echo ${ENABLE_BOT_TESTS} | tr ',' ' ' | tr ' ' '\n' | grep '^MULTI-MICROARCHS$' | wc -l) -gt 0 ] ; then
scram build enable-multi-targets || true
fi
COMPILATION_CMD="scram b vclean && BUILD_LOG=yes $USER_FLAGS /usr/bin/time -v scram b ${BUILD_VERBOSE} -k -j ${NCPU}"
if [ "$BUILD_EXTERNAL" = "true" -a $(grep '^edm_checks:' $WORKSPACE/$CMSSW_IB/config/SCRAM/GMake/Makefile.rules | wc -l) -gt 0 ] ; then
COMPILATION_CMD="scram b vclean && BUILD_LOG=yes SCRAM_NOEDM_CHECKS=yes $USER_FLAGS /usr/bin/time -v scram build ${BUILD_VERBOSE} -k -j ${NCPU} && scram b -k -j ${NCPU} edm_checks"
Expand Down

0 comments on commit 38d215f

Please sign in to comment.