Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions easybuild/easyblocks/l/llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
@author: Simon Branford (University of Birmingham)
@author: Kenneth Hoste (Ghent University)
@author: Davide Grassano (CECAM HQ - Lausanne)
@author: Prateek Chawla (Juelich Supercomputing Centre)
"""
import contextlib
import glob
Expand Down Expand Up @@ -224,6 +225,7 @@ def extra_options():
'enable_rtti': [True, "Enable RTTI", CUSTOM],
'full_llvm': [False, "Build LLVM without any dependency", CUSTOM],
'minimal': [False, "Build LLVM only", CUSTOM],
'max_link_jobs': [2, "Maximum number of link jobs, defaults to 2", CUSTOM],
'python_bindings': [False, "Install python bindings", CUSTOM],
'skip_all_tests': [False, "Skip running of tests", CUSTOM],
'skip_sanitizer_tests': [True, "Do not run the sanitizer tests", CUSTOM],
Expand Down Expand Up @@ -315,6 +317,8 @@ def __init__(self, *args, **kwargs):

self.full_llvm = self.cfg['full_llvm']

self.general_opts.update({"LLVM_PARALLEL_LINK_JOBS": self.cfg['max_link_jobs']})

if self.cfg['minimal']:
conflicts = [_ for _ in self.minimal_conflicts if self.cfg[_]]
if conflicts:
Expand Down