Skip to content

CI-unixish.yml: specify proper define for "safe libc++"#284

Merged
danmar merged 1 commit intodanmar:masterfrom
firewave:libcxx
Jan 2, 2023
Merged

CI-unixish.yml: specify proper define for "safe libc++"#284
danmar merged 1 commit intodanmar:masterfrom
firewave:libcxx

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

@firewave firewave commented Jan 1, 2023

I followed the documentation from https://libcxx.llvm.org/DesignDocs/DebugMode.html#using-the-debug-mode which refers to LIBCXX_ENABLE_DEBUG_MODE. But that is a CMake define you are supposed to pass when building libc++. Also the debug mode needs the library to be built with it which is not something we do. So as suggested we should enable the assertions via _LIBCPP_ENABLE_ASSERTIONS=1 instead - see https://libcxx.llvm.org/UsingLibcxx.html#assertions-mode.

@firewave firewave changed the title CI-unixish.yml: specify proper define for "safe libc++" CI-unixish.yml: specify proper define for "safe libc++" Jan 1, 2023
@firewave firewave marked this pull request as ready for review January 1, 2023 17:54
@danmar danmar merged commit 0214612 into danmar:master Jan 2, 2023
@firewave firewave deleted the libcxx branch January 3, 2023 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants