20 Commits

Author SHA1 Message Date
Tonu Naks
8877dea9e6 Provide an option for cleaning old build
Includes also clarifications for using the CUDA_ROOT
in the installation documentation.

Solves eng/toolchain/cuda#34
2023-11-27 13:57:24 +00:00
Leo Germond
7efe5e9cdd fix shellcheck warnings 2023-10-16 18:06:54 +02:00
Tonu Naks
3193973de8 Minor fixes in cross documentation and setup.sh
setup.sh is now compliant with shellcheck.
env.sh still has some oen comments
2023-10-10 16:05:52 +00:00
Ronan Desplanques
db552e9db7 Tweak setup.sh
This commit adds newlines to setup.sh in order to make it easier to
read. It also fixes little inconsistencies in the messages that setup.sh
outputs when it is run.
2023-09-29 15:56:21 +02:00
Léo Germond
2245598adc fix shellcheck warnings 2023-09-12 10:21:52 +02:00
Léo Germond
97cf20f671 shellcheck: fix errors 2023-09-12 09:59:21 +02:00
Léo Germond
f8248e0d2c gprinstall the device api gpr 2023-09-06 19:03:23 +02:00
Tonu Naks
9deecfbd97 Execute mode of setup.sh, ignore generated files 2023-08-25 07:59:51 +00:00
Tonu Naks
4bf4b730ed Small documentation fixes from clean setup 2023-08-25 07:59:51 +00:00
Léo Germond
98396723b0 remove unused return 2023-07-05 15:43:01 +02:00
Léo Germond
32a22e24fa fatal: return 1 -> exit 1 2023-07-05 15:42:54 +02:00
Léo Germond
1c5dba2a4d enrich error message 2023-07-05 15:32:50 +02:00
Ronan Desplanques
f5e3f3259f Check gprbuild version in setup.sh
Before this patch, when setup.sh was run with gprbuild 22.2 or
earlier installed, a confusing error message referring to an ar
invocation was emitted.

This patch adds a check that enforces that the gprbuild executable
installed on the system is recent enough to work with setup.sh.
2023-01-11 13:54:58 +01:00
Leo Germond
8a06baf4cf typo: talking about CPU when NVIDIA doc specifies the options as GPU 2022-11-25 17:53:53 +01:00
Leo Germond
f60e7a8e98 can autodetect compute capability using SMI 2022-11-25 15:43:18 +01:00
Quentin Ochem
90b92ebed3 fixed architecture project warning 2022-11-12 12:53:45 -05:00
Quentin Ochem
d06e51af00 making progress on documentation and simplifications 2022-10-27 17:47:22 -04:00
Quentin Ochem
2a32ec2b80 Continued work on cleanup.
Wrapper now only selects -v to ptxas when set in verbose mode itself.
Various fixes in project files and Makefiles.
Added parameter to setup.sh to select GPU architecture.
2022-10-27 16:21:00 -04:00
Leo Germond
69176899d4 setup: fix for env.sh
Run env.sh from a subshell, allowing to call setup.sh from anywhere
Set NO_SOURCED_CHECK to disable the source check safety (it fails when being run from another script
2022-08-31 10:14:37 +02:00
QuentinOchem
c1c88deb02 improved project setup and installation scripts 2022-06-25 08:04:51 -04:00