From 393f277538c134ed4f8942bcaa65e5cc4eb13e3f Mon Sep 17 00:00:00 2001
From: Alexander Peyser <apeyser@users.noreply.github.com>
Date: Wed, 22 Mar 2017 14:33:11 +0100
Subject: [PATCH] Debugging dryrun with 28k nodes (#160)

Includes a fix to the readme which applies to any external modcc, and a way to keep from rebuilding locally an external modcc.
---
 README.md            | 2 +-
 tests/CMakeLists.txt | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 3f11b5cd..244b343f 100644
--- a/README.md
+++ b/README.md
@@ -119,7 +119,7 @@ cmake <path to CMakeLists.txt> -DCMAKE_BUILD_TYPE=release
 make -j8
 
 # set path and test that you can see modcc
-export PATH=`pwd`/bin:$PATH
+export PATH=`pwd`/modcc:$PATH
 which modcc
 ```
 
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 7036ee30..97638a34 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -14,7 +14,10 @@ add_subdirectory(global_communication)
 add_subdirectory(performance)
 
 # modcc tests
-add_subdirectory(modcc)
+if(NOT use_external_modcc)
+    add_subdirectory(modcc)
+endif()
+
 
 # Proposed additional test types:
 
-- 
GitLab