Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Pmodules
buildblocks
Commits
9cd88bd9
Commit
9cd88bd9
authored
Sep 12, 2019
by
gsell
Browse files
boost: build-script reviewed
parent
449a04e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
MPI/boost/build
MPI/boost/build
+7
-7
No files found.
MPI/boost/build
View file @
9cd88bd9
#!/usr/bin/env modbuild
pbuild
::
set_download_url
"https://netcologne.dl.sourceforge.net/project/boost/boost/$V/boost_${V_
MAJOR}_${V_MINOR}_${V_PATCHLVL
}.tar.gz"
pbuild
::
set_download_url
"https://netcologne.dl.sourceforge.net/project/boost/boost/$V/boost_${V_
PKG//./_
}.tar.gz"
pbuild
::
add_to_group
'MPI'
pbuild
::
add_patch
"files/context-Jamfile.patch"
#
pbuild::add_patch "files/context-Jamfile.patch"
BOOST_BUILD_PATH
=
"${BUILD_DIR}"
declare
-
x
TOOLSET
=
''
TOOLSET
=
''
pbuild
::
pre_configure
()
{
case
"${COMPILER}"
in
...
...
@@ -22,6 +22,10 @@ pbuild::pre_configure() {
}
pbuild
::
configure
()
{
:
}
pbuild
::
compile
()
{
cd
"${SRC_DIR}"
.
/
bootstrap
.
sh
\
--
prefix
=
"${PREFIX}"
\
...
...
@@ -29,10 +33,6 @@ pbuild::configure() {
--
without
-
libraries
=
python
\
||
exit
1
echo
"using mpi ;"
>>
"./project-config.jam"
}
pbuild
::
compile
()
{
cd
"${SRC_DIR}"
.
/
b2
\
--
build
-
dir
=
"${BUILD_DIR}"
\
--
layout
=
system
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment