Skip to content

Commit

Permalink
More testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
mithro committed Sep 9, 2015
1 parent 219f00d commit 1a867a2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 5 deletions.
18 changes: 17 additions & 1 deletion conda/gcc-lm32-linux/build.sh
@@ -1,6 +1,22 @@
#!/bin/bash

set -x
set -e

rm -rf libstdc++-v3
mkdir build
cd build
../configure --prefix=$PREFIX --target=lm32-elf --enable-languages="c,c++" --disable-libgcc --disable-libssp
../configure \
--prefix=$PREFIX \
--with-gmp=$PREFIX \
--with-mpfr=$PREFIX \
--with-mpc=$PREFIX \
--with-isl=$PREFIX \
--with-cloog=$PREFIX \
--target=lm32-elf \
--enable-languages="c,c++" \
--disable-libgcc \
--disable-libssp

make -j$CPU_COUNT
make install
18 changes: 14 additions & 4 deletions conda/gcc-lm32-linux/meta.yaml
Expand Up @@ -12,10 +12,20 @@ build:

requirements:
build:
- system # [not win]
- gmp
- mpc
- mpfr
# These are taken from the output of the configure scripts
- binutils-lm32-linux
- gmp >=4.3.2
- mpfr >=2.4.2
- mpc >=0.8.1
- isl 0.12.2
- cloog
run:
- binutils-lm32-linux
- gmp >=4.3.2
- mpfr >=2.4.2
- mpc >=0.8.1
- isl 0.12.2
- cloog

about:
home: https://gcc.gnu.org/
Expand Down

0 comments on commit 1a867a2

Please sign in to comment.