Morphology (#112)

* Move hmatrix dependency out of reanimate's core.

* Move chiphunk to a separate package.
This commit is contained in:
David Himmelstrup 2020-08-07 15:34:26 +08:00 committed by GitHub
commit 0d4a5801de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 1408 additions and 1117 deletions

View file

@ -11,10 +11,6 @@ jobs:
BUILD: stack
STACK_YAML: stack.yaml
ARGS: --pedantic
stack-no-hmatrix:
BUILD: stack
STACK_YAML: stack.yaml
ARGS: --flag reanimate:disable-hmatrix --flag reanimate:-test
stack-lts-15:
BUILD: stack
STACK_YAML: stack-lts-15.yaml

View file

@ -34,23 +34,26 @@ jobs:
displayName: Cache stack root
- bash: |
set -o xtrace
$CONDA/condabin/conda.bat install --yes --quiet -c msys2 m2w64-gcc-libgfortran m2w64-openblas
# $CONDA/condabin/conda.bat install --yes --quiet -c msys2 m2w64-gcc-libgfortran m2w64-openblas
# cp $CONDA/Library/mingw-w64/bin/libgfortran-3.dll $CONDA/Library/mingw-w64/bin/libgfortran.dll
cp $CONDA/Library/mingw-w64/bin/libgfortran-3.dll $CONDA/Library/mingw-w64/bin/libgfortran.dll
curl -sSkL http://www.stackage.org/stack/windows-x86_64 -o /usr/bin/stack.zip
unzip -o /usr/bin/stack.zip -d /usr/bin/
displayName: 'Setup'
- bash: |
set -o xtrace
stack --install-ghc build $ARGS --no-keep-going --fast --only-dependencies --flag reanimate:enable-hmatrix --flag hmatrix:openblas --extra-lib-dirs=$CONDA/Library/mingw-w64/bin
stack --install-ghc test $ARGS --no-keep-going --fast --flag reanimate:test --only-dependencies --flag reanimate:enable-hmatrix --flag hmatrix:openblas --extra-lib-dirs=$CONDA/Library/mingw-w64/bin
#stack --install-ghc build $ARGS --no-keep-going --fast --only-dependencies --flag reanimate:enable-hmatrix --flag hmatrix:openblas --extra-lib-dirs=$CONDA/Library/mingw-w64/bin
stack --install-ghc build $ARGS --no-keep-going --fast --only-dependencies
#stack --install-ghc test $ARGS --no-keep-going --fast --flag reanimate:test --only-dependencies --flag reanimate:enable-hmatrix --flag hmatrix:openblas --extra-lib-dirs=$CONDA/Library/mingw-w64/bin
stack --install-ghc test $ARGS --no-keep-going --fast --flag reanimate:test --only-dependencies
displayName: 'Install dependencies'
- bash: |
set -o xtrace
# stack ./examples/counter.hs check
stack test --flag reanimate:test --test-arguments="-j2" --fast --flag reanimate:enable-hmatrix --flag hmatrix:openblas --extra-lib-dirs=$CONDA/Library/mingw-w64/bin
# stack test --flag reanimate:test --test-arguments="-j2" --fast --flag reanimate:enable-hmatrix --flag hmatrix:openblas --extra-lib-dirs=$CONDA/Library/mingw-w64/bin
stack test --flag reanimate:test --test-arguments="-j2" --fast
displayName: 'Build & Test'
- bash: |
# stack haddock --no-haddock-deps