dependencies fixed

This commit is contained in:
Roland Grinis 2021-07-12 21:12:02 +01:00
parent 3dd915e2fb
commit 6b3b8aa6ae
3 changed files with 12 additions and 13 deletions

View File

@ -12,15 +12,14 @@ differentiable program written on top of
## Installation
Currently, to build native artifacts, we support only
the [GNU](https://gcc.gnu.org/) toolchain. For `GPU` kernels, we require a compatible
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
```

View File

@ -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")
}
}

View File

@ -9,7 +9,7 @@ kotlin.sourceSets {
commonMain {
dependencies {
api(project(":kmath-core"))
api(project(":kmath-stat"))
implementation(project(":kmath-stat"))
}
}
}