You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/d/a/dftbplus/dftbplus/_build /d/a/dftbplus/dftbplus
Test project D:/a/dftbplus/dftbplus/_build
Start 1: test_dptools
Process not started
D:/a/dftbplus/dftbplus/test/tools/dptools/runtests.sh
[unknown error]
1/1 Test #1: test_dptools .....................***Not Run 0.00 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.01 sec
The following tests FAILED:
1 - test_dptools (BAD_COMMAND)
Errors while running CTest
Error: Process completed with exit code 8.
Testing might fail due to similar issues as with the fypp command not working
Expected behaviour
CMake shouldn't use the Windows CMD.exe but the MSYS2 (bash) shell to get the correctly setup environment.
LAPACK should be linked correctly.
Tests should be generated.
Additional Context
The preprocessing with fypp used in https://github.com/fortran-lang/stdlib works correctly with the MSYS2 MinGW64 toolchain and a similar workflow file.
Just creating this issue to keep track of it. I might come up with a fix if I find time to look into this.
The text was updated successfully, but these errors were encountered:
The shipped fypp doesn't work on a clean Windows build due to missing Python installation. For Windows builds it is therefore always required to specify fypp by -DFYPP=$(which fypp) (for MSYS2 bash, command might differ for CMD.exe or PowerShell).
Found out that the CustomLapack module fails for default settings, but works fine if I explicitly provide the -DLAPACK_LIBRARY=... in the configuration step. At least it builds now with MinGW.
Describe the bug
While trying to apply the MinGW64 toolchain from MSYS2 to a few projects I noticed DFTB+ does not work correctly in the MSYS2 bash shell.
To Reproduce
mingw-w64-x86_64-*
packagesfypp
withpip
(and set-DFYPP=$(which fypp)
in the CMake configuration step)and observe failure while preprocessing (see https://github.com/awvwgk/dftbplus/runs/1588112700)Linking fails with (see https://github.com/awvwgk/dftbplus/runs/1619199655#step:6:12351)Linking only works if
-DLAPACK_LIBRARY=...
is explicitly specified, otherwise the link line is not propagated in theCustomLapack
module:Testing might fail due to similar issues as with the fypp command not working
Expected behaviour
CMake shouldn't use the Windows CMD.exe but the MSYS2 (bash) shell to get the correctly setup environment.LAPACK should be linked correctly.Tests should be generated.
Additional Context
The preprocessing with
fypp
used in https://github.com/fortran-lang/stdlib works correctly with the MSYS2 MinGW64 toolchain and a similar workflow file.Just creating this issue to keep track of it. I might come up with a fix if I find time to look into this.
The text was updated successfully, but these errors were encountered: