Open tingfengwanxiao opened 8 months ago
When releasing, tests are compiled with ASAN enabled and run locally (so that they detect memory corruption).
If your compiler/linker do not support it, you can probably just disable ASAN for tests:
diff --git a/release.mk b/release.mk
index 89f3da215..1ac045728 100644
--- a/release.mk
+++ b/release.mk
@@ -53,7 +53,7 @@ clean:
test:
[ -d "$(TEST_BUILD_DIR)" ] || ( mkdir "$(TEST_BUILD_DIR)" && \
- meson setup "$(TEST_BUILD_DIR)" -Db_sanitize=address )
+ meson setup "$(TEST_BUILD_DIR)" )
ninja -C "$(TEST_BUILD_DIR)"
$(GRADLE) -p server check
I meet this error when I use release.sh in windows,It seems lack libasan.a file,do you have this file or it is caused by other problem?