This website requires JavaScript.
Explore
Help
Sign In
cwpearson
/
astaroth
Watch
1
Star
0
Fork
0
You've already forked astaroth
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
488
Commits
1
Branch
0
Tags
72af2cf31d4b7cc0369029597a9dbb9d017bf741
Commit Graph
3 Commits
Author
SHA1
Message
Date
jpekkila
72af2cf31d
acc is now built with cmake instead of the old build script. This was mainly done to fix compilation on Puhti where I had problems linking flex even though it is available. As an added bonus the code is now safer to build since all dependencies are now rigorously tracked by cmake and make, and f.ex. change in the compiler now forces also the whole library to be rebuilt (which is the behaviour we want)
2019-09-24 16:57:19 +03:00
Miikka Vaisala
5cc2d613be
Changed realpath to readlink -f for better combatibility in different systems.
2019-09-23 15:35:09 +08:00
jpekkila
3bb6ca1712
The Astaroth Code Compiler (acc) is now built with cmake. Additionally, make is now used to generate the CUDA headers from DSL sources. The headers are also properly regenerated whenever a DSL file has been changed. With this commit, the DSL is now seamlessly integrated to the library and we no longer need complicated scripts to figure out the correct files. The current workflow for using custom DSL sources is to pass the DSL module directory to cmake, f.ex. cmake -DDSL_MODULE_DIR=/acc/mhd_solver. Note that the path must be absolute or then given relative to the CMakeLists.txt directory. f.ex cd build && cmake -DDSL_MODULE_DIR=../acc/mhd_solver does not work. CMake then takes all DSL files in that directory and handles the rest.
2019-09-18 17:28:29 +03:00