Skip to content

cmake: install FAL (xaiefal) headers alongside the driver library#1

Open
laurettaSchubert wants to merge 1 commit intoXilinx:mainfrom
laurettaSchubert:xmc/fal-install-headers
Open

cmake: install FAL (xaiefal) headers alongside the driver library#1
laurettaSchubert wants to merge 1 commit intoXilinx:mainfrom
laurettaSchubert:xmc/fal-install-headers

Conversation

@laurettaSchubert
Copy link
Copy Markdown

Summary

Include the FAL (xaiefal) header-only C++ wrappers in the CMake install so that consumers using find_package(aie_codegen CONFIG) get both the C driver library and the xaiefal headers.

Why this is needed

The aie-codegen project already exports a proper CMake config package (aie_codegen-config.cmake) via install(EXPORT). Consumers can find_package(aie_codegen CONFIG) and link against aie_codegen::aie_codegen to get the C driver library and its headers.

However, the FAL (xaiefal) C++ wrapper headers (fal/src/) are not included in the install. Consumers that need both the C driver and the FAL C++ API (e.g. cardano's aiecompiler_client) currently have to fall back to compiling from source and staging headers manually, defeating the purpose of the config package.

Adding FAL headers to the install allows these consumers to switch to find_package and link the pre-built library — eliminating duplicate compilation and manual header staging.

Installed paths

include/xaiefal/common/*.hpp
include/xaiefal/profile/*.hpp
include/xaiefal/rsc/*.hpp
include/xaiefal.hpp

Context

🤖 Generated with Claude Code

Include the FAL header-only C++ wrappers in the install so that
consumers using find_package(aie_codegen CONFIG) get both the C
driver library and the xaiefal headers.

Installed paths:
  include/xaiefal/common/*.hpp
  include/xaiefal/profile/*.hpp
  include/xaiefal/rsc/*.hpp
  include/xaiefal.hpp

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants