Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update OpenBLAS easyblock since make shared is necessary and sufficient with OpenBLAS 0.3.23 + recent parallel build fixes #2944

Merged
Merged
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
11 changes: 7 additions & 4 deletions easybuild/easyblocks/o/openblas.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,13 @@ def build_step(self):
""" Custom build step excluding the tests """

# Equivalent to `make all` without the tests
build_parts = ['libs', 'netlib']
for buildopt in self.cfg['buildopts'].split():
if 'BUILD_RELAPACK' in buildopt and '1' in buildopt:
build_parts += ['re_lapack']
build_parts = []
if LooseVersion(self.version) < LooseVersion('0.3.23'):
build_parts += ['libs', 'netlib']
for buildopt in self.cfg['buildopts'].split():
if 'BUILD_RELAPACK' in buildopt and '1' in buildopt:
build_parts += ['re_lapack']
# just shared is necessary and sufficient with 0.3.23 + xianyi/OpenBLAS#3983
build_parts += ['shared']

# Pass CFLAGS through command line to avoid redefinitions (issue xianyi/OpenBLAS#818)
Expand Down