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
Oliver Behnke
graphicsframework
Commits
a19beb8f
Commit
a19beb8f
authored
14 years ago
by
Oliver Bock
Browse files
Options
Downloads
Patches
Plain Diff
Use our custom BOINC git repo
parent
b51393eb
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
+23
-11
23 additions, 11 deletions
build.sh
with
23 additions
and
11 deletions
build.sh
+
23
−
11
View file @
a19beb8f
...
...
@@ -28,6 +28,8 @@ PATH_ORG="$PATH"
PATH_MINGW
=
"
$PATH
"
LOGFILE
=
$ROOT
/build.log
TAG_GFXAPPS
=
"current_gfx_apps"
TARGET
=
0
TARGET_LINUX
=
1
TARGET_MAC
=
2
...
...
@@ -318,14 +320,24 @@ prepare_boinc()
mkdir
-p
$ROOT
/build/boinc
>>
$LOGFILE
||
failure
cd
$ROOT
/3rdparty/boinc
||
failure
if
[
-d
.svn
]
;
then
echo
"Updating BOINC..."
|
tee
-a
$LOGFILE
# make sure local changes (patches) are reverted, hence also updated
svn revert
-R
.
>>
$LOGFILE
2>&1
||
failure
svn update
>>
$LOGFILE
2>&1
||
failure
if
[
-d
.git
]
;
then
echo
"Updating BOINC (tag:
$1
)..."
|
tee
-a
$LOGFILE
# make sure local changes (patches) are reverted to ensure fast-forward merge
git checkout
-f
$1
>>
$LOGFILE
2>&1
||
failure
# update tag info
git remote update
>>
$LOGFILE
2>&1
||
failure
git fetch
--tags
>>
$LOGFILE
2>&1
||
failure
# checkout build revision
git checkout
-f
$1
>>
$LOGFILE
2>&1
||
failure
else
echo
"Retrieving BOINC (this may take a while)..."
|
tee
-a
$LOGFILE
svn checkout http://boinc.berkeley.edu/svn/branches/server_stable
.
>>
$LOGFILE
2>&1
||
failure
# workaround for old git versions
rm
-rf
$ROOT
/3rdparty/boinc
>>
$LOGFILE
||
failure
echo
"Retrieving BOINC (tag:
$1
) (this may take a while)..."
|
tee
-a
$LOGFILE
cd
$ROOT
/3rdparty
||
failure
git clone git://git.aei.uni-hannover.de/shared/einsteinathome/boinc.git boinc
>>
$LOGFILE
2>&1
||
failure
cd
$ROOT
/3rdparty/boinc
||
failure
git checkout
$1
>>
$LOGFILE
2>&1
||
failure
fi
return
0
...
...
@@ -443,7 +455,7 @@ build_boinc()
return
0
fi
prepare_boinc
||
failure
prepare_boinc
$TAG_GFXAPPS
||
failure
echo
"Configuring BOINC..."
|
tee
-a
$LOGFILE
cd
$ROOT
/3rdparty/boinc
||
failure
...
...
@@ -629,7 +641,7 @@ build_boinc_mingw()
return
0
fi
prepare_boinc
||
failure
prepare_boinc
$TAG_GFXAPPS
||
failure
echo
"Patching BOINC..."
|
tee
-a
$LOGFILE
cd
$ROOT
/3rdparty/boinc/lib
||
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