-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try building the testing for RE2 with CMake again.
Benchmark on Ubuntu seems problematic with LTO, so... disable LTO. GoogleTest on Windows makes MSVC's linker give "already defined in testing.lib(exhaustive_tester.obj)" errors, so... frob the testing library in the faint hope that the issue will finally be resolved. Change-Id: Ib4237d44a12aa5bd2783d6b1285a5ccb14df4665 Reviewed-on: https://code-review.googlesource.com/c/re2/+/61330 Reviewed-by: Perry Lorier <[email protected]> Reviewed-by: Paul Wankadia <[email protected]>
- Loading branch information
Showing
5 changed files
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
#!/bin/bash | ||
set -eux | ||
|
||
cmake . -D CMAKE_BUILD_TYPE=Debug "$@" | ||
cmake . -D CMAKE_BUILD_TYPE=Debug -D RE2_BUILD_TESTING=ON "$@" | ||
cmake --build . --config Debug --clean-first | ||
# TODO: Build the testing for RE2. | ||
# ctest -C Debug --output-on-failure -E 'dfa|exhaustive|random' | ||
ctest -C Debug --output-on-failure -E 'dfa|exhaustive|random' | ||
|
||
cmake . -D CMAKE_BUILD_TYPE=Release "$@" | ||
cmake . -D CMAKE_BUILD_TYPE=Release -D RE2_BUILD_TESTING=ON "$@" | ||
cmake --build . --config Release --clean-first | ||
# TODO: Build the testing for RE2. | ||
# ctest -C Release --output-on-failure -E 'dfa|exhaustive|random' | ||
ctest -C Release --output-on-failure -E 'dfa|exhaustive|random' | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters