From f470dba671399a78630585751b12b5de75059315 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Thu, 17 Aug 2023 15:12:26 +0200 Subject: [PATCH] Fix #1600: use pagesize of 64K on linux aarch64 (#1606) Fix #1600: use pagesize of 64K on linux aarch64 --- .circleci/script/gen_ci.clj | 4 +++- CHANGELOG.md | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/script/gen_ci.clj b/.circleci/script/gen_ci.clj index d5ad25fa..6436d8be 100644 --- a/.circleci/script/gen_ci.clj +++ b/.circleci/script/gen_ci.clj @@ -170,7 +170,9 @@ java -jar \"$jar\" --config .build/bb.edn --deps-root . release-artifact \"$refl (str base-install-cmd "\nsudo -E script/setup-musl") base-install-cmd))) (run "Download GraalVM" "script/install-graalvm") - (run "Build binary" "script/uberjar\nscript/compile" "30m") + (run "Build binary" (if (= "aarch64" arch) + "script/uberjar\nscript/compile -H:PageSize=64K" + "script/uberjar\nscript/compile") "30m") (run "Run tests" "script/test\nscript/run_lib_tests") (run "Release" ".circleci/script/release") {:persist_to_workspace {:root "/tmp" diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c22e54a..ec0d8831 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,8 +13,9 @@ A preview of the next release can be installed from - [#1596](https://github.com/babashka/babashka/issues/1596): Fix `clojure.java.browse/browse-url` truncates URLs with multiple query parameters on Windows - [#1599](https://github.com/babashka/babashka/issues/1599): propagate error from `run` when task does not exist - Bump clj-yaml to `1.0.27` -- #1604: throw `FileNotFoundException` when requiring namespace whose file cannot be found (as JVM Clojure does) +- [#1604](https://github.com/babashka/babashka/issues/1604): throw `FileNotFoundException` when requiring namespace whose file cannot be found (as JVM Clojure does) - Bump integrant CI tests +- [#1600](https://github.com/babashka/babashka/issues/1600): use pagesize of 64K on linux aarch64, so it works on Asahi linux ## 1.3.182 (2023-07-20)