diff --git a/master/custom/builders.py b/master/custom/builders.py index f781c69c..c77aecd7 100644 --- a/master/custom/builders.py +++ b/master/custom/builders.py @@ -21,7 +21,7 @@ UnixRefleakBuild, UnixNoGilBuild, UnixNoGilRefleakBuild, - MacOSAsanNoGilBuild, + MacOSIntelAsanNoGilBuild, ClangUnixBuild, ClangUbsanLinuxBuild, ClangUbsanFunctionLinuxBuild, @@ -278,7 +278,7 @@ def generate_builderdefs(tags, entries): # macOS x86-64 clang ("x86-64 macOS", "billenstein-macos", UnixBuild), ("x86-64 MacOS Intel NoGIL", "itamaro-macos-intel-aws", UnixNoGilBuild), - ("x86-64 MacOS Intel ASAN NoGIL", "itamaro-macos-intel-aws", MacOSAsanNoGilBuild), + ("x86-64 MacOS Intel ASAN NoGIL", "itamaro-macos-intel-aws", MacOSIntelAsanNoGilBuild), # WASI ("wasm32-wasi", "bcannon-wasi", Wasm32WasiPreview1DebugBuild), diff --git a/master/custom/factories.py b/master/custom/factories.py index c5ce171e..255e1c7c 100644 --- a/master/custom/factories.py +++ b/master/custom/factories.py @@ -620,13 +620,14 @@ class MacOSArmWithBrewNoGilRefleakBuild(UnixNoGilRefleakBuild): ] -class MacOSAsanNoGilBuild(UnixAsanNoGilBuild): +class MacOSIntelAsanNoGilBuild(UnixAsanNoGilBuild): + # Intel (x86_64) Mac: Homebrew's prefix is /usr/local, not /opt/homebrew. buildersuffix = ".macos-with-brew.asan.nogil" configureFlags = UnixAsanNoGilBuild.configureFlags + [ - "--with-openssl=/opt/homebrew/opt/openssl@3", - "CPPFLAGS=-I/opt/homebrew/include", - "LDFLAGS=-L/opt/homebrew/lib", - "PKG_CONFIG_PATH=/opt/homebrew/opt/tcl-tk@8/lib/pkgconfig", + "--with-openssl=/usr/local/opt/openssl@3", + "CPPFLAGS=-I/usr/local/include", + "LDFLAGS=-L/usr/local/lib", + "PKG_CONFIG_PATH=/usr/local/opt/tcl-tk@8/lib/pkgconfig", ] asan_options = 'detect_leaks=0:allocator_may_return_null=1:handle_segv=0' compile_environ = {'ASAN_OPTIONS': asan_options}