forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding easyconfigs: Boost-1.81.0-intel-compilers-2022.2.1.eb and patc…
…hes: boost-1.81.0_intel.patch
- Loading branch information
1 parent
be30e2a
commit 720fee1
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
easybuild/easyconfigs/b/Boost/Boost-1.81.0-intel-compilers-2022.2.1.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## | ||
# Authors:: Denis Kristak <[email protected]> | ||
## | ||
name = 'Boost' | ||
version = '1.81.0' | ||
|
||
homepage = 'https://www.boost.org/' | ||
description = """Boost provides free peer-reviewed portable C++ source libraries.""" | ||
|
||
toolchain = {'name': 'intel-compilers', 'version': '2022.2.1'} | ||
toolchainopts = {'pic': True} | ||
|
||
source_urls = ['https://boostorg.jfrog.io/artifactory/main/release/%(version)s/source/'] | ||
sources = ['%%(namelower)s_%s.tar.gz' % '_'.join(version.split('.'))] | ||
patches = ['%(namelower)s-%(version)s_intel.patch'] | ||
checksums = [ | ||
{'boost_1_81_0.tar.gz': '205666dea9f6a7cfed87c7a6dfbeb52a2c1b9de55712c9c1a87735d7181452b6'}, | ||
{'boost-1.81.0_intel.patch': 'ada377759fcda0146c744f103d9e3cd58cae1c6e8cd3132bb958166171539c61'}, | ||
] | ||
|
||
dependencies = [ | ||
('bzip2', '1.0.8'), | ||
('zlib', '1.2.12'), | ||
('XZ', '5.2.7'), | ||
('zstd', '1.5.2'), | ||
('ICU', '72.1'), | ||
] | ||
|
||
configopts = '--without-libraries=python,mpi' | ||
|
||
# disable MPI, build Boost libraries with tagged layout | ||
boost_mpi = False | ||
tagged_layout = True | ||
|
||
moduleclass = 'devel' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Fix build for Intel compiler following: | ||
# https://www.intel.com/content/www/us/en/developer/articles/technical/building-boost-with-oneapi.html | ||
# S.D.Pinches | ||
diff -Nru boost_1_81_0-orig/tools/build/src/tools/intel-linux.jam boost_1_81_0/tools/build/src/tools/intel-linux.jam | ||
--- boost_1_81_0-orig/tools/build/src/tools/intel-linux.jam 2022-12-08 02:02:50.000000000 +0100 | ||
+++ boost_1_81_0/tools/build/src/tools/intel-linux.jam 2023-09-25 14:18:09.460485592 +0200 | ||
@@ -277,7 +277,7 @@ | ||
# | ||
actions compile.c++.pch | ||
{ | ||
- rm -f "$(<)" && LD_LIBRARY_PATH="$(RUN_PATH)" "$(CONFIG_COMMAND)" -x c++-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -pch-create "$(<)" "$(>)" | ||
+ rm -f "$(<)" && LD_LIBRARY_PATH="$(RUN_PATH)" "$(CONFIG_COMMAND)" -x c++-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -Xclang -emit-pch -o "$(<)" "$(>)" | ||
} | ||
|
||
actions compile.fortran |