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)
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user