mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
2c566627a1
From revision asmjit/asmjit@e5d7c0bd5d
17 lines
704 B
Bash
17 lines
704 B
Bash
#!/bin/sh
|
|
|
|
CURRENT_DIR="`pwd`"
|
|
BUILD_DIR="${CURRENT_DIR}/../build"
|
|
BUILD_OPTIONS="-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DASMJIT_TEST=1"
|
|
|
|
echo "== [Configuring Build - Release_ASAN] =="
|
|
eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}/Release_ASAN" ${BUILD_OPTIONS} -DCMAKE_BUILD_TYPE=Release -DASMJIT_SANITIZE=address
|
|
echo ""
|
|
|
|
echo "== [Configuring Build - Release_UBSAN] =="
|
|
eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}/Release_UBSAN" ${BUILD_OPTIONS} -DCMAKE_BUILD_TYPE=Release -DASMJIT_SANITIZE=undefined
|
|
echo ""
|
|
|
|
echo "== [Configuring Build - Release_MSAN] =="
|
|
eval cmake "${CURRENT_DIR}/.." -B "${BUILD_DIR}/Release_MSAN" ${BUILD_OPTIONS} -DCMAKE_BUILD_TYPE=Release -DASMJIT_SANITIZE=memory
|
|
echo ""
|