NVIDIA / numbast

Numbast is a tool to build an automated pipeline that converts CUDA APIs into Numba bindings.
Apache License 2.0
15 stars 6 forks source link

New ASTCanopy Build System #54

Closed isVoid closed 3 months ago

isVoid commented 4 months ago

This PR changes astcanopy build system to the following:

Additionally, this PR restructures the cpp project layout following C++ header layout convention (<ast_canopy/ast_canopy.hpp>).

This PR also removes cuda-tookit dependency for ast_canopy. Partially contributing to #53.

One question left unanswered is that ast-canopy recipe explicitly needs {{ compiler('c') }} in run/host. While cuda-nvcc already depends on some host compilers, nvcc needs the gcc binary to correctly function, and gcc_linux-64 package doesn't provide this binary. This makes me feel that cuda-nvcc package recipe is incomplete. But I'm not sure, and it should not be blocking this PR. See this CI job for more detail.

Fixes #52

isVoid commented 3 months ago

a6e99d1 passes all CI tests. I'm now experimenting removing host compiler explicit dependency from conda meta.