Skip to content

Conversation

tmadlener
Copy link
Contributor

@tmadlener tmadlener commented Sep 16, 2025

Guard FRNN building and linking behind more CMake conditions and fix a few compiler warnings

--- END COMMIT MESSAGE ---

@benjaminhuth these are a few minor things I stumbled over when trying to build entirely without CUDA.

@github-actions github-actions bot added this to the next milestone Sep 16, 2025
@github-actions github-actions bot added the Component - Plugins Affects one or more Plugins label Sep 16, 2025
@tmadlener
Copy link
Contributor Author

For completeness: this allows to build with the following combination of flags:

-DACTS_BUILD_PLUGIN_GNN=ON \
-DACTS_GNN_ENABLE_CUDA=OFF \
-DACTS_GNN_ENABLE_ONNX=ON \
-DACTS_GNN_ENABLE_TORCH=ON

@benjaminhuth
Copy link
Member

Thanks for adding this! I did not look into CPU only builds for years now... In principle we build this combination in the CI I think, but there we do have CUDA in the image and actually augment the path to find it...

Maybe you could try if you can remove this line from the CI?

- export PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:$PATH

Seems to be the appropriate thing to do here, since
FetchContent_MakeAvailable doesn't work for the use case here.
@tmadlener tmadlener force-pushed the build-gnn-plugin-no-cuda branch from 0e0f9ae to ea338c5 Compare October 6, 2025 08:25
Copy link
Contributor

github-actions bot commented Oct 6, 2025

📊: Physics performance monitoring for 4bfe693

Full contents

physmon summary

❗️: Downstream build failure

  • eic-shell (cc @acts-project/epic-contacts)

@tmadlener tmadlener force-pushed the build-gnn-plugin-no-cuda branch from ea338c5 to 4bfe693 Compare October 6, 2025 11:24
Copy link

sonarqubecloud bot commented Oct 6, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component - Plugins Affects one or more Plugins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants