Open francisbouvier opened 9 years ago
Thrust-Go has a SpawnProvisioner Interface. The SpawnProvisioner controls how to check/download/execute/manage a thrust executable. I may change the default to be more Harmonized however, my goal is that users are not actually using the auto download capabilities, and instead packaging the thrust exe with final installs.
@miketheprogrammer I agree that for end users we need to provide everything (including the Thrust exe) in a bundle app.
But for developers I believe the best way is to share the Thrust exe.
For the Go binding it's already the case, but for the node and python bindings this is not (except if you sudo pip install
or npm -g install
but this not very common).
And it's better to have a consistent approach across all bindings of how the Thrust exe is handled.
Hi,
Currently Thrust executable location depends on witch binding you use:
$ENV/lib/python3.x/site-packages/pythrust/vendor/thrust/
$ENV/node_modules/node-thrust/vendor/thrust/
$HOME/vendor/$OS/$ARCH/$VERSION/
I think it will be good to harmonize all at
$HOME/.thrust/$VERSION/
Why:
What do you think ?