Skip to content

Commit

Permalink
merge bitcoin#28328: update time-machine
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Nov 6, 2024
1 parent ef9c4bd commit 0ac2531
Show file tree
Hide file tree
Showing 6 changed files with 263 additions and 118 deletions.
3 changes: 2 additions & 1 deletion contrib/guix/libexec/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ BASEPREFIX="${PWD}/depends"
store_path() {
grep --extended-regexp "/[^-]{32}-${1}-[^-]+${2:+-${2}}" "${GUIX_ENVIRONMENT}/manifest" \
| head --lines=1 \
| sed --expression='s|^[[:space:]]*"||' \
| sed --expression='s|\x29*$||' \
--expression='s|^[[:space:]]*"||' \
--expression='s|"[[:space:]]*$||'
}

Expand Down
2 changes: 1 addition & 1 deletion contrib/guix/libexec/prelude.bash
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fi
time-machine() {
# shellcheck disable=SC2086
guix time-machine --url=https://git.savannah.gnu.org/git/guix.git \
--commit=998eda3067c7d21e0d9bb3310d2f5a14b8f1c681 \
--commit=160f78a4d92205df986ed9efcce7d3aac188cb24 \
--cores="$JOBS" \
--keep-failed \
--fallback \
Expand Down
31 changes: 15 additions & 16 deletions contrib/guix/manifest.scm
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ FILE-NAME found in ./patches relative to the current file."
;; 2. Build cross-compiled kernel headers with XGCC-SANS-LIBC, derived
;; from BASE-KERNEL-HEADERS
(xkernel (cross-kernel-headers target
base-kernel-headers
xgcc-sans-libc
xbinutils))
#:linux-headers base-kernel-headers
#:xgcc xgcc-sans-libc
#:xbinutils xbinutils))
;; 3. Build a cross-compiled libc with XGCC-SANS-LIBC and XKERNEL,
;; derived from BASE-LIBC
(xlibc (cross-libc target
base-libc
xgcc-sans-libc
xbinutils
xkernel))
#:libc base-libc
#:xgcc xgcc-sans-libc
#:xbinutils xbinutils
#:xheaders xkernel))
;; 4. Build a cross-compiling gcc targeting XLIBC, derived from
;; BASE-GCC
(xgcc (cross-gcc target
Expand Down Expand Up @@ -114,8 +114,7 @@ desirable for building Dash Core release binaries."
(define (gcc-mingw-patches gcc)
(package-with-extra-patches gcc
(search-our-patches "gcc-remap-guix-store.patch"
"vmov-alignment.patch"
"gcc-broken-longjmp.patch")))
"vmov-alignment.patch")))

(define (make-mingw-pthreads-cross-toolchain target)
"Create a cross-compilation toolchain package for TARGET"
Expand Down Expand Up @@ -146,8 +145,7 @@ chain for " target " development."))

(define (make-nsis-for-gcc-10 base-nsis)
(package-with-extra-patches base-nsis
(search-our-patches "nsis-gcc-10-memmove.patch"
"nsis-disable-installer-reloc.patch")))
(search-our-patches "nsis-gcc-10-memmove.patch")))

;; While LIEF is packaged in Guix, we maintain our own package,
;; to simplify building, and more easily apply updates.
Expand Down Expand Up @@ -247,7 +245,7 @@ thus should be able to compile on most platforms where these exist.")
(define-public python-oscrypto
(package
(name "python-oscrypto")
(version "1.2.1")
(version "1.3.0")
(source
(origin
(method git-fetch)
Expand All @@ -257,7 +255,7 @@ thus should be able to compile on most platforms where these exist.")
(file-name (git-file-name name version))
(sha256
(base32
"1d4d8s4z340qhvb3g5m5v3436y3a71yc26wk4749q64m09kxqc3l"))
"1v5wkmzcyiqy39db8j2dvkdrv2nlsc48556h73x4dzjwd6kg4q0a"))
(patches (search-our-patches "oscrypto-hard-code-openssl.patch"))))
(build-system python-build-system)
(native-search-paths
Expand Down Expand Up @@ -542,7 +540,8 @@ inspecting signatures in Mach-O binaries.")
"0wm0if2n4z48kpn85va6yb4iac34crds2f55ddpz1hykx6jp1pb6"))
(patches (search-our-patches "glibc-2.27-fcommon.patch"
"glibc-2.27-guix-prefix.patch"
"glibc-2.27-no-librt.patch"))))
"glibc-2.27-no-librt.patch"
"glibc-2.27-powerpc-ldbrx.patch"))))
(arguments
(substitute-keyword-arguments (package-arguments glibc)
((#:configure-flags flags)
Expand Down Expand Up @@ -590,7 +589,7 @@ inspecting signatures in Mach-O binaries.")
;; Build tools
cmake-minimal
gnu-make
libtool-2.4.7
libtool
autoconf-2.71
automake
pkg-config
Expand All @@ -599,7 +598,7 @@ inspecting signatures in Mach-O binaries.")
gcc-toolchain-10
(list gcc-toolchain-10 "static")
;; Scripting
python-minimal ;; (3.9)
python-minimal ;; (3.10)
;; Git
git-minimal
;; Tests
Expand Down
70 changes: 0 additions & 70 deletions contrib/guix/patches/gcc-broken-longjmp.patch

This file was deleted.

Loading

0 comments on commit 0ac2531

Please sign in to comment.