project-asgard / asgard

MIT License
27 stars 20 forks source link

allow the use of asgard as a library #703

Closed mkstoyanov closed 1 month ago

mkstoyanov commented 2 months ago

Major change in the build system and the potential usage:

PS: The install prefix defaults to <build-folder>/asgard_install/ to avoid issues with the system files in /usr/local

mkstoyanov commented 2 months ago

@quantumsteve We should add -DASGARD_BUILD_HDF5=ON to the failing build. I don't want ASGarD to build large third party projects unless the user explicitly asks for that.

I also want to figure out how to "install" the build HDF5 (and OpenBLAS) but that will take a while as I have to test build those a few times. I want to keep the project rolling, so if it takes too long, I will add the HDF5 install in another PR.

PS: The code can now install both HDF5 and OpenBLAS.

mkstoyanov commented 2 months ago

@stefan-schnake Take a look at the "example" of continuity2d and see if my language is fitting what we want to do.

Also, this may help a lot with your work.

quantumsteve commented 1 month ago

@quantumsteve We should add -DASGARD_BUILD_HDF5=ON to the failing build. I don't want ASGarD to build large third party projects unless the user explicitly asks for that.

buildscript's updated.