Skip to content

Commit

Permalink
Add gcc 4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Jul 21, 2014
1 parent 1f37ecf commit 0a36bf9
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
10 changes: 10 additions & 0 deletions gcc-4.9/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
./configure \
--prefix=$PREFIX \
--with-gmp=$PREFIX \
--with-mpfr=$PREFIX \
--with-mpc=$PREFIX \
--with-isl=$PREFIX \
--with-cloog=$PREFIX

make
make install
28 changes: 28 additions & 0 deletions gcc-4.9/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package:
name: gcc
version: 4.9.1

source:
fn: gcc-4.9.1.tar.bz2
url: http://www.netgull.com/gcc/releases/gcc-4.9.1/gcc-4.9.1.tar.bz2
md5: fddf71348546af523353bd43d34919c1

requirements:
build:
# These are taken from the output of the configure scripts
- gmp >=4.3.2
- mpfr >=2.4.2
- mpc >=0.8.1
- isl 0.12.2
- cloog 0.18.1
run:
- gmp >=4.3.2
- mpfr >=2.4.2
- mpc >=0.8.1
- isl 0.12.2
- cloog 0.18.1

about:
home: http://gcc.gnu.org/
summary: The GNU Compiler Collection
license: GPL
6 changes: 6 additions & 0 deletions gcc-4.9/notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This requires a newish gcc to build. gcc 4.7 will work.

We do not require gcc as a build dependency because we want to make sure that
conda build finds all the files installed for this gcc when creating the
package. So you will need to make sure that the gcc is on the PATH
independently.

0 comments on commit 0a36bf9

Please sign in to comment.