summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-05-03 01:41:53 -0700
committerGitHub <noreply@github.com>2021-05-03 10:41:53 +0200
commitfff5001f4c2fbf65583fc383fbfd8c2b7f3db473 (patch)
treee29c71d5dc6eb348f4ad8613aa77f9ceeae0b1d4
parent287f1170ba29398acaab979389c68faf79aca29c (diff)
downloadNim-fff5001f4c2fbf65583fc383fbfd8c2b7f3db473.tar.gz
fix #17913 build_all.sh on M1 mac (#17917); temporary workaround
-rw-r--r--ci/funs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/funs.sh b/ci/funs.sh
index 5158f38d5..52dbc9162 100644
--- a/ci/funs.sh
+++ b/ci/funs.sh
@@ -95,6 +95,8 @@ nimBuildCsourcesIfNeeded(){
       _nimBuildCsourcesIfNeeded "$@"
     fi
 
+    echo_run rm -f bin/nim
+      # fixes bug #17913, but it's unclear why it's needed, maybe specific to MacOS Big Sur 11.3 on M1 arch?
     echo_run cp $nim_csources bin/nim
     echo_run $nim_csources -v
   )