Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
graphicsframework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
einsteinathome
graphicsframework
Commits
2974b848
Commit
2974b848
authored
4 years ago
by
Oliver Behnke
Browse files
Options
Downloads
Patches
Plain Diff
Fix BOINC for Linux out-of-tree builds as well
parent
4e7691a8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.sh
+4
-4
4 additions, 4 deletions
build.sh
with
4 additions
and
4 deletions
build.sh
+
4
−
4
View file @
2974b848
...
@@ -474,16 +474,16 @@ build_boinc()
...
@@ -474,16 +474,16 @@ build_boinc()
cd
$ROOT
/build/boinc
||
failure
cd
$ROOT
/build/boinc
||
failure
export
CPPFLAGS
=
"-I/sw/include -I/opt/local/include
$CPPFLAGS
"
export
CPPFLAGS
=
"-I/sw/include -I/opt/local/include
$CPPFLAGS
"
$ROOT
/3rdparty/boinc/configure
--prefix
=
$ROOT
/install
--enable-shared
=
no
--enable-static
=
yes
--disable-server
--disable-client
--with-apple-opengl-framework
--enable-install-headers
--enable-libraries
--disable-manager
--disable-fcgi
>>
$LOGFILE
2>&1
||
failure
$ROOT
/3rdparty/boinc/configure
--prefix
=
$ROOT
/install
--enable-shared
=
no
--enable-static
=
yes
--disable-server
--disable-client
--with-apple-opengl-framework
--enable-install-headers
--enable-libraries
--disable-manager
--disable-fcgi
>>
$LOGFILE
2>&1
||
failure
echo
"Fixing up BOINC's incomplete out-of-tree build..."
|
tee
-a
$LOGFILE
mkdir
-p
$ROOT
/install/include/boinc
>>
$LOGFILE
2>&1
||
failure
cp
$ROOT
/build/boinc/config.h
$ROOT
/install/include/boinc
>>
$LOGFILE
2>&1
||
failure
cp
$ROOT
/3rdparty/boinc/project_specific_defines.h
$ROOT
/install/include/boinc
>>
$LOGFILE
2>&1
||
failure
elif
[
-d
"/usr/local/ssl"
]
;
then
elif
[
-d
"/usr/local/ssl"
]
;
then
echo
"Using local SSL library..."
|
tee
-a
$LOGFILE
echo
"Using local SSL library..."
|
tee
-a
$LOGFILE
$ROOT
/3rdparty/boinc/configure
--prefix
=
$ROOT
/install
--enable-shared
=
no
--enable-static
=
yes
--disable-server
--disable-client
--enable-install-headers
--enable-libraries
--disable-manager
--disable-fcgi
CPPFLAGS
=
-I
/usr/local/ssl/include
LDFLAGS
=
-L
/usr/local/ssl/lib
>>
$LOGFILE
2>&1
||
failure
$ROOT
/3rdparty/boinc/configure
--prefix
=
$ROOT
/install
--enable-shared
=
no
--enable-static
=
yes
--disable-server
--disable-client
--enable-install-headers
--enable-libraries
--disable-manager
--disable-fcgi
CPPFLAGS
=
-I
/usr/local/ssl/include
LDFLAGS
=
-L
/usr/local/ssl/lib
>>
$LOGFILE
2>&1
||
failure
else
else
$ROOT
/3rdparty/boinc/configure
--prefix
=
$ROOT
/install
--enable-shared
=
no
--enable-static
=
yes
--disable-server
--disable-client
--enable-install-headers
--enable-libraries
--disable-manager
--disable-fcgi
>>
$LOGFILE
2>&1
||
failure
$ROOT
/3rdparty/boinc/configure
--prefix
=
$ROOT
/install
--enable-shared
=
no
--enable-static
=
yes
--disable-server
--disable-client
--enable-install-headers
--enable-libraries
--disable-manager
--disable-fcgi
>>
$LOGFILE
2>&1
||
failure
fi
fi
echo
"Fixing up BOINC's incomplete out-of-tree build..."
|
tee
-a
$LOGFILE
mkdir
-p
$ROOT
/install/include/boinc
>>
$LOGFILE
2>&1
||
failure
cp
$ROOT
/build/boinc/config.h
$ROOT
/install/include/boinc
>>
$LOGFILE
2>&1
||
failure
cp
$ROOT
/3rdparty/boinc/project_specific_defines.h
$ROOT
/install/include/boinc
>>
$LOGFILE
2>&1
||
failure
echo
"Building BOINC (this may take a while)..."
|
tee
-a
$LOGFILE
echo
"Building BOINC (this may take a while)..."
|
tee
-a
$LOGFILE
make
>>
$LOGFILE
2>&1
||
failure
make
>>
$LOGFILE
2>&1
||
failure
make
install
>>
$LOGFILE
2>&1
||
failure
make
install
>>
$LOGFILE
2>&1
||
failure
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment