readme improvements
This commit is contained in:
parent
679cdd20ce
commit
a7557be070
|
@ -1,4 +1,2 @@
|
|||
lib/
|
||||
*.class
|
||||
*.o
|
||||
*.a
|
||||
*.o
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
## Prerequisites
|
||||
|
||||
* Follow the instructions in the home README.md to create the libblst.a.
|
||||
* JAVA_HOME environment variable is set to a jdk with an `include` folder containing jni.h file.
|
||||
* Follow the instructions in the [README.md](../../README.md) to install blst and C-KZG.
|
||||
* JAVA_HOME environment variable is set to a JDK with an `include` folder containing a jni.h file.
|
||||
|
||||
## Windows
|
||||
|
||||
|
@ -14,7 +14,7 @@ TBC
|
|||
## Linux
|
||||
|
||||
```bash
|
||||
clang -O -Wall -shared -fPIC -I../../blst/bindings -I../../src/ -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux -o lib/libckzg4844jni.so c_kzg_4844_jni.c ../../src/c_kzg_4844.c ../../blst/libblst.a
|
||||
clang -O -Wall -shared -fPIC -I../../blst/bindings -I../../src/ -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux -o lib/libckzg4844jni.so c_kzg_4844_jni.c c_kzg_4844.o ../../lib/libblst.a
|
||||
```
|
||||
|
||||
## Mac-OS
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
*.dll
|
||||
*.so
|
||||
*.dylib
|
|
@ -15,6 +15,7 @@ blst:
|
|||
cp libblst.a ../lib && \
|
||||
cp bindings/*.h ../inc
|
||||
|
||||
# Copy make sure c_kzg_4844.o is built and copy it for the NodeJS bindings
|
||||
# Make sure c_kzg_4844.o is built and copy it for the NodeJS and Java bindings
|
||||
lib: c_kzg_4844.o Makefile
|
||||
cp *.o ../bindings/node.js
|
||||
cp *.o ../bindings/java
|
||||
|
|
Loading…
Reference in New Issue