Skip to content

Commit 7abc031

Browse files
committed
Set empty LD_LIBRARY_PATH
1 parent cb076d7 commit 7abc031

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.buildkite/scripts/cuvs-snapshot/configure.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
#!/bin/bash
22

3-
set -eo pipefail
3+
set -euo pipefail
44

55
if [[ -f /etc/profile.d/elastic-nvidia.sh ]]; then
66
export JAVA_HOME="$HOME/.java/openjdk24"
77
export PATH="$JAVA_HOME/bin:$PATH"
88

99
# Setup LD_LIBRARY_PATH, PATH
1010

11+
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-}"
1112
source /etc/profile.d/elastic-nvidia.sh
1213
fi
1314

14-
set -u
15-
1615
# Not running this before the tests results in an error when running the tests
1716
# No idea why...
1817
nvidia-smi

0 commit comments

Comments
 (0)