aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile23
-rw-r--r--setup_environment2
-rw-r--r--src/intersim2/Makefile10
3 files changed, 33 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 86ca78f..fad7bb0 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -6,8 +6,29 @@ pipeline {
stages {
stage('4.2-regress') {
steps {
- sh 'source /home/tgrogers-raid/a/common/gpgpu-sim-setup/4.2_env_setup.sh && source `pwd`/setup_environment && make -j && git clone https://github.com/tgrogers/gpgpu-sim_simulations.git && cd gpgpu-sim_simulations && git checkout purdue-cluster && make -j -C ./benchmarks/src all && ./util/job_launching/run_simulations.py -N regress &&./util/job_launching/monitor_func_test.py -v -N regress'
+ sh 'source /home/tgrogers-raid/a/common/gpgpu-sim-setup/4.2_env_setup.sh &&\
+ source `pwd`/setup_environment && \
+ make -j && \
+ rm -rf gpgpu-sim_simulations && \
+ git clone https://github.com/tgrogers/gpgpu-sim_simulations.git && \
+ cd gpgpu-sim_simulations && \
+ git checkout purdue-cluster && \
+ make -j -C ./benchmarks/src all && \
+ ./util/job_launching/run_simulations.py -N regress && \
+ ./util/job_launching/monitor_func_test.py -v -N regress'
+
+ emailex
+ body: "$JOB_NAME - $BRANCH_NAME - Build # currentBuild.number - currentBuild.result:
+ Check console output at $BUILD_URL to view the results.",
+ recipientProviders: [[$class: "CulpritsRecipientProvider"],
+ [$class: "RequesterRecipientProvider"]],
+ replyTo: "[email protected]",
+ subject: "[AALP Jenkins]: $JOB_NAME - Build # currentBuild.number - currentBuild.result!",
}
}
}
+
+
+
}
diff --git a/setup_environment b/setup_environment
index 854a335..0895d44 100644
--- a/setup_environment
+++ b/setup_environment
@@ -1,6 +1,6 @@
# see README before running this
-ps -p $$ | awk '/bash/ || / sh/ || /zsh/ {exit 1;}' && echo "ERROR ** source setup_environment must be run in a bash, zsh or sh shell; see README" && exit
+ps -p $$ | awk '/bash/ || / sh/ || /zsh/ {exit 1;}' && echo "WARNING ** source setup_environment must be run in a bash, zsh or sh shell; see README"
export GPGPUSIM_SETUP_ENVIRONMENT_WAS_RUN=
export GPGPUSIM_ROOT="$( cd "$( dirname "$BASH_SOURCE" )" && pwd )"
diff --git a/src/intersim2/Makefile b/src/intersim2/Makefile
index 4c7d8cc..7d10b3f 100644
--- a/src/intersim2/Makefile
+++ b/src/intersim2/Makefile
@@ -125,6 +125,14 @@ endif
# rules to compile simulator
+$(OBJDIR)/Makefile.makedepend: depend
+
+ALL_SRCS = $(CPP_SRCS)
+ALL_SRCS += $(shell ls **/*.cpp)
+
+depend:
+ touch $(OBJDIR)/Makefile.makedepend
+ makedepend -f$(OBJDIR)/Makefile.makedepend -I$(INCPATH) -p$(OBJDIR)/ $(ALL_SRCS) 2> /dev/null
${LEX_OBJS}: $(OBJDIR)/lex.yy.c $(OBJDIR)/y.tab.h
$(CC) $(CPPFLAGS) -c $< -o $@
@@ -173,3 +181,5 @@ $(OBJDIR)/y.tab.c $(OBJDIR)/y.tab.h: config.y
$(OBJDIR)/lex.yy.c: config.l
$(LEX) -o$@ $<
+
+include $(OBJDIR)/Makefile.makedepend