dependencies fixed
This commit is contained in:
parent
3dd915e2fb
commit
6b3b8aa6ae
@ -12,15 +12,14 @@ differentiable program written on top of
|
||||
|
||||
## Installation
|
||||
|
||||
Currently, to build native artifacts, we support only
|
||||
To install the library, you can simply publish to the local
|
||||
Maven repository:
|
||||
```
|
||||
./gradlew -q :kmath-noa:publishToMavenLocal
|
||||
```
|
||||
This will fetch and build native artifacts as well.
|
||||
Currently, we support only
|
||||
the [GNU](https://gcc.gnu.org/) toolchain. For `GPU` kernels, we require a compatible
|
||||
[CUDA](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html)
|
||||
installation. If you are on Windows, we recommend setting up
|
||||
everything on [WSL](https://docs.nvidia.com/cuda/wsl-user-guide/index.html).
|
||||
|
||||
To install the library, simply publish the modules `kmath-tensors`
|
||||
and `kmath-noa` locally:
|
||||
```
|
||||
./gradlew -q :kmath-tensors:publishToMavenLocal :kmath-noa:publishToMavenLocal
|
||||
```
|
||||
|
||||
|
@ -15,7 +15,7 @@ plugins {
|
||||
description = "Wrapper for the Bayesian Computation library NOA on top of LibTorch"
|
||||
|
||||
dependencies {
|
||||
api(project(":kmath-tensors"))
|
||||
implementation(project(":kmath-tensors"))
|
||||
}
|
||||
|
||||
val home: String = System.getProperty("user.home")
|
||||
@ -185,8 +185,8 @@ val buildCpp by tasks.registering {
|
||||
tasks {
|
||||
withType<Test>{
|
||||
systemProperty("java.library.path",
|
||||
//"$cppBuildDir/kmath"
|
||||
"$home/devspace/noa/cmake-build-release/kmath")
|
||||
"$cppBuildDir/kmath")
|
||||
//"$home/devspace/noa/cmake-build-release/kmath")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@ kotlin.sourceSets {
|
||||
commonMain {
|
||||
dependencies {
|
||||
api(project(":kmath-core"))
|
||||
api(project(":kmath-stat"))
|
||||
implementation(project(":kmath-stat"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user