Commit d8f568be authored by mathieu's avatar mathieu

Fixing compile and release repo

parent c0dd78ce
......@@ -13,13 +13,14 @@ g++ -v -pipe -D_JNI_IMPLEMENTATION_ -m64 -fPIC \
-I"$JAVA_HOME/include/linux/" \
-L $BOOST_HOME/stage/lib -lgsl -lgslcblas -lm -lboost_serialization -shared -o libLCAKernel.so
#mkdir -p ./src/main/resources/lib/Linux/amd64
#cp ./libLCAKernel.so ./src/main/resources/lib/Linux/amd64/
mkdir -p ./src/main/resources/lib/Linux/amd64
cp ./libLCAKernel.so ./src/main/resources/lib/Linux/amd64/
#cd src/main/java/LCAKernel
#javac LCAKernel.java
#javah LCAKernel.LCAKernel
cd src/main/java/LCAKernel
javac LCAKernel.java
cd ..
javah LCAKernel.LCAKernel
cp LCAKernel_LCAKernel.h LCAKernel/
cd ../../..
#cd ../../../..
#sbt clean package
sbt clean package
......@@ -15,8 +15,12 @@ s3CredentialsProvider := { (bucket: String) =>
}
publishMavenStyle := true
publishTo := Some("Ububi Snapshots" at "s3://repo.protogest.net/snapshot")
publishTo :={
if (isSnapshot.value)
Some("Ububi Snapshots" at "s3://repo.protogest.net/snapshot")
else
Some("Ububi Release" at "s3://repo.protogest.net/release")
}
libraryDependencies ++= Seq(
"net.sf.trove4j" % "trove4j" % "3.0.1",
......
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class LCAKernel_LCAKernel */
#ifndef _Included_LCAKernel_LCAKernel
#define _Included_LCAKernel_LCAKernel
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: LCAKernel_LCAKernel
* Method: createdb
* Signature: (IDLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIILjava/lang/String;JI)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_LCAKernel_LCAKernel_createdb
(JNIEnv *, jobject, jint, jdouble, jstring, jstring, jstring, jint, jint, jint, jint, jint, jstring, jlong, jint);
/*
* Class: LCAKernel_LCAKernel
* Method: deletedb
* Signature: (J)Z
*/
JNIEXPORT jboolean JNICALL Java_LCAKernel_LCAKernel_deletedb
(JNIEnv *, jobject, jlong);
/*
* Class: LCAKernel_LCAKernel
* Method: updatedb
* Signature: (JIDLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIILjava/lang/String;JI)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_LCAKernel_LCAKernel_updatedb
(JNIEnv *, jobject, jlong, jint, jdouble, jstring, jstring, jstring, jint, jint, jint, jint, jint, jstring, jlong, jint);
/*
* Class: LCAKernel_LCAKernel
* Method: deletesimData
* Signature: (J)Z
*/
JNIEXPORT jboolean JNICALL Java_LCAKernel_LCAKernel_deletesimData
(JNIEnv *, jobject, jlong);
/*
* Class: LCAKernel_LCAKernel
* Method: QBAinverse
* Signature: (IDLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIILjava/lang/String;JIJJ)[D
*/
JNIEXPORT jdoubleArray JNICALL Java_LCAKernel_LCAKernel_QBAinverse
(JNIEnv *, jobject, jint, jdouble, jstring, jstring, jstring, jint, jint, jint, jint, jint, jstring, jlong, jint, jlong, jlong);
/*
* Class: LCAKernel_LCAKernel
* Method: libUpstreamLCIA
* Signature: (IDLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIILjava/lang/String;JIJJ)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_LCAKernel_LCAKernel_libUpstreamLCIA
(JNIEnv *, jobject, jint, jdouble, jstring, jstring, jstring, jint, jint, jint, jint, jint, jstring, jlong, jint, jlong, jlong);
/*
* Class: LCAKernel_LCAKernel
* Method: libUpstreamUncertainty
* Signature: (IDLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIILjava/lang/String;JIJJ)[D
*/
JNIEXPORT jdoubleArray JNICALL Java_LCAKernel_LCAKernel_libUpstreamUncertainty
(JNIEnv *, jobject, jint, jdouble, jstring, jstring, jstring, jint, jint, jint, jint, jint, jstring, jlong, jint, jlong, jlong);
/*
* Class: LCAKernel_LCAKernel
* Method: stochastic
* Signature: (IDLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIILjava/lang/String;JIJJI)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_LCAKernel_LCAKernel_stochastic
(JNIEnv *, jobject, jint, jdouble, jstring, jstring, jstring, jint, jint, jint, jint, jint, jstring, jlong, jint, jlong, jlong, jint);
/*
* Class: LCAKernel_LCAKernel
* Method: static_calc
* Signature: (IDLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIILjava/lang/String;JIJJ)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_LCAKernel_LCAKernel_static_1calc
(JNIEnv *, jobject, jint, jdouble, jstring, jstring, jstring, jint, jint, jint, jint, jint, jstring, jlong, jint, jlong, jlong);
/*
* Class: LCAKernel_LCAKernel
* Method: static_basic_calc
* Signature: (IDLjava/lang/String;Ljava/lang/String;Ljava/lang/String;IIIIILjava/lang/String;JIJJ)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_LCAKernel_LCAKernel_static_1basic_1calc
(JNIEnv *, jobject, jint, jdouble, jstring, jstring, jstring, jint, jint, jint, jint, jint, jstring, jlong, jint, jlong, jlong);
#ifdef __cplusplus
}
#endif
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment