diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-14 12:22:53 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-14 12:22:53 +0000 |
commit | 0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5 (patch) | |
tree | da8498e1eab2464b06117337cb0b7c87322e6ed1 /chunks/gcc.morph | |
parent | 10dda889872542b8f261555c139791ff34eec9b1 (diff) | |
download | definitions-0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5.tar.gz |
Add chunk morphologies to definitions repositorybaserock/adamcoldrick/chunks-in-definitions-by-kind
Diffstat (limited to 'chunks/gcc.morph')
-rw-r--r-- | chunks/gcc.morph | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/chunks/gcc.morph b/chunks/gcc.morph new file mode 100644 index 00000000..10320ad4 --- /dev/null +++ b/chunks/gcc.morph @@ -0,0 +1,30 @@ +name: gcc +kind: chunk +repo: upstream:gcc-tarball +ref: 088b7ab28fe53b198ec5c4eaba0f54176c4c35a0 +configure-commands: +- mkdir o +- | + cd o && \ + ../configure \ + $(../morph-arch-config) \ + --prefix="$PREFIX" \ + `# [1]` --libdir=$PREFIX/lib \ + --disable-nls \ + --enable-languages=c,c++,fortran \ + --enable-shared --enable-threads=posix \ + `# [2]` --disable-multilib \ + `# [3]` --disable-libgomp --without-cloog --without-ppl \ + `# [4]` --enable-__cxa_atexit \ + `# [5]` --with-mpfr-include="$(pwd)/../mpfr/src" \ + --with-mpfr-lib="$(pwd)/mpfr/src/.libs" \ + `# [6]` --with-system-zlib +build-commands: +- cd o && make +install-commands: +- cd o && make DESTDIR="$DESTDIR" install +- ln -s gcc "$DESTDIR/$PREFIX/bin/cc" +- | + for fortran_alias in f77 f90 f95; do + ln -s gfortran "$DESTDIR/$PREFIX/bin/$fortran_alias" + done |