Skip to content

Conversation

@sven-weber
Copy link
Collaborator

Description

As part of a master thesis, we are currently using Coyote to implement FPGA-based database operators. These operators will be integrated into the code base of an existing database. Therefore, we need to consume Coyote as a library from another C++ code base. This PR adds the CMake configurations that are required to consume Coyote as a library, because they have been missing up until now.

Once these changes are merged, one can build the /sw folder of Coyote as a library as follows:

git clone https://github.com/sven-weber/Coyote
pushd coyote/sw
pushd build
cmake_options=(
  "-DCMAKE_BUILD_TYPE=$build_type"
  "-DCMAKE_INSTALL_PREFIX=$dest"
  "-DCOYOTE_VERBOSE=OFF"
)
cmake "${cmake_options[@]}" ..

The majority of the CMakeLists.txt file has been copied from the existing CMakeLists.txt inside /cmake/FindCoyoteSW.cmake.

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • A new research paper code implementation
  • Other

Tests & Results

I tried to consume Coyote as a library with the steps described above and the changes proposed in this PR. This worked without problems!

Checklist

  • [N/A] I have commented my code and made corresponding changes to the documentation.
  • [N/A] I have added tests/results that prove my fix is effective or that my feature works.
  • My changes generate no new warnings or errors & all tests successfully pass.

@bo3z bo3z added reference Reference code for future development wontmerge PR will not be merged; reference code only labels Dec 18, 2025
@bo3z
Copy link
Collaborator

bo3z commented Jan 28, 2026

Closing in favour #185

@bo3z bo3z closed this Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

reference Reference code for future development wontmerge PR will not be merged; reference code only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants