Commit graph

75 commits

Author SHA1 Message Date
Michiel Borkent
b93198c965
Compatibility with fipp and puget (#1253)
See brandonbloom/fipp#81
2022-04-30 11:46:36 +02:00
Michiel Borkent
6305f7450d
Add compatibility with GraalVM 22.1 (#1215)
* do not init java net http classes at build time
2022-03-22 16:41:26 +01:00
Michiel Borkent
3759d14baf
Add clojure.data.priority-map as built-in, support aysylu/loom lib (#1207) 2022-03-11 12:23:31 +01:00
James Carnegie
3602b89512 Add metabom jars to all built docker images 2022-01-18 07:34:36 +00:00
Rahul De
2f6d363ee8
Revert: Add metabom jar to docker image(9cf6a1ae71) 2022-01-11 21:34:36 +00:00
James Carnegie
9cf6a1ae71 Add metabom jar to docker image 2022-01-11 19:03:51 +00:00
Johannes Lötzsch
ec4f9f95fb
fix script/compile #1089 (#1090)
Co-authored-by: Johannes Lötzsch <git@johannesloetzsch.de>
2021-12-05 12:05:05 +01:00
Michiel Borkent
c48ae27da3
Disable some service loader features for smaller image size (#1054)
This also excludes `java.awt.Toolkit`.

```
     -H:ServiceLoaderFeatureExcludeServices=java.net.ContentHandlerFactory \
     -H:ServiceLoaderFeatureExcludeServices=java.nio.charset.spi.CharsetProvider
```
2021-11-05 10:39:48 +01:00
Bob
7df81f1273
make core.async and rewrite-clj integral (#1014)
* make core.async integral (not a feature)

tasks (in particular, parallel tasks) require core.async

* make rewrite_clj integral (not a feature)

* cleanup mistakes
2021-09-23 18:15:01 +02:00
Michiel Borkent
0f723a1e7c
Fix aarch64 test (#1007) 2021-09-11 18:13:12 +02:00
Michael Glaesemann
125e227976
Java http insecure context (#994)
* Add support for creating insecure context.

* Add BABASHKA_FEATURE_JAVA_NET_HTTP flag.

* Clean up java.net.http tests
2021-08-31 17:37:11 +02:00
Bob
242c3d442f
Logging feature flag and tools.logging.readable (#981) (#987)
* put tools.logging behind a feature flag

* add tools.logging.readable

- move logging namespace to feature folder
- add logging.readable namespace
- add tests for logging.readable

* cleanup logging changes

- add logging env var to compile script
- remove unconditional require of logging namespace

* move old-config capture to before alter

* remove feature check from logging tests
2021-08-29 23:43:53 +02:00
Eric Dallo
72d3afa698
Migrate GraalVM configuration to jar (#973) 2021-08-22 23:19:28 +02:00
Michiel Borkent
84430c60f8
[#720, #733] print-deps (#958) 2021-07-27 11:29:00 +02:00
Thiago Kenji Okada
14e053e0a3
Add BABASHKA_MUSL build variable (#834)
This allows building a Babashka binary using musl C libraries instead,
instead of hardcoding this accordingly to the CPU arch.
2021-05-11 00:10:11 +02:00
Michiel Borkent
f8944f1286 Another bash fix 2021-05-10 23:27:54 +02:00
Michiel Borkent
a8528e4a4a Fix bash 2021-05-10 23:16:59 +02:00
Michiel Borkent
f4fb27be98 Fix bash script 2021-05-10 23:08:11 +02:00
Michiel Borkent
798ec2e3d4 musl 2021-05-10 23:03:39 +02:00
Michiel Borkent
34bbea0204
Move setup-musl to .circleci scripts (#833) 2021-05-10 22:46:32 +02:00
Michiel Borkent
6edc26c834
[#831] Workaround for musl stack size issues 2021-05-10 18:29:26 +02:00
Thiago Kenji Okada
73d454be46
Add sha256sum check to zlib (#830)
Just to make sure that we are using the correct source code.
2021-05-10 17:33:10 +02:00
Thiago Kenji Okada
ddc900a656
Build BABASHKA_STATIC with musl C library (#828)
* Build BABASHKA_STATIC with musl C library

Based on https://github.com/babashka/pod-babashka-aws/pull/37.

This is the recommended way to build static binaries with GraalVM by the
documentation and multiple issues on GitHub. See:

- https://www.graalvm.org/reference-manual/native-image/StaticImages/
- oracle/graal#571 (comment)

The reason that building a statically binary with glibc is complicated
is explained in the glib documentation:

https://sourceware.org/glibc/wiki/FAQ#Even_statically_linked_programs_need_some_shared_libraries_which_is_not_acceptable_for_me.__What_can_I_do.3F

* Bring back zlib1g-dev

Seems it is necessary for the non-static build.
2021-05-09 23:30:27 +02:00
Michiel Borkent
cbd8a2d07d
[#821] Include Selmer 2021-05-06 12:53:59 +02:00
Michiel Borkent
1870e2729e
[#769] rewrite-clj support 2021-04-04 16:22:45 +02:00
Michiel Borkent
00e65f0416 [#738] upgrade to httpkit 2.5.3 2021-02-26 22:17:24 +01:00
Michiel Borkent
77daea7362
[#712] Upgrade to GraalVM 21.0.0 (#725) 2021-02-07 12:23:20 +01:00
Michiel Borkent
7cbcd4440a compile opts [skip ci] 2021-02-06 18:01:51 +01:00
Michiel Borkent
8326825494 dashboard [skip ci] 2021-02-06 16:32:27 +01:00
Michiel Borkent
931fadabb2
[#487] Include clojure.test.check as preparation for clojure.spec 2021-01-24 21:07:07 +01:00
Michiel Borkent
c4bb42df3e
[#646] Add hiccup.core and hiccup2.core 2021-01-23 22:47:35 +01:00
Michiel Borkent
497bfb01da
[#594] Include clojure.core.match 2021-01-23 14:02:00 +01:00
Michiel Borkent
5305260fd4 rm classes [skip ci] 2021-01-20 00:30:26 +01:00
Michiel Borkent
c2938ebd0c Revert 2021-01-20 00:20:05 +01:00
Michiel Borkent
09fcd97b9d Cut off ObjectStreamClass 2021-01-19 23:24:23 +01:00
Michiel Borkent
55db949ca8 Also cut off on linux 2021-01-19 23:18:02 +01:00
Michiel Borkent
9a80a47cfa
[#653] Upgrade to GraalVM 20.3.0 2020-12-05 20:56:12 +01:00
Jakub Holy
3e66570596
BABASHKA_LEAN: keep some feature enabled 2020-11-12 19:59:21 +01:00
Jakub Holy
b73940861f
Add feature/oracledb (#638)
NOTE: Using the Oracle driver directly requires some GraalVM settings
while the helidon wrapper provides those and thus works out of the box.
2020-11-11 22:29:42 +01:00
Michiel Borkent
a1d34f5242
[#556] Add org.httpkit.server namespace (experimental) 2020-09-20 23:19:49 +02:00
Michiel Borkent
f89da080c3
[#561] Add org.httpkit.client namespace
This also bumps GraalVM to 20.2.0 and XCode to version 12
2020-09-18 21:32:08 +02:00
Michiel Borkent
f091eeddd9
[#528] Allow reading resources from jar files 2020-08-12 09:34:38 +02:00
Lee Read
7b5e09e4e8
Compile script now follows symlinks when searching for svm.jar (#512)
Fixes #511
2020-07-16 09:40:34 +02:00
Michiel Borkent
227b8a0e77 Fix BABASHKA_LEAN 2020-07-05 12:13:08 +02:00
Michiel Borkent
c3f9480efe
[#449] move to GraalVM 20.1.0 java11 2020-05-23 14:53:28 +02:00
Michiel Borkent
c3280c67f6 fix 2020-05-02 13:25:38 +02:00
Michiel Borkent
2a44b9f9dd [#389] feature flag for java.time 2020-04-30 12:39:44 +02:00
Michiel Borkent
6f14479749 BABASHKA_LEAN variable 2020-04-30 12:20:00 +02:00
Michiel Borkent
cd96a380ba
[#389] YAML feature flag 2020-04-28 17:39:47 +02:00
Michiel Borkent
ab008870b8
[#389] XML feature flag (#390) 2020-04-28 12:03:01 +02:00