Skip to content

added nlohmann and vitis hls headers as submodules #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pviscone
Copy link
Contributor

This PR adds nhlomann and Vitis_HLS 2024.2 headers as submodules, together with some dependencies (gmp.h and mpfr.h).

The reason I made this PR is to be able to run at least the c++ backend on most of the systems without external requirements (e.g. vocms machines do not have vitis headers or lack dependencies like gmp-devel and mpfr-devel).

The user can still use another version of the vitis headers just setting the XILINX_AP_INCLUDE env var before running conifer

@thesps
Copy link
Owner

thesps commented Mar 20, 2025

Hi, I like the idea of including the nlohmann JSON and ap_fixed headers to make it easier to install. I would prefer not to include them as Git submodules, but rather have them downloaded as part of the pip install step. Would you be willing to work on that?

I'm not convinced about including the other headers.

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