-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andrew Rynhard <[email protected]>
- Loading branch information
1 parent
df98a75
commit 7de4db2
Showing
53 changed files
with
1,423 additions
and
1,408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
name: argp-standalone | ||
install: | ||
- patch | ||
- patch | ||
dependencies: | ||
- image: docker.io/autonomy/toolchain:d1f6110 | ||
- stage: make | ||
- image: docker.io/autonomy/toolchain:0714f82 | ||
- stage: make | ||
steps: | ||
- sources: | ||
- url: http://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz | ||
destination: argp-standalone.tar.gz | ||
sha256: dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be | ||
sha512: 58c3feb8852b90248fff39e49b5019bd0dcf646790c3eaf70c3262eb81dda31a61dc0a45963c7b4a010e80fc14b37288dcb3b3ef48d02f2d33dd72c1c62e62d9 | ||
prepare: | ||
- | | ||
tar -xzvf argp-standalone.tar.gz --strip-components=1 | ||
- sources: | ||
- url: http://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz | ||
destination: argp-standalone.tar.gz | ||
sha256: dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be | ||
sha512: 58c3feb8852b90248fff39e49b5019bd0dcf646790c3eaf70c3262eb81dda31a61dc0a45963c7b4a010e80fc14b37288dcb3b3ef48d02f2d33dd72c1c62e62d9 | ||
prepare: | ||
- | | ||
tar -xzvf argp-standalone.tar.gz --strip-components=1 | ||
patch -p0 </pkg/patches/argp-standalone-1.3-musl-fix-inline.patch | ||
patch -p0 </pkg/patches/argp-standalone-1.3-musl-fix-inline.patch | ||
# We don't use a build directory because compiling fails with | ||
#14 5.809 ../../testsuite/ex1.c:8:10: fatal error: argp.h: No such file or directory | ||
#14 5.809 #include <argp.h> | ||
#14 5.809 ^~~~~~~~ | ||
#14 5.809 ../../testsuite/ex3.c:55:10: fatal error: argp.h: No such file or directory | ||
#14 5.809 #include <argp.h> | ||
# We don't use a build directory because compiling fails with | ||
#14 5.809 ../../testsuite/ex1.c:8:10: fatal error: argp.h: No such file or directory | ||
#14 5.809 #include <argp.h> | ||
#14 5.809 ^~~~~~~~ | ||
#14 5.809 ../../testsuite/ex3.c:55:10: fatal error: argp.h: No such file or directory | ||
#14 5.809 #include <argp.h> | ||
./configure \ | ||
--prefix=${TOOLCHAIN} \ | ||
--disable-static | ||
build: | ||
- | | ||
make -j $(nproc) | ||
install: | ||
- | | ||
mkdir -p /rootfs${TOOLCHAIN}/lib | ||
mkdir -p /rootfs${TOOLCHAIN}/include | ||
cp -v libargp.a /rootfs${TOOLCHAIN}/lib | ||
cp -v argp.h /rootfs${TOOLCHAIN}/include | ||
./configure \ | ||
--prefix=${TOOLCHAIN} \ | ||
--disable-static | ||
build: | ||
- | | ||
make -j $(nproc) | ||
install: | ||
- | | ||
mkdir -p /rootfs${TOOLCHAIN}/lib | ||
mkdir -p /rootfs${TOOLCHAIN}/include | ||
cp -v libargp.a /rootfs${TOOLCHAIN}/lib | ||
cp -v argp.h /rootfs${TOOLCHAIN}/include | ||
finalize: | ||
- from: /rootfs | ||
to: / | ||
- from: /rootfs | ||
to: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
name: autoconf | ||
install: | ||
- perl | ||
- m4 | ||
- perl | ||
- m4 | ||
dependencies: | ||
- image: docker.io/autonomy/toolchain:d1f6110 | ||
- stage: make | ||
- image: docker.io/autonomy/toolchain:0714f82 | ||
- stage: make | ||
steps: | ||
- sources: | ||
- url: https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz | ||
destination: autoconf.tar.xz | ||
sha256: 64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684 | ||
sha512: 995d3e5a8eb1eb37e2b7fae53c6ec7a9b4df997286b7d643344818f94636756b1bf5ff5ea9155e755cb9461149a853dfbf2886fc6bd7132e5afa9c168e306e9b | ||
prepare: | ||
- | | ||
tar -xJvf autoconf.tar.xz --strip-components=1 | ||
mkdir build | ||
cd build | ||
- sources: | ||
- url: https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz | ||
destination: autoconf.tar.xz | ||
sha256: 64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684 | ||
sha512: 995d3e5a8eb1eb37e2b7fae53c6ec7a9b4df997286b7d643344818f94636756b1bf5ff5ea9155e755cb9461149a853dfbf2886fc6bd7132e5afa9c168e306e9b | ||
prepare: | ||
- | | ||
tar -xJvf autoconf.tar.xz --strip-components=1 | ||
mkdir build | ||
cd build | ||
../configure \ | ||
--prefix=${TOOLCHAIN} | ||
build: | ||
- | | ||
cd build | ||
make -j $(nproc) | ||
install: | ||
- | | ||
cd build | ||
make DESTDIR=/rootfs install | ||
../configure \ | ||
--prefix=${TOOLCHAIN} | ||
build: | ||
- | | ||
cd build | ||
make -j $(nproc) | ||
install: | ||
- | | ||
cd build | ||
make DESTDIR=/rootfs install | ||
finalize: | ||
- from: /rootfs | ||
to: / | ||
- from: /rootfs | ||
to: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
name: automake | ||
install: | ||
- perl | ||
- autoconf | ||
- perl | ||
- autoconf | ||
dependencies: | ||
- image: docker.io/autonomy/toolchain:d1f6110 | ||
- stage: make | ||
- image: docker.io/autonomy/toolchain:0714f82 | ||
- stage: make | ||
steps: | ||
- sources: | ||
- url: https://ftp.gnu.org/gnu/automake/automake-1.16.1.tar.xz | ||
destination: automake.tar.xz | ||
sha256: 5d05bb38a23fd3312b10aea93840feec685bdf4a41146e78882848165d3ae921 | ||
sha512: 4013bd31f4903b10875caa7d6ac16a14623a4eb91aa758924dee5b990e234fb50848d131e2dbdbbbc32f89c41a14f9c52a0064c37aa6760c524d607b354b13c3 | ||
prepare: | ||
- | | ||
tar -xJf automake.tar.xz --strip-components=1 | ||
mkdir build | ||
cd build | ||
- sources: | ||
- url: https://ftp.gnu.org/gnu/automake/automake-1.16.1.tar.xz | ||
destination: automake.tar.xz | ||
sha256: 5d05bb38a23fd3312b10aea93840feec685bdf4a41146e78882848165d3ae921 | ||
sha512: 4013bd31f4903b10875caa7d6ac16a14623a4eb91aa758924dee5b990e234fb50848d131e2dbdbbbc32f89c41a14f9c52a0064c37aa6760c524d607b354b13c3 | ||
prepare: | ||
- | | ||
tar -xJf automake.tar.xz --strip-components=1 | ||
mkdir build | ||
cd build | ||
../configure \ | ||
--prefix=${TOOLCHAIN} | ||
build: | ||
- | | ||
cd build | ||
make -j $(nproc) | ||
install: | ||
- | | ||
cd build | ||
make DESTDIR=/rootfs install | ||
../configure \ | ||
--prefix=${TOOLCHAIN} | ||
build: | ||
- | | ||
cd build | ||
make -j $(nproc) | ||
install: | ||
- | | ||
cd build | ||
make DESTDIR=/rootfs install | ||
finalize: | ||
- from: /rootfs | ||
- to: / | ||
- from: /rootfs | ||
- to: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
name: bash | ||
dependencies: | ||
- image: docker.io/autonomy/toolchain:d1f6110 | ||
- stage: make | ||
- image: docker.io/autonomy/toolchain:0714f82 | ||
- stage: make | ||
steps: | ||
- sources: | ||
- url: https://ftp.gnu.org/gnu/bash/bash-4.4.18.tar.gz | ||
destination: bash.tar.gz | ||
sha256: 604d9eec5e4ed5fd2180ee44dd756ddca92e0b6aa4217bbab2b6227380317f23 | ||
sha512: bd3048338aded9dee31651011aaa46bc8fba83a27fa063e3d47bcbe85ebbd86816d9080d1a658cfbd1736a2c80e98fdb659019c192d332472b00aa305e0285b0 | ||
prepare: | ||
- | | ||
tar -xzf bash.tar.gz --strip-components=1 | ||
mkdir build | ||
cd build | ||
- sources: | ||
- url: https://ftp.gnu.org/gnu/bash/bash-4.4.18.tar.gz | ||
destination: bash.tar.gz | ||
sha256: 604d9eec5e4ed5fd2180ee44dd756ddca92e0b6aa4217bbab2b6227380317f23 | ||
sha512: bd3048338aded9dee31651011aaa46bc8fba83a27fa063e3d47bcbe85ebbd86816d9080d1a658cfbd1736a2c80e98fdb659019c192d332472b00aa305e0285b0 | ||
prepare: | ||
- | | ||
tar -xzf bash.tar.gz --strip-components=1 | ||
mkdir build | ||
cd build | ||
../configure \ | ||
--prefix=${TOOLCHAIN} \ | ||
--without-bash-malloc | ||
build: | ||
- | | ||
cd build | ||
make -j $(nproc) | ||
install: | ||
- | | ||
cd build | ||
make DESTDIR=/rootfs install | ||
../configure \ | ||
--prefix=${TOOLCHAIN} \ | ||
--without-bash-malloc | ||
build: | ||
- | | ||
cd build | ||
make -j $(nproc) | ||
install: | ||
- | | ||
cd build | ||
make DESTDIR=/rootfs install | ||
finalize: | ||
- from: /rootfs | ||
to: / | ||
- from: /rootfs | ||
to: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
name: bc | ||
install: | ||
- texinfo | ||
- texinfo | ||
dependencies: | ||
- image: docker.io/autonomy/toolchain:d1f6110 | ||
- stage: make | ||
- image: docker.io/autonomy/toolchain:0714f82 | ||
- stage: make | ||
steps: | ||
- sources: | ||
- url: https://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz | ||
destination: bc.tar.gz | ||
sha256: 62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a | ||
sha512: 02126d0db6b6ed06d56cfc292d6f5475ff1e574779d7e69c7809bbb1e13f946f57ea07da2a7666baa092507a951a822044b0970075f75eefe65a5c1999b75d34 | ||
prepare: | ||
- | | ||
tar -xzf bc.tar.gz --strip-components=1 | ||
- sources: | ||
- url: https://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz | ||
destination: bc.tar.gz | ||
sha256: 62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a | ||
sha512: 02126d0db6b6ed06d56cfc292d6f5475ff1e574779d7e69c7809bbb1e13f946f57ea07da2a7666baa092507a951a822044b0970075f75eefe65a5c1999b75d34 | ||
prepare: | ||
- | | ||
tar -xzf bc.tar.gz --strip-components=1 | ||
cat > bc/fix-libmath_h << "EOF" | ||
#! /bin/bash | ||
sed -e '1 s/^/{"/' \ | ||
-e 's/$/",/' \ | ||
-e '2,$ s/^/"/' \ | ||
-e '$ d' \ | ||
-i libmath.h | ||
cat > bc/fix-libmath_h << "EOF" | ||
#! /bin/bash | ||
sed -e '1 s/^/{"/' \ | ||
-e 's/$/",/' \ | ||
-e '2,$ s/^/"/' \ | ||
-e '$ d' \ | ||
-i libmath.h | ||
sed -e '$ s/$/0}/' \ | ||
-i libmath.h | ||
EOF | ||
sed -e '$ s/$/0}/' \ | ||
-i libmath.h | ||
EOF | ||
sed -i -e '/flex/s/as_fn_error/: ;; # &/' ./configure | ||
sed -i -e '/flex/s/as_fn_error/: ;; # &/' ./configure | ||
mkdir build | ||
cd build | ||
../configure \ | ||
--prefix=${TOOLCHAIN} \ | ||
--with-readline \ | ||
--mandir=${TOOLCHAIN}/share/man \ | ||
--infodir=${TOOLCHAIN}/share/info | ||
build: | ||
- | | ||
cd build | ||
make -j $(nproc) | ||
install: | ||
- | | ||
cd build | ||
make DESTDIR=/rootfs install | ||
mkdir build | ||
cd build | ||
../configure \ | ||
--prefix=${TOOLCHAIN} \ | ||
--with-readline \ | ||
--mandir=${TOOLCHAIN}/share/man \ | ||
--infodir=${TOOLCHAIN}/share/info | ||
build: | ||
- | | ||
cd build | ||
make -j $(nproc) | ||
install: | ||
- | | ||
cd build | ||
make DESTDIR=/rootfs install | ||
finalize: | ||
- from: /rootfs | ||
to: / | ||
- from: /rootfs | ||
to: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
name: bison | ||
install: | ||
- perl | ||
- perl | ||
dependencies: | ||
- image: docker.io/autonomy/toolchain:d1f6110 | ||
- stage: m4 | ||
- stage: make | ||
- image: docker.io/autonomy/toolchain:0714f82 | ||
- stage: m4 | ||
- stage: make | ||
steps: | ||
- sources: | ||
- url: https://ftp.gnu.org/gnu/bison/bison-3.0.5.tar.xz | ||
destination: bison.tar.xz | ||
sha256: 075cef2e814642e30e10e8155e93022e4a91ca38a65aa1d5467d4e969f97f338 | ||
sha512: 00b448db8abe91b07e32ff5273c6617bc1350d806f92073a9472f4c2f0de5d22c152795674171b74f2eb9eff8d36f8173b82dacb215601bb071ae39404d4a8a2 | ||
prepare: | ||
- | | ||
tar -xJf bison.tar.xz --strip-components=1 | ||
mkdir build | ||
cd build | ||
- sources: | ||
- url: https://ftp.gnu.org/gnu/bison/bison-3.0.5.tar.xz | ||
destination: bison.tar.xz | ||
sha256: 075cef2e814642e30e10e8155e93022e4a91ca38a65aa1d5467d4e969f97f338 | ||
sha512: 00b448db8abe91b07e32ff5273c6617bc1350d806f92073a9472f4c2f0de5d22c152795674171b74f2eb9eff8d36f8173b82dacb215601bb071ae39404d4a8a2 | ||
prepare: | ||
- | | ||
tar -xJf bison.tar.xz --strip-components=1 | ||
mkdir build | ||
cd build | ||
../configure \ | ||
--prefix=${TOOLCHAIN} \ | ||
FORCE_UNSAFE_CONFIGURE=1 | ||
build: | ||
- | | ||
cd build | ||
make -j $(nproc) | ||
install: | ||
- | | ||
cd build | ||
make DESTDIR=/rootfs install | ||
../configure \ | ||
--prefix=${TOOLCHAIN} \ | ||
FORCE_UNSAFE_CONFIGURE=1 | ||
build: | ||
- | | ||
cd build | ||
make -j $(nproc) | ||
install: | ||
- | | ||
cd build | ||
make DESTDIR=/rootfs install | ||
finalize: | ||
- from: /rootfs | ||
to: / | ||
- from: /rootfs | ||
to: / |
Oops, something went wrong.