Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ekaterina
slapos
Commits
ae0afbfa
Commit
ae0afbfa
authored
May 28, 2013
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build the latest stable version of BOINC
parent
ec6dbb2f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
9 deletions
+16
-9
component/boinc/buildout.cfg
component/boinc/buildout.cfg
+14
-7
stack/boinc/buildout.cfg
stack/boinc/buildout.cfg
+2
-2
No files found.
component/boinc/buildout.cfg
View file @
ae0afbfa
...
@@ -26,16 +26,23 @@ keep-compile-dir = false
...
@@ -26,16 +26,23 @@ keep-compile-dir = false
[boinc-package]
[boinc-package]
recipe = plone.recipe.command
recipe = plone.recipe.command
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
tarball = ${buildout:parts-directory}/boinc.tar.gz
svnversion = ${subversion:location}/bin/svnversion
svnversion = ${subversion:location}/bin/svnversion
command = ${subversion:location}/bin/svn co http://boinc.berkeley.edu/svn/branches/server_stable ${:location} && \
command = ${subversion:location}/bin/svn co http://boinc.berkeley.edu/svn/branches/server_stable ${:location} && \
sed -i 's#/usr/bin/svnversion#${:svnversion}#' ${:location}/tools/make_project
sed -i 's#/usr/bin/svnversion#${:svnversion}#' ${:location}/tools/make_project && \
sed -i "20i\#include <unistd.h>" ${:location}/tools/process_input_template.cpp && \
sed -i "25i\#include <unistd.h>" ${:location}/sched/single_job_assimilator.cpp && \
sed -i "27i\#include <unistd.h>" ${:location}/tools/create_work.cpp && \
sed -i 's#--prefix=$(prefix)#--prefix=/$(prefix)#' ${:location}/py/Makefile.am
cd ${:location} && rm -f ${:tarball} && tar -cvzf ${:tarball} .
update-command =
# Compile now boinc
# Compile now boinc
# When installing boinc python module, path /srv/slapgrid/... is strip to srv/slapgrid... It is why
# When installing boinc python module, path /srv/slapgrid/... is strip to srv/slapgrid... It is why
# we need to set --prefix="/${buildout:parts-directory}/${:_buildout_section_name_}"
# we need to set --prefix="/${buildout:parts-directory}/${:_buildout_section_name_}"
[boinc]
[boinc]
recipe =
hexagonit
.recipe.cmmi
recipe =
slapos
.recipe.cmmi
url = ${boinc-package:
location
}
url = ${boinc-package:
tarball
}
keep-compile-dir = true
keep-compile-dir = true
source = ${buildout:parts-directory}/${:_buildout_section_name_}__compile__
source = ${buildout:parts-directory}/${:_buildout_section_name_}__compile__
configure-command =
configure-command =
...
@@ -44,11 +51,10 @@ configure-command =
...
@@ -44,11 +51,10 @@ configure-command =
./_autosetup
./_autosetup
./configure
./configure
configure-options =
configure-options =
--prefix="
/
${buildout:parts-directory}/${:_buildout_section_name_}"
--prefix="${buildout:parts-directory}/${:_buildout_section_name_}"
--disable-fcgi
--disable-fcgi
--disable-shared
--disable-shared
--enable-static
--enable-static
--with-pic
--disable-manager
--disable-manager
--disable-client
--disable-client
--with-pkg-config
--with-pkg-config
...
@@ -59,13 +65,14 @@ configure-options =
...
@@ -59,13 +65,14 @@ configure-options =
--with-libcurl=${curl:location}/lib
--with-libcurl=${curl:location}/lib
--with-x=no
--with-x=no
environment =
environment =
PATH=${pkgconfig:location}/bin:${automake:location}/bin:${autoconf:location}/bin:${libtool:location}/bin:${subversion:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:${automake:location}/bin:${autoconf:location}/bin:${libtool:location}/bin:${subversion:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig
PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig
M4=${m4:location}/bin/m4
M4=${m4:location}/bin/m4
CFLAGS=-fPIC
CPPFLAGS=-I${openssl:location}/include -I${mariadb:location}/include
CPPFLAGS=-I${openssl:location}/include -I${mariadb:location}/include
LDFLAGS = -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${mariadb:location}/lib -Wl,-rpath=${mariadb:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS = -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${mariadb:location}/lib -Wl,-rpath=${mariadb:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
MYSQL_CONFIG=${mariadb:location}/bin/mysql_config
MYSQL_CONFIG=${mariadb:location}/bin/mysql_config
ACLOCAL_PATH=${pkgconfig:location}/share/aclocal:${libtool:location}/share/aclocal
ACLOCAL_PATH=${pkgconfig:location}/share/aclocal:${libtool:location}/share/aclocal
\ No newline at end of file
stack/boinc/buildout.cfg
View file @
ae0afbfa
...
@@ -40,9 +40,9 @@ mode = 0644
...
@@ -40,9 +40,9 @@ mode = 0644
#Template for deploying MySQL Database Server
#Template for deploying MySQL Database Server
[template-mariadb]
[template-mariadb]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/
instance-mariadb.cfg
url = ${:_profile_base_location_}/
../lamp/mariadb/instance-mariadb.cfg.in
output = ${buildout:directory}/template-mariadb.cfg
output = ${buildout:directory}/template-mariadb.cfg
md5sum = 8142244a3087a23e002a08225579528a
#
md5sum = 8142244a3087a23e002a08225579528a
mode = 0644
mode = 0644
[template-httpd-conf]
[template-httpd-conf]
...
...
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