Skip to content

Commit 5401972

Browse files
Build less targets
1 parent 281dd2d commit 5401972

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

buildconfig/Jenkins/build_and_publish_docs.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,8 @@ cmake -G Ninja \
3131
-DDOCS_SCREENSHOTS=ON \
3232
${WORKSPACE}/source
3333

34-
# Build the StandardTestData target. We need this test data to build docs-html
35-
cmake --build . --target DocTestData
36-
3734
# Configure the 'datasearch.directories' in the Mantid.properties file so the test data is found
38-
# Docs should only require DocTest data
35+
# Docs should only require DocTestData which is a dependency of the target
3936
export STANDARD_TEST_DATA_DIR=$PWD/ExternalData/Testing/Data
4037
echo 'datasearch.directories = '$STANDARD_TEST_DATA_DIR'/DocTest/' >> $WORKSPACE/miniforge/envs/docs-build/bin/Mantid.properties
4138

conda/recipes/mantiddocs/build.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,8 @@ LD_PRELOAD="" \
3535
-GNinja \
3636
../
3737

38-
cmake --build .
39-
40-
# Build the DocTestData target. This might not be strictly necessary.
41-
cmake --build . --target DocTestData
42-
4338
# Configure the 'datasearch.directories' in the Mantid.properties file so the test data is found
44-
# Docs should only require DocTest data
39+
# Docs should only require DocTestData
4540
export STANDARD_TEST_DATA_DIR=$SRC_DIR/build/ExternalData/Testing/Data
4641
echo 'datasearch.directories = '$STANDARD_TEST_DATA_DIR'/DocTest/' >> $PREFIX/bin/Mantid.properties
4742

0 commit comments

Comments
 (0)