summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-05-07 01:46:15 +0200
committerSven Gothel <[email protected]>2022-05-07 01:46:15 +0200
commit93ed57ae7ad888b9b258838088a29ed899719355 (patch)
tree8f49b7d742e49c47cca5e615db86475f89d48bcc
parent35deb88e685b33e3edf260229007425a587edfdf (diff)
REAMDE: Fix spacing in cmake options, ...
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index d80e45d..16c67cb 100644
--- a/README.md
+++ b/README.md
@@ -81,14 +81,17 @@ Changing install path from /usr/local to /usr
~~~~~~~~~~~~~
-DCMAKE_INSTALL_PREFIX=/usr
~~~~~~~~~~~~~
+
Building debug build:
~~~~~~~~~~~~~
-DDEBUG=ON
~~~~~~~~~~~~~
+
Disable stripping native lib even in non debug build:
~~~~~~~~~~~~~
-DUSE_STRIP=OFF
~~~~~~~~~~~~~
+
Disable using `libunwind` (default: enabled for all but `arm32`, `armhf`)
~~~~~~~~~~~~~
-DUSE_LIBUNWIND=OFF
@@ -100,23 +103,28 @@ Override default javac debug arguments `source,lines`:
-DJAVAC_DEBUG_ARGS="none"
~~~~~~~~~~~~~
+
Building debug and instrumentation (sanitizer) build:
~~~~~~~~~~~~~
-DDEBUG=ON -DINSTRUMENTATION=ON
~~~~~~~~~~~~~
+
Using clang instead of gcc:
~~~~~~~~~~~~~
-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++
~~~~~~~~~~~~~
+
Cross-compiling on a different system:
~~~~~~~~~~~~~
-DCMAKE_CXX_FLAGS:STRING=-m32 -march=i586
-DCMAKE_C_FLAGS:STRING=-m32 -march=i586
~~~~~~~~~~~~~
+
To build Java bindings:
~~~~~~~~~~~~~
-DBUILDJAVA=ON
~~~~~~~~~~~~~
+
To build documentation run:
~~~~~~~~~~~~~
make doc
@@ -137,6 +145,15 @@ a Raspi-arm64, Raspi-armhf or PC-amd64 target image.
* First stable release (TODO)
+**0.9.4** (TODO)
+
+* Robustness of JNI
+ - JNIGlobalRef: Make all operations atomic and fix copy ctor JNIGlobalRef/JavaGlobalObj
+ - JavaGlobalObj::dtor needs to acquire JNIGlobalRef lock for atomic `mNotifyDeleted` deleter call (C++ -> java)
+ - Remove unused JavaAnon/JavaUplink/JNIGlobalRef's `clear(), having leak potential
+ - Have derivations use `override` for `virtual` superclass, marking a requirement
+* Move all of `jni_mem` into namespace jau
+
**0.9.3**
* Group all functionality in modules: Algorithms, ByteUtils, CppLang, Concurrency, DataStructs, Floats, Fractions, FunctionPtr, Integrals, JavaJVM, NetUtils, StringUtils