Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Conversation

@jaredhoberock
Copy link
Contributor

These revisions make many of the common build-related tasks easier.

Build targets are output to targets/{host_backend}_host_{device_backend}_device_{mode} directories.

The command

$ scons host_backend=all device_backend=all run_tests

Builds and executes the unit tests, the trivial tests for the full cross product of backends.

The command

$ scons host_backend=cpp,omp device_backend=cuda run_examples

Builds and executes the examples for the cpp & omp host backends and the cuda device backend.

The command

$ scons doc

Builds the Doxygen output and puts it in targets/doc/html

The command

$ scons dist

Builds thrust-{major}.{minor}.{subminor}.zip and examples-{major}.{minor}.zip

Fix a typo in build/nvcc.py which wasn't propagating CCFLAGS to nvcc.
Rename examples/SConstruct to examples/SConscript depend on the
environment exported by the parent SConstruct.
Set up a hierarchical build for the unit tester.
Have the testing build build the trivial_tests as well
Add a 'run_tests' alias which builds and runs all the tests, trivial &
otherwise.
Invoke each subsidiary SConscript with a variant_dir argument.
Simplify the top-level .gitignore given the new build targets directory.
ListVariables and iterate over their cross product.
Fix an issue with how trivial tests were being generated
jaredhoberock added a commit that referenced this pull request Mar 27, 2012
New and improved build system
@jaredhoberock jaredhoberock merged commit 122bac9 into NVIDIA:master Mar 27, 2012
kshitij12345 pushed a commit to kshitij12345/thrust that referenced this pull request Mar 24, 2022
Update download link to 0.9.3

Former-commit-id: 3e185b4f3d85092a4a6f22dde9ba7b2ba255c93a
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant