I am using PyROOT to bind some c++ code that uses CUDA. In the end up with a shared library that can then be imported into Python. When I load my library, I get a typedef redefinition error which arises from two different typedef's going on, one assuming cuda is used and another where it isn't (inside RooFit) causing a clash.
I see that by default a lot of things are turned on in these root builds. I was just looking for any information on adding cuda to these builds ( much larger build matrix, I know ), or if there were any technical steps I could take to not install certain parts of conda root or somehow use this repo's source code to build root. I have tried building an updated root version from source without sudo permissions and it has been an unsuccessful headache.
Comment:
Hi, this question is related to https://github.com/conda-forge/root-feedstock/issues/164 I am using root v6.26.10 installed via conda.
I am using PyROOT to bind some c++ code that uses CUDA. In the end up with a shared library that can then be imported into Python. When I load my library, I get a typedef redefinition error which arises from two different typedef's going on, one assuming cuda is used and another where it isn't (inside RooFit) causing a clash.
I see that by default a lot of things are turned on in these root builds. I was just looking for any information on adding cuda to these builds ( much larger build matrix, I know ), or if there were any technical steps I could take to not install certain parts of conda root or somehow use this repo's source code to build root. I have tried building an updated root version from source without sudo permissions and it has been an unsuccessful headache.