Skip to content

Commit b5d240e

Browse files
committed
build option name change
1 parent 491b7bd commit b5d240e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ REPODIR=$(cd "$(dirname "$0")"; pwd)
2727
LIBCUOPT_BUILD_DIR=${LIBCUOPT_BUILD_DIR:=${REPODIR}/cpp/build}
2828
LIBMPS_PARSER_BUILD_DIR=${LIBMPS_PARSER_BUILD_DIR:=${REPODIR}/cpp/libmps_parser/build}
2929

30-
VALIDARGS="clean libcuopt libmps_parser cuopt_mps_parser cuopt cuopt_server cuopt_sh_client docs deb -a -b -g -s -v -l= --verbose-pdlp --build-lp-only --no-fetch-rapids --skip-c-python-adapters --skip-tests-build --skip-routing-build --skip-fatbin-write [--cmake-args=\\\"<args>\\\"] [--cache-tool=<tool>] -n --allgpuarch --ci-only-arch --show_depr_warn -h --help"
30+
VALIDARGS="clean libcuopt libmps_parser cuopt_mps_parser cuopt cuopt_server cuopt_sh_client docs deb -a -b -g -fsanitize -v -l= --verbose-pdlp --build-lp-only --no-fetch-rapids --skip-c-python-adapters --skip-tests-build --skip-routing-build --skip-fatbin-write [--cmake-args=\\\"<args>\\\"] [--cache-tool=<tool>] -n --allgpuarch --ci-only-arch --show_depr_warn -h --help"
3131
HELP="$0 [<target> ...] [<flag> ...]
3232
where <target> is:
3333
clean - remove all existing build artifacts and configuration (start over)
@@ -44,7 +44,7 @@ HELP="$0 [<target> ...] [<flag> ...]
4444
-g - build for debug
4545
-a - Enable assertion (by default in debug mode)
4646
-b - Build with benchmark settings
47-
-s - Build with sanitizer
47+
-fsanitize - Build with sanitizer
4848
-n - no install step
4949
--no-fetch-rapids - don't fetch rapids dependencies
5050
-l= - log level. Options are: TRACE | DEBUG | INFO | WARN | ERROR | CRITICAL | OFF. Default=INFO
@@ -237,7 +237,7 @@ if hasArg --build-lp-only; then
237237
BUILD_LP_ONLY=1
238238
SKIP_ROUTING_BUILD=1 # Automatically skip routing when building LP-only
239239
fi
240-
if hasArg -s; then
240+
if hasArg -fsanitize; then
241241
BUILD_SANITIZER=1
242242
fi
243243
if hasArg --skip-c-python-adapters; then

0 commit comments

Comments
 (0)