1 #!/bin/bash
2 
3 $JEXTRACT_DIR/bin/jextract --output src/gen/java -I /usr/include -t oneapi.levelzero level-zero/include/ze_api.h
4 $JAVA_HOME/bin/javac -cp target/classes -d target/classes src/gen/java/oneapi/levelzero/*.java
5 $JAVA_HOME/bin/jar cf levelzero.jar -C target/classes/ .
6 mvn install:install-file -Dfile=levelzero.jar -DgroupId=oneapi -DartifactId=levelzero -Dversion=0.0.1 -Dpackaging=jar
7 cp levelzero.jar ../../../build/