Skip to content

Conversation

@JDPailleux
Copy link

This PR proposes adding a new build system to build the Caffeine library with CMake.
This cmake will also builds required dependencies such as libassert and GASNet if they are not found. If not, it will build the dependency from the latest available release indicated in the CMakeLists.txt.
The native-mult-image test is also built if the LLVMFlang compiler is used (currently it is the only one that supports PRIF lowering).

About the libassert, for the moment, I'm using fpm to build it and assuming that it is available.
A question remains regarding the use of fpm to build libassert :

  • Should I skip using FPM?
  • Should we add a cmake or other build system in Assert other thant fpm and usable by llvm-test-suite ?
  • Or any other suggestion ?

Of course, any feedback regarding this PR is welcome.

@JDPailleux JDPailleux marked this pull request as draft November 19, 2025 12:51
This commit contains the necessary files to build libcaffeine with CMake.
It also builds required dependencies such as libassert and GASNet-ex if
they are not found.
The native-mult-image test is also built if the LLVMFlang compiler is
used (currently it is the only one that supports PRIF lowering).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant