Skip to content

Commit de93081

Browse files
committed
Use MSVC for Windows ASan diagnostic
1 parent ce3118c commit de93081

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/windows-asan-diagnostic.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,17 @@ jobs:
3333
clang-cl --version
3434
cmake --version
3535
python --version
36-
- name: Configure ClangCL AddressSanitizer build
36+
- name: Configure MSVC AddressSanitizer build
3737
shell: pwsh
3838
run: |
3939
$python = (Get-Command python).Source
4040
cmake -S . -B build-windows-asan -GNinja `
4141
-DCMAKE_BUILD_TYPE=RelWithDebInfo `
42-
-DCMAKE_C_COMPILER=clang-cl `
43-
-DCMAKE_CXX_COMPILER=clang-cl `
4442
-DPython_EXECUTABLE="$python" `
4543
-DHGRAPH_BUILD_PYTHON_BINDINGS=ON `
4644
-DHGRAPH_ENABLE_PYTHON_USER_NODES=ON `
4745
-DHGRAPH_PYTHON_STABLE_ABI=ON `
48-
-DHGRAPH_ENABLE_ASAN=ON `
46+
'-DCMAKE_CXX_FLAGS=/fsanitize=address /Oy- /D_DISABLE_STRING_ANNOTATION' `
4947
-DHGRAPH_WARNINGS_AS_ERRORS=OFF `
5048
-DBUILD_TESTING=OFF
5149
- name: Build extension

0 commit comments

Comments
 (0)