Skip to content

Commit

Permalink
build: polyfill realpath on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Jan 4, 2024
1 parent a967dbe commit a3583e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .circleci/config/base.yml
Expand Up @@ -1650,6 +1650,10 @@ commands:
ELECTRON_DISABLE_SECURITY_WARNINGS: 1
command: |
cd src
if ! command -v realpath &> /dev/null
then
function realpath { echo $(cd $(dirname $1); pwd)/$(basename $1); }
fi
if [ "$IS_ASAN" == "1" ]; then
ASAN_SYMBOLIZE="$PWD/tools/valgrind/asan/asan_symbolize.py --executable-path=$PWD/out/Default/electron"
export ASAN_OPTIONS="symbolize=0 handle_abort=1"
Expand Down

0 comments on commit a3583e5

Please sign in to comment.