From 39cb04c33e4f69986e7427d2a832e1eddc473129 Mon Sep 17 00:00:00 2001 From: tgrogers Date: Mon, 8 Jul 2019 12:56:33 -0400 Subject: Don't backup simulations if its not there --- nightly.jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nightly.jenkinsfile b/nightly.jenkinsfile index 0813ea8..98cd8d1 100644 --- a/nightly.jenkinsfile +++ b/nightly.jenkinsfile @@ -22,7 +22,7 @@ pipeline { } stage('nightly-simulations-build'){ steps{ - sh 'cp -r ./gpgpu-sim_simulations ./gpgpu-sim_simulations_bak' + sh 'if [ -d "./gpgpu-sim_simulations" ]; then cp -r ./gpgpu-sim_simulations ./gpgpu-sim_simulations_bak fi' sh 'rm -rf gpgpu-sim_simulations' sh 'git clone git@github.com:purdue-aalp/gpgpu-sim_simulations.git && \ cd gpgpu-sim_simulations && \ -- cgit v1.3 From b4585093d7b383984981eb48b22a42f07af10ad6 Mon Sep 17 00:00:00 2001 From: tgrogers Date: Mon, 8 Jul 2019 13:01:10 -0400 Subject: forcing the commit because of git readonly files --- nightly.jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nightly.jenkinsfile b/nightly.jenkinsfile index 98cd8d1..d7a18a9 100644 --- a/nightly.jenkinsfile +++ b/nightly.jenkinsfile @@ -22,7 +22,7 @@ pipeline { } stage('nightly-simulations-build'){ steps{ - sh 'if [ -d "./gpgpu-sim_simulations" ]; then cp -r ./gpgpu-sim_simulations ./gpgpu-sim_simulations_bak fi' + sh 'if [ -d "./gpgpu-sim_simulations" ]; then cp -fr ./gpgpu-sim_simulations ./gpgpu-sim_simulations_bak fi' sh 'rm -rf gpgpu-sim_simulations' sh 'git clone git@github.com:purdue-aalp/gpgpu-sim_simulations.git && \ cd gpgpu-sim_simulations && \ -- cgit v1.3 From 47d18d2dea9a27061193218f1e70ba50cf7ff46f Mon Sep 17 00:00:00 2001 From: tgrogers Date: Mon, 8 Jul 2019 13:23:08 -0400 Subject: Syntax issue? --- nightly.jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nightly.jenkinsfile b/nightly.jenkinsfile index d7a18a9..e5ffa57 100644 --- a/nightly.jenkinsfile +++ b/nightly.jenkinsfile @@ -22,7 +22,9 @@ pipeline { } stage('nightly-simulations-build'){ steps{ - sh 'if [ -d "./gpgpu-sim_simulations" ]; then cp -fr ./gpgpu-sim_simulations ./gpgpu-sim_simulations_bak fi' + sh 'if [ -d "./gpgpu-sim_simulations" ]; then \ + cp -fr ./gpgpu-sim_simulations ./gpgpu-sim_simulations_bak; \ + fi' sh 'rm -rf gpgpu-sim_simulations' sh 'git clone git@github.com:purdue-aalp/gpgpu-sim_simulations.git && \ cd gpgpu-sim_simulations && \ -- cgit v1.3 From 3429bfacff71a0da92ffb05e964c90dbf26ccac0 Mon Sep 17 00:00:00 2001 From: tgrogers Date: Fri, 12 Jul 2019 10:29:58 -0400 Subject: Newer gcc's seem to throw a variety of exceptions and it is killing the parser. Let's just eat them all for now - it seems to work :) --- src/option_parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/option_parser.cc b/src/option_parser.cc index 4fa2343..7d747f0 100644 --- a/src/option_parser.cc +++ b/src/option_parser.cc @@ -100,7 +100,7 @@ public: } try { ss >> m_variable; - } catch (stringstream::failure &e) { + } catch (exception &e) { return false; } m_isParsed = true; -- cgit v1.3