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
Labels
Merge Requests
103
Merge Requests
103
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
91ea1d4d
Commit
91ea1d4d
authored
Apr 15, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc: updated to 4.7.3
parent
bd5fff1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
29 deletions
+33
-29
component/gcc/buildout.cfg
component/gcc/buildout.cfg
+18
-29
component/gcc/software.cfg
component/gcc/software.cfg
+15
-0
No files found.
component/gcc/buildout.cfg
View file @
91ea1d4d
# GNU C Compiler
# GNU C Compiler
# Mostly required to support languages different th
e
n C or C++
# Mostly required to support languages different th
a
n C or C++
[buildout]
[buildout]
extends =
extends =
../m4/buildout.cfg
../m4/buildout.cfg
...
@@ -32,23 +32,24 @@ environment =
...
@@ -32,23 +32,24 @@ environment =
[ppl]
[ppl]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
# we should use version 0.1
0.x for gcc-4.5
# we should use version 0.1
1.x for gcc-4.7
url = http://bugseng.com/
products/ppl/download/ftp/releases/0.10.2/ppl-0.10.2
.tar.bz2
url = http://bugseng.com/
external/ppl/download/ftp/releases/0.11/ppl-0.11
.tar.bz2
md5sum =
5667111f53150618b0fa522ffc53fc3e
md5sum =
c414abd2ecaf1f1f48949c78d383ee1a
configure-options =
configure-options =
--with-
libgmp-prefix
=${gmp:location}
--with-
gmp
=${gmp:location}
--with-
libgmpxx
-prefix=${gmp:location}
--with-
gmp
-prefix=${gmp:location}
--disable-static
--disable-static
environment =
environment =
PATH=${m4:location}/bin:%(PATH)s
PATH=${m4:location}/bin:%(PATH)s
LDFLAGS=-Wl,-rpath=${gmp:location}/lib
LDFLAGS=-Wl,-rpath=${gmp:location}/lib
CXXFLAGS=-fpermissive
[cloog-ppl]
[cloog-ppl]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
url = ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-
ppl-0.15.9
.tar.gz
url = ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-
0.16.1
.tar.gz
md5sum =
806e001d1b1a6b130069ff6274900af5
md5sum =
947123350d1ff6dcb4b0774947ac015a
configure-options =
configure-options =
--with-gmp=${gmp:location}
--with-gmp
-prefix
=${gmp:location}
--with-ppl=${ppl:location}
--with-ppl=${ppl:location}
--disable-static
--disable-static
environment =
environment =
...
@@ -58,8 +59,8 @@ environment =
...
@@ -58,8 +59,8 @@ environment =
[gcc-download]
[gcc-download]
hack-revision = ${gcc-interconnection-workaround:hack-revision}
hack-revision = ${gcc-interconnection-workaround:hack-revision}
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = http://
www.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.5.3/gcc-4.5
.3.tar.bz2
url = http://
ftp.gnu.org/gnu/gcc/gcc-4.7.3/gcc-4.7
.3.tar.bz2
md5sum = 8
e0b5c12212e185f3e4383106bfa9cc6
md5sum = 8
6f428a30379bdee0224e353ee2f999e
strip-top-level-dir = True
strip-top-level-dir = True
destination = ${gcc-source:location}
destination = ${gcc-source:location}
...
@@ -67,13 +68,6 @@ destination = ${gcc-source:location}
...
@@ -67,13 +68,6 @@ destination = ${gcc-source:location}
hack-revision = ${gcc-interconnection-workaround:hack-revision}
hack-revision = ${gcc-interconnection-workaround:hack-revision}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[gcc-multiarch.patch]
recipe = hexagonit.recipe.download
md5sum = 819e6735270c8a432b0512b49f40219f
url = ${:_profile_base_location_}/${:filename}
filename = ${:_buildout_section_name_}
download-only = true
[gcc]
[gcc]
hack-revision = ${gcc-interconnection-workaround:hack-revision}
hack-revision = ${gcc-interconnection-workaround:hack-revision}
depends =
depends =
...
@@ -81,9 +75,6 @@ depends =
...
@@ -81,9 +75,6 @@ depends =
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
path = ${gcc-source:location}
path = ${gcc-source:location}
md5sum = bb3265edf0fa7543e50cedb93e04e427
md5sum = bb3265edf0fa7543e50cedb93e04e427
patches =
${gcc-multiarch.patch:location}/${gcc-multiarch.patch:filename}
patch-options = -p2
configure-command = make clean \\; make distclean \\; ./configure
configure-command = make clean \\; make distclean \\; ./configure
configure-options =
configure-options =
--disable-bootstrap
--disable-bootstrap
...
@@ -94,19 +85,18 @@ configure-options =
...
@@ -94,19 +85,18 @@ configure-options =
--with-mpc=${mpc:location}
--with-mpc=${mpc:location}
--with-ppl=${ppl:location}
--with-ppl=${ppl:location}
--with-cloog=${cloog-ppl:location}
--with-cloog=${cloog-ppl:location}
--enable-cloog-backend=isl
--prefix=${buildout:parts-directory}/${:_buildout_section_name_}
--prefix=${buildout:parts-directory}/${:_buildout_section_name_}
environment =
environment =
LDFLAGS=-Wl,-rpath=${mpfr:location}/lib -Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${ppl:location}/lib -Wl,-rpath=${cloog-ppl:location}/lib
LDFLAGS=-Wl,-rpath=${mpfr:location}/lib -Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${ppl:location}/lib -Wl,-rpath=${cloog-ppl:location}/lib
# make install does not work when several core are used
# make install does not work when several core are used
make-targets = install -j1
make-targets = install -j1
[gcc-minimal]
[gcc-minimal]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
url = http://ftp.gnu.org/gnu/gcc/gcc-4.5.4/gcc-core-4.5.4.tar.bz2
url = http://ftp.gnu.org/gnu/gcc/gcc-4.7.3/gcc-4.7.3.tar.bz2
md5sum = ca62e442629a9a7710f5d797bf1b521c
md5sum = 86f428a30379bdee0224e353ee2f999e
patches =
${gcc-multiarch.patch:location}/${gcc-multiarch.patch:filename}
patch-options = -p2
configure-options =
configure-options =
--disable-bootstrap
--disable-bootstrap
--enable-languages=c
--enable-languages=c
...
@@ -129,9 +119,6 @@ recipe = slapos.recipe.cmmi
...
@@ -129,9 +119,6 @@ recipe = slapos.recipe.cmmi
path = ${gcc-source:location}
path = ${gcc-source:location}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
md5sum = bb3265edf0fa7543e50cedb93e04e427
md5sum = bb3265edf0fa7543e50cedb93e04e427
patches =
${gcc-multiarch.patch:location}/${gcc-multiarch.patch:filename}
patch-options = -p2
configure-command = make clean \\; make distclean \\; ./configure
configure-command = make clean \\; make distclean \\; ./configure
configure-options =
configure-options =
--disable-bootstrap
--disable-bootstrap
...
@@ -142,12 +129,14 @@ configure-options =
...
@@ -142,12 +129,14 @@ configure-options =
--with-mpc=${mpc:location}
--with-mpc=${mpc:location}
--with-ppl=${ppl:location}
--with-ppl=${ppl:location}
--with-cloog=${cloog-ppl:location}
--with-cloog=${cloog-ppl:location}
--enable-cloog-backend=isl
--prefix=${buildout:parts-directory}/${:_buildout_section_name_}
--prefix=${buildout:parts-directory}/${:_buildout_section_name_}
environment =
environment =
LDFLAGS=-Wl,-rpath=${mpfr:location}/lib -Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${ppl:location}/lib -Wl,-rpath=${cloog-ppl:location}/lib
LDFLAGS=-Wl,-rpath=${mpfr:location}/lib -Wl,-rpath=${gmp:location}/lib -Wl,-rpath=${mpc:location}/lib -Wl,-rpath=${ppl:location}/lib -Wl,-rpath=${cloog-ppl:location}/lib
# make install does not work when several core are used
# make install does not work when several core are used
make-targets = install -j1
make-targets = install -j1
[gcc-interconnection-workaround]
[gcc-interconnection-workaround]
# gcc parts are interconnected, so buildout is not capable to clean them up
# gcc parts are interconnected, so buildout is not capable to clean them up
# until gcc will be simplified by using more robust build recipe (like
# until gcc will be simplified by using more robust build recipe (like
...
...
component/gcc/software.cfg
0 → 100644
View file @
91ea1d4d
[buildout]
extends =
../../stack/slapos.cfg
../../component/gcc/buildout.cfg
parts =
eggs
gcc-fortran
[eggs]
recipe = zc.recipe.egg
eggs =
${lxml-python:egg}
slapos.cookbook
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