Commit 5f2ec82d authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

added clean sprng5

parent a8506442
Pipeline #71423 canceled with stage
......@@ -23,7 +23,7 @@ class MLMCMpp(Mpp):
super().__init__()
self.executable = 'MLMC-M++'
def build_sprng5(self, silent=False):
def build_sprng5(self):
print('\n================ build sprng5 ================\n')
if not os.path.exists(SPRNG5_DIR + '/lib/libsprng.a'):
self.run_subprocess(['tar', 'xjf', 'sprng5.tar.bz2'], cwd=PROJECT_ROOT_DIR)
......@@ -31,6 +31,9 @@ class MLMCMpp(Mpp):
cwd=SPRNG5_DIR)
self.run_subprocess(['make', '-j'], cwd=SPRNG5_DIR)
def clean_sprng5(self):
self.clean_directory(SPRNG5_DIR, True)
def build(self, silent=False):
self.build_sprng5(silent)
super().build()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment