From 0786d65d60528472f9b32101eb56e495fc09caa7 Mon Sep 17 00:00:00 2001 From: Clonkk Date: Mon, 4 Jul 2022 17:40:35 +0200 Subject: [PATCH 1/3] remove weave as dependencies as it's not necessary --- fftw3.nimble | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/fftw3.nimble b/fftw3.nimble index 9308ace..b810771 100644 --- a/fftw3.nimble +++ b/fftw3.nimble @@ -1,5 +1,5 @@ # Package -version = "0.5.1" +version = "0.5.2" author = "rcaillaud" description = "Nim FFTW bindings" license = "LGPL-2.1" @@ -9,21 +9,9 @@ installDirs = @["third_party"] requires "nim >= 1.2.0" requires "arraymancer >= 0.6.3" -requires "weave >= 0.4.9" requires "zippy" +# requires "weave >= 0.4.9" import os task gendoc, "gen doc": exec("nimble doc --threads:on --project fftw3.nim -d:localFftw3 --out:docs/") - -task installfftw, "Install FFTW-3.3.9": - selfExec("r fftw3/install/fftwinstall.nim") - -task localinstallfftw, "Install FFTW-3.3.9": - selfExec("r -d:keepFftwArchive fftw3/install/fftwinstall.nim") - -# after install: -# installfftwTask() - -# after develop: -# localinstallfftwTask() From db2d2616909147618c4bce0bae978751caace38b Mon Sep 17 00:00:00 2001 From: Clonkk Date: Mon, 4 Jul 2022 17:45:34 +0200 Subject: [PATCH 2/3] re-add nimble tasks --- fftw3.nimble | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fftw3.nimble b/fftw3.nimble index b810771..7cccae2 100644 --- a/fftw3.nimble +++ b/fftw3.nimble @@ -15,3 +15,10 @@ requires "zippy" import os task gendoc, "gen doc": exec("nimble doc --threads:on --project fftw3.nim -d:localFftw3 --out:docs/") + +task installfftw, "Install FFTW-3.3.9": + selfExec("r fftw3/install/fftwinstall.nim") + +task localinstallfftw, "Install FFTW-3.3.9": + selfExec("r -d:keepFftwArchive fftw3/install/fftwinstall.nim") + From 0605ccb972d7a4e56353e815b61430e656739fbb Mon Sep 17 00:00:00 2001 From: Clonkk Date: Mon, 4 Jul 2022 17:51:34 +0200 Subject: [PATCH 3/3] remove testament --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a67e4f..2f40fdd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: run: nimble localinstallfftw env: LD_LIBRARY_PATH: ${PWD}/third_party/lib - - run: testament r tests/testall.nim -d:localFftw3 + - run: nimble test -d:localFftw3 env: LD_LIBRARY_PATH: ${PWD}/third_party/lib - run: nimble gendoc