Open totaam opened 5 years ago
Downloading CUDA requires authentication, so this can't be fully automated.
Updated instructions:
python3 ./configure.py --cuda-root="c:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.2"
/EHsc
and /FORCE
from siteconf.py
.BOOST_USE_WINDOWS_H=1
in EXTRA_DEFINES
of setup.py
to workaround this boost bug: http://stackoverflow.com/questions/18134148python3 ./setup.py build -c mingw32
python3 ./setup.py install
There are some new dependencies: mako, pytools, markupsafe.
With pycuda 2021.1, there are new MSVC-isms to comment out in setup.py
: /FORCE
and /EHsc
.
The commit above improves things, but we're still missing pytools
.
The pycuda changes are now in a PR: https://github.com/inducer/pycuda/pull/434
The PR has been merged, pycuda 2024.1.2 can be built with:
python3 ./configure.py --cuda-root="C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.3" --no-use-shipped-boost --boost-python-libname=libboost_python311-mt --boost-thread-libname=libboost_thread-mt
python3 setup.py build -c mingw32
python3 setup.py install
As per #1413#comment:2.