From eecc05b847cddc7588d0ba88c3a03a2a4890ae1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Wed, 5 Mar 2025 13:59:08 -0500
Subject: [PATCH] Don't cache spidermonkey configure results

Appears to break builds sometimes.
---
 .gitlab-ci-unix.yml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/.gitlab-ci-unix.yml b/.gitlab-ci-unix.yml
index dfea88c001..12787421ec 100644
--- a/.gitlab-ci-unix.yml
+++ b/.gitlab-ci-unix.yml
@@ -46,7 +46,7 @@ spec:
   script:
     - cd 3rdp/build
     - touch depend
-    - JS_CONFIGURE_ARGS="--cache-file=../../../../../build/smconfig.cache" $[[ inputs.gnu_make ]] $[[ inputs.build_flags ]] $BUILD_ARGS libmozjs
+    - $[[ inputs.gnu_make ]] $[[ inputs.build_flags ]] $BUILD_ARGS libmozjs
     - mkdir -p "/tmp/gitlab-runner/$[[ inputs.os ]]-$[[ inputs.platform ]]-${CI_PIPELINE_ID}"
     - cd ../..
     - tar -czf "/tmp/gitlab-runner/$[[ inputs.os ]]-$[[ inputs.platform ]]-${CI_PIPELINE_ID}/spidermonkey.tgz" 3rdp/*.release/mozjs
@@ -56,10 +56,6 @@ spec:
     - if: '"$[[ inputs.no_javascript ]]" == "yes"'
       when: never
     - !reference [.rules, rules]
-  cache:
-    key: $CI_JOB_NAME
-    paths:
-      - 3rdp/build/smconfig.cache*
 
 "$[[ inputs.os ]]-$[[ inputs.platform ]] [cryptlib]":
   extends:
-- 
GitLab