File tree 3 files changed +10
-10
lines changed
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 52
52
CFLAGS_x86_64_fortanix_unknown_sgx="-D__ELF__ -isystem/usr/include/x86_64-linux-gnu -mlvi-hardening -mllvm -x86-experimental-lvi-inline-asm-hardening" \
53
53
CXX_x86_64_fortanix_unknown_sgx=clang++-11 \
54
54
CXXFLAGS_x86_64_fortanix_unknown_sgx="-D__ELF__ -isystem/usr/include/x86_64-linux-gnu -mlvi-hardening -mllvm -x86-experimental-lvi-inline-asm-hardening" \
55
- AR_i686_unknown_freebsd=i686-unknown-freebsd11 -ar \
56
- CC_i686_unknown_freebsd=i686-unknown-freebsd11 -clang \
57
- CXX_i686_unknown_freebsd=i686-unknown-freebsd11 -clang++ \
55
+ AR_i686_unknown_freebsd=i686-unknown-freebsd12 -ar \
56
+ CC_i686_unknown_freebsd=i686-unknown-freebsd12 -clang \
57
+ CXX_i686_unknown_freebsd=i686-unknown-freebsd12 -clang++ \
58
58
CC=gcc-8 \
59
59
CXX=g++-8
60
60
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ COPY scripts/cmake.sh /scripts/
27
27
RUN /scripts/cmake.sh
28
28
29
29
ENV \
30
- AR_x86_64_unknown_freebsd=x86_64-unknown-freebsd11 -ar \
31
- CC_x86_64_unknown_freebsd=x86_64-unknown-freebsd11 -clang \
32
- CXX_x86_64_unknown_freebsd=x86_64-unknown-freebsd11 -clang++
30
+ AR_x86_64_unknown_freebsd=x86_64-unknown-freebsd12 -ar \
31
+ CC_x86_64_unknown_freebsd=x86_64-unknown-freebsd12 -clang \
32
+ CXX_x86_64_unknown_freebsd=x86_64-unknown-freebsd12 -clang++
33
33
34
34
ENV HOSTS=x86_64-unknown-freebsd
35
35
Original file line number Diff line number Diff line change 5
5
6
6
arch=$1
7
7
binutils_version=2.25.1
8
- freebsd_version=11.4
9
- triple=$arch -unknown-freebsd11
8
+ freebsd_version=12.3
9
+ triple=$arch -unknown-freebsd12
10
10
sysroot=/usr/local/$triple
11
11
12
12
hide_output () {
59
59
60
60
# Originally downloaded from:
61
61
# URL=https://download.freebsd.org/ftp/releases/${freebsd_arch}/${freebsd_version}-RELEASE/base.txz
62
- URL=https://ci-mirrors.rust-lang.org/rustc/2020-08-09 -freebsd-${freebsd_arch } -${freebsd_version} -RELEASE -base.txz
62
+ URL=https://ci-mirrors.rust-lang.org/rustc/2022-05-06 -freebsd-${freebsd_version } -${freebsd_arch} -base.txz
63
63
curl " $URL " | tar xJf - -C " $sysroot " --wildcards " ${files_to_extract[@]} "
64
64
65
65
# Clang can do cross-builds out of the box, if we give it the right
@@ -68,7 +68,7 @@ curl "$URL" | tar xJf - -C "$sysroot" --wildcards "${files_to_extract[@]}"
68
68
# there might be other problems.)
69
69
#
70
70
# The --target option is last because the cross-build of LLVM uses
71
- # --target without an OS version ("-freebsd" vs. "-freebsd11 "). This
71
+ # --target without an OS version ("-freebsd" vs. "-freebsd12 "). This
72
72
# makes Clang default to libstdc++ (which no longer exists), and also
73
73
# controls other features, like GNU-style symbol table hashing and
74
74
# anything predicated on the version number in the __FreeBSD__
You can’t perform that action at this time.
0 commit comments