Unverified Commit 824c6830 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

build-support/php: `buildComposerProject2`, disable APCU flags, preventing...

build-support/php: `buildComposerProject2`, disable APCU flags, preventing reproducibility (#343762)
parents 457b356b a9d1d295
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -60,8 +60,10 @@ composerVendorBuildHook() {
    echo "Executing composerVendorBuildHook"

    composer \
        --apcu-autoloader \
        --apcu-autoloader-prefix="$(jq -r -c 'try ."content-hash"' < composer.lock)" \
        # The acpu-autoloader is not reproducible and has to be disabled.
        # Upstream PR: https://github.com/composer/composer/pull/12090
        # --apcu-autoloader \
        # --apcu-autoloader-prefix="$(jq -r -c 'try ."content-hash"' < composer.lock)" \
        --no-interaction \
        --no-progress \
        --optimize-autoloader \