Browse Source

build: set ELECTRUM_ECC_DONT_COMPILE=1, instead manually build lib

Haven't checked if electrum-ecc compiles libsecp reproducibly.
For now let's just keep the old flow.
(but if we spent time on making that compilation reproducible,
the appimage and the macos builds could use it directly)
master
SomberNight 1 year ago
parent
commit
f35437f03c
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 1
      contrib/build-linux/appimage/make_appimage.sh
  2. 1
      contrib/build-wine/build-electrum-git.sh
  3. 2
      contrib/make_packages.sh
  4. 1
      contrib/osx/make_osx.sh

1
contrib/build-linux/appimage/make_appimage.sh

@ -161,6 +161,7 @@ info "Installing build dependencies."
--cache-dir "$PIP_CACHE_DIR" -r "$CONTRIB/deterministic-build/requirements-build-appimage.txt"
info "installing electrum and its dependencies."
export ELECTRUM_ECC_DONT_COMPILE=1
"$python" -m pip install --no-build-isolation --no-dependencies --no-binary :all: --no-warn-script-location \
--cache-dir "$PIP_CACHE_DIR" -r "$CONTRIB/deterministic-build/requirements.txt"
"$python" -m pip install --no-build-isolation --no-dependencies --no-binary :all: --only-binary PyQt6,PyQt6-Qt6,cryptography --no-warn-script-location \

1
contrib/build-wine/build-electrum-git.sh

@ -32,6 +32,7 @@ export AIOHTTP_NO_EXTENSIONS=1
export YARL_NO_EXTENSIONS=1
export MULTIDICT_NO_EXTENSIONS=1
export FROZENLIST_NO_EXTENSIONS=1
export ELECTRUM_ECC_DONT_COMPILE=1
info "Installing requirements..."
$WINE_PYTHON -m pip install --no-build-isolation --no-dependencies --no-binary :all: --no-warn-script-location \

2
contrib/make_packages.sh

@ -32,6 +32,8 @@ export YARL_NO_EXTENSIONS=1
export MULTIDICT_NO_EXTENSIONS=1
export FROZENLIST_NO_EXTENSIONS=1
export ELECTRUM_ECC_DONT_COMPILE=1
# if we end up having to compile something, at least give reproducibility a fighting chance
export LC_ALL=C
export TZ=UTC

1
contrib/osx/make_osx.sh

@ -169,6 +169,7 @@ cp -f "$DLL_TARGET_DIR/libusb-1.0.dylib" "$PROJECT_ROOT/electrum/" || fail "Coul
info "Installing requirements..."
export ELECTRUM_ECC_DONT_COMPILE=1
python3 -m pip install --no-build-isolation --no-dependencies --no-binary :all: \
--no-warn-script-location \
-Ir ./contrib/deterministic-build/requirements.txt \

Loading…
Cancel
Save