Skip to content

Commit 34a7d45

Browse files
committed
vendor-boringssl: Add armv7 build
1 parent b344801 commit 34a7d45

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/vendor-boringssl.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,14 @@ function mangle_symbols {
105105
swift build --product CCryptoBoringSSL
106106
docker run -t -i --rm --privileged -v$(pwd):/src -w/src --platform linux/amd64 swift:5.8-jammy \
107107
swift build --product CCryptoBoringSSL
108+
docker run -t -i --rm --privileged -v$(pwd):/src -w/src --platform linux/amd64 orobio/swift-armv7-cross-bullseye:5.10 \
109+
swift build --product CCryptoBoringSSL --destination /opt/swift-armv7-sysroot.json
108110

109111
# Now we need to generate symbol mangles for Linux. We can do this in
110112
# one go for all of them.
111113
(
112114
cd "${SRCROOT}"
113-
go run "util/read_symbols.go" -obj-file-format elf -out "${TMPDIR}/symbols-linux-all.txt" "${HERE}"/.build/*-unknown-linux-gnu/debug/libCCryptoBoringSSL.a
115+
go run "util/read_symbols.go" -obj-file-format elf -out "${TMPDIR}/symbols-linux-all.txt" "${HERE}"/.build/*-unknown-linux-gnu*/debug/libCCryptoBoringSSL.a
114116
)
115117

116118
# Now we concatenate all the symbols together and uniquify it.

0 commit comments

Comments
 (0)