Skip to content

Commit

Permalink
WIP: More updated (trilinos#3183)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlettroscoe committed Jul 31, 2018
1 parent 02eb4bc commit 019f459
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions cmake/std/atdm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -602,13 +602,13 @@ described below.
It is often the case that a test needs to be disabled for several (or all)
builds for a given platform. An efficient way to do this is to create a new
`*.cmake` file that contains the `ATDM_SET_ENABLE()` statements and then
include that new file in all of the teaks files on that system where the tests
should be disabled.
include that new file in all of the tweaks files on that system where the
tests should be disabled.

For example, the Trilinos commit
[3450efd421](https://github.com/trilinos/Trilinos/commit/3450efd421f1ce2b47700853aa4c5801f667202a)
shows how a set of tests was disabled for all of the CUDA builds on `ride`
through the creation of the `CUDA_COMMON_TWEAKS.cmake` file:
shows how a set of tests were disabled for all of the CUDA builds on the
system `ride` through the creation of the file:

```
Trilinos/cmake/std/atdm/ride/tweaks/CUDA_COMMON_TWEAKS.cmake
Expand All @@ -629,8 +629,9 @@ INCLUDE("${CMAKE_CURRENT_LIST_DIR}/CUDA_COMMON_TWEAKS.cmake")
```

An example of using a `*.cmake` file to disable the same set of tests in all
of the builds for a given system, see Trilinos commit [
33a933b004f88710274906fad612380049e1e82e](https://github.com/trilinos/Trilinos/commit/33a933b004f88710274906fad612380049e1e82e). This example shows the creation of the file:
of the builds for a given system, in shown in Trilinos commit [
33a933b004f88710274906fad612380049e1e82e](https://github.com/trilinos/Trilinos/commit/33a933b004f88710274906fad612380049e1e82e).
This example shows the creation of the file:

```
Trilinos/cmake/std/atdm/ride/tweaks/ALL_COMMON_TWEAKS.cmake
Expand All @@ -643,6 +644,8 @@ and then the inclusion of that file in all of the specific tweaks files on
INCLUDE("${CMAKE_CURRENT_LIST_DIR}/ALL_COMMON_TWEAKS.cmake")
```

in each of those files.


### Disable a test for builds on all platforms

Expand Down

0 comments on commit 019f459

Please sign in to comment.