Skip to content

Commit 39b9d07

Browse files
committed
fix: use ISL package
Signed-off-by: Martin Kröning <[email protected]>
1 parent ee1311d commit 39b9d07

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RUN set -eux; \
88
git \
99
flex \
1010
libgmp-dev \
11+
libisl-dev \
1112
libmpc-dev \
1213
libmpfr-dev \
1314
texinfo \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ The build process works currently only on **x86-based Linux** systems. The follo
88

99
* Netwide Assembler (NASM)
1010
* GNU Make, GNU Binutils, cmake
11-
* Tools and libraries to build *linux*, *binutils* and *gcc* (e.g. flex, bison, MPFR library, GMP library, MPC library)
11+
* Tools and libraries to build *linux*, *binutils* and *gcc* (e.g. flex, bison, MPFR library, ISL library, GMP library, MPC library)
1212
* Rust
1313

1414
On Debian-based systems the packets can be installed by executing:
1515
```
16-
sudo apt-get install cmake nasm libmpfr-dev libmpc-dev libgmp-dev flex bison
16+
sudo apt-get install cmake nasm libmpfr-dev libisl-dev libmpc-dev libgmp-dev flex bison
1717
```
1818

1919
Note: If issues arise during the build, try using requirements.sh to check the versions of the necessary packets and the configuration of the LD_LIBRARY_PATH (it should contain the MPFR library, GMP library and MPC library).

requirements.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/bin/bash
22

3-
if echo "$LD_LIBRARY_PATH" | grep -q libgmp && echo "$LD_LIBRARY_PATH" | grep -q libmpc && echo "$LD_LIBRARY_PATH" | grep -q libmpfr; then
4-
echo "LD_LIBRARY_PATH contains MPFR library, GMP library and MPC library"
3+
if echo "$LD_LIBRARY_PATH" | grep -q libgmp && echo "$LD_LIBRARY_PATH" | grep -q libisl && echo "$LD_LIBRARY_PATH" | grep -q libmpc && echo "$LD_LIBRARY_PATH" | grep -q libmpfr; then
4+
echo "LD_LIBRARY_PATH contains MPFR library, ISL library, GMP library, and MPC library"
55
elif ! echo "$LD_LIBRARY_PATH" | grep -q libgmp; then
66
echo "LD_LIBRARY_PATH missing GMP library"
7+
elif ! echo "$LD_LIBRARY_PATH" | grep -q libisl; then
8+
echo "LD_LIBRARY_PATH missing ISL library"
79
elif ! echo "$LD_LIBRARY_PATH" | grep -q libmpc; then
810
echo "LD_LIBRARY_PATH missing MPC library"
911
elif ! echo "$LD_LIBRARY_PATH" | grep -q libmpfr; then

toolchain.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ fi
3333

3434
if [ ! -d "gcc" ]; then
3535
git clone $CLONE_DEPTH https://github.com/hermit-os/gcc.git
36-
wget ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-0.15.tar.bz2 -O isl-0.15.tar.bz2
37-
tar jxf isl-0.15.tar.bz2
38-
mv isl-0.15 gcc/isl
3936
fi
4037

4138
if [ ! -d "hermit" ]; then

0 commit comments

Comments
 (0)