-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadMe.txt
30 lines (16 loc) · 997 Bytes
/
ReadMe.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
To build R Math stand alone:
Build the standalone Linux library.
Since you are here and have configured and built the Linux R anyway, you can make the standalone Linux library at this point if you wish:
cd $RDIRL/src/nmath/standalone
make
make test
./test
Then copy the Linux libraries:
cp libRmath.so jnaerator/linux-x86
To build JAR:
java -jar jnaerator/target/jnaerator-0.13-SNAPSHOT-shaded.jar -runtime JNA darwin/libRmath.dylib /Users/eralljn/Research/Coding/C/Rlibs/R.framework/Versions/3.2/Resources/include/Rmath.h -mode StandaloneJar
To generate Maven:
java -jar jnaerator/target/jnaerator-0.13-SNAPSHOT-shaded.jar -f -runtime JNA darwin/libRmath.dylib /Users/eralljn/Research/Coding/C/Rlibs/R.framework/Versions/3.2/Resources/include/Rmath.h -mavenArtifactId RMath-Java -mavenGroupId xyz.lejon -mavenVersion 1.0.0 -mode Maven -o tmp/ -package xyz.lejon.r.rmath
Add darwin in JAR:
jar uf out.jar darwin/libRmath.dylib
jar uf out.jar linux-x86-64/libRmath.so