Skip to content

Commit a97a7de

Browse files
committed
Merge branch 'feature-LLVM_unified' of github.com:Crivella/easybuild-easyblocks into feature-LLVM_unified
2 parents f94c2e3 + 1646380 commit a97a7de

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

easybuild/easyblocks/l/llvm.py

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -822,31 +822,18 @@ def build_step(self, verbose=False, path=None):
822822
else:
823823
self.log.info("Building LLVM")
824824
print_msg("Building stage 1/1")
825-
# change_dir(self.llvm_obj_dir_stage1)
826-
# super(EB_LLVM, self).build_step(verbose, path)
827-
import shutil
828-
change_dir(self.builddir)
829-
print_msg("TESTING!!!: Copying from previosu build (REMOVE ME)")
830-
shutil.rmtree('llvm.obj.1', ignore_errors=True)
831-
shutil.copytree(os.path.join('..', 'llvm.obj.1'), 'llvm.obj.1')
825+
change_dir(self.llvm_obj_dir_stage1)
826+
super(EB_LLVM, self).build_step(verbose, path)
832827
if self.cfg['bootstrap']:
833828
self.log.info("Building stage 2")
834829
print_msg("Building stage 2/3")
835-
# self.configure_step2()
836-
# self.build_with_prev_stage(self.llvm_obj_dir_stage1, self.llvm_obj_dir_stage2)
837-
change_dir(self.builddir)
838-
print_msg("TESTING!!!: Copying from previosu build (REMOVE ME)")
839-
shutil.rmtree('llvm.obj.2', ignore_errors=True)
840-
shutil.copytree(os.path.join('..', 'llvm.obj.2'), 'llvm.obj.2')
830+
self.configure_step2()
831+
self.build_with_prev_stage(self.llvm_obj_dir_stage1, self.llvm_obj_dir_stage2)
841832

842833
self.log.info("Building stage 3")
843834
print_msg("Building stage 3/3")
844835
self.configure_step3()
845836
self.build_with_prev_stage(self.llvm_obj_dir_stage2, self.llvm_obj_dir_stage3)
846-
# change_dir(self.builddir)
847-
# print_msg("TESTING!!!: Copying from previosu build (REMOVE ME)")
848-
# shutil.rmtree('llvm.obj.3', ignore_errors=True)
849-
# shutil.copytree(os.path.join('..', 'llvm.obj.3'), 'llvm.obj.3')
850837

851838
def _para_test_step(self, parallel=1):
852839
"""Run test suite with the specified number of parallel jobs for make."""

0 commit comments

Comments
 (0)