File tree 4 files changed +17
-16
lines changed
aarch64-unknown-linux-musl
arm-unknown-linux-musleabihf
x86_64-unknown-linux-musl
4 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ RUN curl https://www.musl-libc.org/releases/musl-1.1.19.tar.gz | \
10
10
./configure --prefix=/musl-aarch64 --enable-wrapper=yes && \
11
11
make install -j4 && \
12
12
cd .. && \
13
- rm -rf musl-1.1.19 && \
13
+ rm -rf musl-1.1.19
14
14
# Install linux kernel headers sanitized for use with musl
15
- curl -L https://github.com/sabotage-linux /kernel-headers/archive/v3.12.6-5 .tar.gz | \
15
+ RUN curl -L https://github.com/bachp /kernel-headers/archive/v3.12.6-6 .tar.gz | \
16
16
tar xzf - && \
17
- cd kernel-headers-3.12.6-5 && \
17
+ cd kernel-headers-3.12.6-6 && \
18
18
make ARCH=arm64 prefix=/musl-aarch64 install -j4 && \
19
19
cd .. && \
20
- rm -rf kernel-headers-3.12.6-5
20
+ rm -rf kernel-headers-3.12.6-6
21
21
22
22
# FIXME: shouldn't need the `-lgcc` here, shouldn't that be in libstd?
23
23
ENV PATH=$PATH:/musl-aarch64/bin:/rust/bin \
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ RUN CC=arm-linux-gnueabihf-gcc \
12
12
RUN make install -j4
13
13
14
14
# Install linux kernel headers sanitized for use with musl
15
- RUN \
16
- curl -L https://github.com/sabotage-linux/kernel-headers/archive/v3.12.6-5.tar.gz | \
15
+ RUN curl -L https://github.com/bachp/kernel-headers/archive/v3.12.6-6.tar.gz | \
17
16
tar xzf - && \
18
- cd kernel-headers-3.12.6-5 && \
17
+ cd kernel-headers-3.12.6-6 && \
19
18
make ARCH=arm prefix=/musl-arm install -j4 && \
20
19
cd .. && \
21
- rm -rf kernel-headers-3.12.6-5
20
+ rm -rf kernel-headers-3.12.6-6
21
+
22
22
ENV PATH=$PATH:/musl-arm/bin:/rust/bin \
23
23
CC_arm_unknown_linux_musleabihf=musl-gcc \
24
24
CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_LINKER=musl-gcc \
Original file line number Diff line number Diff line change @@ -18,13 +18,14 @@ RUN curl https://www.musl-libc.org/releases/musl-1.1.19.tar.gz | \
18
18
CC=gcc CFLAGS=-m32 ./configure --prefix=/musl-i686 --disable-shared --target=i686 && \
19
19
make CROSS_COMPILE= install -j4 && \
20
20
cd .. && \
21
- rm -rf musl-1.1.19 && \
21
+ rm -rf musl-1.1.19
22
22
# Install linux kernel headers sanitized for use with musl
23
- curl -L https://github.com/sabotage-linux /kernel-headers/archive/v3.12.6-5 .tar.gz | \
23
+ RUN curl -L https://github.com/bachp /kernel-headers/archive/v3.12.6-6 .tar.gz | \
24
24
tar xzf - && \
25
- cd kernel-headers-3.12.6-5 && \
25
+ cd kernel-headers-3.12.6-6 && \
26
26
make ARCH=i386 prefix=/musl-i686 install -j4 && \
27
27
cd .. && \
28
- rm -rf kernel-headers-3.12.6-5
28
+ rm -rf kernel-headers-3.12.6-6
29
+
29
30
ENV PATH=$PATH:/musl-i686/bin:/rust/bin \
30
31
CC_i686_unknown_linux_musl=musl-gcc
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ RUN curl https://www.musl-libc.org/releases/musl-1.1.19.tar.gz | \
9
9
./configure --prefix=/musl-x86_64 && \
10
10
make install -j4 && \
11
11
cd .. && \
12
- rm -rf musl-1.1.19 && \
12
+ rm -rf musl-1.1.19
13
13
# Install linux kernel headers sanitized for use with musl
14
- curl -L https://github.com/sabotage-linux /kernel-headers/archive/v3.12.6-5 .tar.gz | \
14
+ RUN curl -L https://github.com/bachp /kernel-headers/archive/v3.12.6-6 .tar.gz | \
15
15
tar xzf - && \
16
- cd kernel-headers-3.12.6-5 && \
16
+ cd kernel-headers-3.12.6-6 && \
17
17
make ARCH=x86_64 prefix=/musl-x86_64 install -j4 && \
18
18
cd .. && \
19
- rm -rf kernel-headers-3.12.6-5
19
+ rm -rf kernel-headers-3.12.6-6
20
20
ENV PATH=$PATH:/musl-x86_64/bin:/rust/bin
You can’t perform that action at this time.
0 commit comments