dependabot[bot] on bundler
dependabot[bot] on bundler
Bump rack from 2.1.1 to 2.2.6.2… (compare)
cmake --build build --target javac --target jar
is correct. You may need to edit the CMakeLists.txt to point JAVA_HOME (in the CMakeLists.txt) to your JDK.
We need JAVA_HOME to point to a JDK so we can find javac, java and jar . Also ${JAVA_HOME}/include is where we find jni.h. The error.
Once you change JAVA_HOME (or anything in CMakeLists.txt)
cmake build
cmake --build build --target javac --target jar
The first line rescans the CMakeLists.txt to create the make/ninja files.
@freemo . I have some patches collected here
https://github.com/grfrost/aparapi-builder-cmake/tree/main/patches
Mostly they suppress clang warnings, some are potential access violations I found running valgrind. The main fix https://github.com/grfrost/aparapi-builder-cmake/blob/main/patches/aparapi-jni.patch allows Aparapi to build on Apple M1 (arch64) machines. Sorry I have not pushed this back to mainline. I moved away from using Maven a long time ago, This project builds from your maven repos using cmake... I know slightly weird for Java but saves me from more grey hairs.
Hey @CoreRasurae regarding possible AMD runtime/driver bug. Can you reproduce using a small C++ example? My guess is that AMD will not 'go the lengths' of installing Aparapi. but if you have a C++ test case they will take a look.
I would be happy to validate too if you can produce a C++ testcase.
WRT MR I will defer to @freemo:qoto.org