1- # Long Tests
1+ # Advanced Build Options
22
3- ## What are they
3+ An optional ` .BBSoptions ` file at the package root can alter the default
4+ build behavior, such as excluding a package from unsupported platform or
5+ including a package in an optional build.
6+
7+ ## Skipping builds on unsupported platforms
8+
9+ In the ` .BBSoptions ` file, add the line ` UnsupportedPlatforms: ` with the
10+ platform--` win ` , ` win64 ` , or ` mac ` --or the name of a build node. For example
11+
12+ UnsupportedPlatforms: win64, kjohnson3
13+
14+ ## Optional builds: long tests and GPU builds
15+
16+ Two optional builds are available to software packages: long tests and GPU
17+ builds. Maintainers can opt their packages in to these builds using the
18+ ` .BBSoptions ` file.
19+
20+ ### Long tests
21+
22+ #### What are they
423
524Code in the ` tests ` subdirectory of all Bioconductor software
625packages is run by ` R CMD check ` on a daily basis as part of
@@ -12,7 +31,7 @@ Package developers who wish to implement `tests` that will be too long
1231to run in the context of the nightly builds can set up "long tests" in
1332their package and add the package to the Bioconductor _ Long Tests builds_ .
1433
15- ## Setup
34+ #### Setup
1635
17364 steps:
1837
@@ -39,7 +58,7 @@ Note that we also run the _Long Tests builds_ for the current release
3958branch once a week (every Saturday). The latest report for these builds
4059is [ here] [ release-LongTests-report ] .
4160
42- ## "Short tests" vs "long tests"
61+ #### "Short tests" vs "long tests"
4362
4463The _ Long Tests_ setup forces developers to split the testing code
4564in their package between "short tests" and "long tests". The former go in
@@ -54,8 +73,25 @@ prevent a package from propagating after a version bump. In other words,
5473even if a package is included in the _ Long Tests builds_ , propagation
5574is still determined by the results of the nightly builds.
5675
76+ ### GPU builds
77+
78+ If a package needs a GPU to properly build it should be added to the
79+ [ GPU builds] [ devel-GPU-report ] , which build and check packages on GPU machines.
80+ In the ` .BBSoptions ` file, maintainers should set ` GPU_reliance ` term to
81+ ` required ` :
82+
83+ ```
84+ GPU_reliance: required
85+ ```
86+
87+ If a package supports GPUs if available, maintainers may opt in to the build
88+ by setting the ` GPU_reliance ` term set to `optional:
89+
90+ ```
91+ GPU_reliance: optional
92+ ```
93+
5794## Need help?
5895
5996Ask on the [ bioc-devel] [ bioc-devel-mail ] mailing list if you have questions or
60- need help with the _ Long Tests builds_ .
61-
97+ need help.
0 commit comments