Skip to content

Commit

Permalink
Update readme and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlauer committed Nov 2, 2023
1 parent d4f1684 commit c2b81dc
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Tkrzw for Java

## 0.0.8 - 2023-11-01

- Based on Tkrzw 1.0.27 and Tkrzw-Java 0.1.30
- Bump JNE v4.0.4
- Improved cross compiling and testing build system

## 0.0.7 - 2023-01-16
- Based on Tkrzw 1.0.24 and Tkrzw-Java 0.1.28
- Bump JNE v3.2.1 (support for linux-armel)
Expand Down
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,27 @@ Zip libraries must be installed for this version to run. You must also install l
## Development

We use a simple, yet quite sophisticated build system for fast, local builds across operating system and architectures.
To build and test locally, you can leverage our [Blaze](https://github.com/fizzed/blaze) build system

java -jar blaze.jar build_natives
java -jar blaze.jar test

For cross compiling and testing, we leverage [Buildx](https://github.com/fizzed/buildx) as a plugin to our Blaze script.
For linux targets, we leverage docker containers either running locally on an x86_64 host, or remotely on dedicated
build machines running on arm64, macos x64, and macos arm64.
build machines running on arm64, macos x64, and macos arm64. To build containers, you'll want to edit .blaze/blaze.java
and comment out/edit which platforms you'd like to build for, or potentially change them running on a remote machine
via SSH. Once you're happy with what you want to build for:

java -jar blaze.jar cross_build_containers

Or

java -jar blaze.jar cross_build_containers --targets linux-x64

To build containers, you'll want to edit setup/blaze.java and comment out/edit which platforms you'd like to build for,
or potentially change them running on a remote machine via SSH. Once you're happy with what you want to build for:
Then

java -jar setup/blaze.jar setup/blaze.java build_containers
java -jar setup/blaze.jar setup/blaze.java build_native_libs
java -jar setup/blaze.jar setup/blaze.java tests
java -jar blaze.jar cross_build_natives --targets linux-x64
java -jar blaze.jar cross_tests --targets linux-x64

For information on registering your x86_64 host to run other architectures (e.g. riscv64 or aarch64), please see
the readme for https://github.com/fizzed/buildx

0 comments on commit c2b81dc

Please sign in to comment.