File tree Expand file tree Collapse file tree 4 files changed +21
-14
lines changed Expand file tree Collapse file tree 4 files changed +21
-14
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,9 @@ We achieve bootstrappability by using Guix as a functional package manager.
13
13
14
14
Conservatively, a x86_64 machine with:
15
15
16
- - 4GB of free disk space on the partition that /gnu/store will reside in
17
- - 24GB of free disk space on the partition that the Bitcoin Core git repository
18
- resides in
19
-
20
- > Note: these requirements are slightly less onerous than those of Gitian builds
16
+ - 16GB of free disk space on the partition that /gnu/store will reside in
17
+ - 8GB of free disk space per platform triple you're planning on building (see
18
+ the ` HOSTS ` environment variable description)
21
19
22
20
## Setup
23
21
Original file line number Diff line number Diff line change 69
69
# ###############
70
70
71
71
# Default to building for all supported HOSTs (overridable by environment)
72
- export HOSTS=" ${HOSTS:- x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu riscv64-linux-gnu
72
+ export HOSTS=" ${HOSTS:- x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu riscv64-linux-gnu powerpc64-linux-gnu powerpc64le-linux-gnu
73
73
x86_64-w64-mingw32
74
74
x86_64-apple-darwin18} "
75
75
@@ -148,7 +148,7 @@ SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(git log --format=%at -1)}"
148
148
time-machine () {
149
149
# shellcheck disable=SC2086
150
150
guix time-machine --url=https://github.com/dongcarl/guix.git \
151
- --commit=7d6bd44da57926e0d4af25eba723a61c82beef98 \
151
+ --commit=6c9d16db962a6f7155571b36eced681fd2889e23 \
152
152
--max-jobs=" $MAX_JOBS " \
153
153
--keep-failed \
154
154
${SUBSTITUTE_URLS: +--substitute-urls=" $SUBSTITUTE_URLS " } \
Original file line number Diff line number Diff line change @@ -136,12 +136,14 @@ case "$HOST" in
136
136
* linux* )
137
137
glibc_dynamic_linker=$(
138
138
case " $HOST " in
139
- i686-linux-gnu) echo /lib/ld-linux.so.2 ;;
140
- x86_64-linux-gnu) echo /lib64/ld-linux-x86-64.so.2 ;;
141
- arm-linux-gnueabihf) echo /lib/ld-linux-armhf.so.3 ;;
142
- aarch64-linux-gnu) echo /lib/ld-linux-aarch64.so.1 ;;
143
- riscv64-linux-gnu) echo /lib/ld-linux-riscv64-lp64d.so.1 ;;
144
- * ) exit 1 ;;
139
+ i686-linux-gnu) echo /lib/ld-linux.so.2 ;;
140
+ x86_64-linux-gnu) echo /lib64/ld-linux-x86-64.so.2 ;;
141
+ arm-linux-gnueabihf) echo /lib/ld-linux-armhf.so.3 ;;
142
+ aarch64-linux-gnu) echo /lib/ld-linux-aarch64.so.1 ;;
143
+ riscv64-linux-gnu) echo /lib/ld-linux-riscv64-lp64d.so.1 ;;
144
+ powerpc64-linux-gnu) echo /lib/ld64.so.1;;
145
+ powerpc64le-linux-gnu) echo /lib/ld64.so.2;;
146
+ * ) exit 1 ;;
145
147
esac
146
148
)
147
149
;;
@@ -231,6 +233,10 @@ case "$HOST" in
231
233
* mingw* ) HOST_LDFLAGS=" -Wl,--no-insert-timestamp" ;;
232
234
esac
233
235
236
+ case " $HOST " in
237
+ powerpc64-linux-* ) HOST_LDFLAGS=" ${HOST_LDFLAGS} -Wl,-z,noexecstack" ;;
238
+ esac
239
+
234
240
# Make $HOST-specific native binaries from depends available in $PATH
235
241
export PATH=" ${BASEPREFIX} /${HOST} /native/bin:${PATH} "
236
242
mkdir -p " $DISTSRC "
Original file line number Diff line number Diff line change @@ -233,7 +233,10 @@ chain for " target " development."))
233
233
(make-mingw-pthreads-cross-toolchain " x86_64-w64-mingw32" )
234
234
(make-nsis-with-sde-support nsis-x86_64)))
235
235
((string-contains target " riscv64-linux-" )
236
- (list (make-bitcoin-cross-toolchain " riscv64-linux-gnu"
236
+ (list (make-bitcoin-cross-toolchain target
237
+ #:base-gcc-for-libc gcc-7)))
238
+ ((string-contains target " powerpc64le-linux-" )
239
+ (list (make-bitcoin-cross-toolchain target
237
240
#:base-gcc-for-libc gcc-7)))
238
241
((string-contains target " -linux-" )
239
242
(list (make-bitcoin-cross-toolchain target)))
You can’t perform that action at this time.
0 commit comments