Closed davidstutz closed 2 years ago
Hi David,
Thanks for reporting this and providing a fix! Could this be addressed by exporting the CC
, CXX
and CCP
variables on the command line prior to installing? Or does subprocess.call
not use the same environment?
Just wondering if there would be a fix that could remain flexible enough for all users.
Closing due to lack of activity
Hi,
while installing the package I ran into the problem that the CUDA version used to install my torch installation (CUDA 9.2) is not compatible with recent g++ versions (7 or higher). The error looks something like this:
So I just wanted to leave a comment that adapting setup.py as follows (also see https://github.com/davidstutz/torchsort/blob/d97f30233dc7b463899a9072b6a77cb7abade5c7/setup.py#L22) allows to set custom gcc/g++ versions for building:
Thanks for the package! David