Skip to content

Commit 1637120

Browse files
committed
Update antlr to head upstream.
It fixes the missing `<chronos>` header that makes the Windows compile complain.
1 parent d9e6771 commit 1637120

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
5858
export INSTALL_DIR=`pwd`/install
5959
60+
# https://github.com/antlr/antlr4/pull/4800
61+
sed 's|\(set.*libantlrcpp_INCLUDE_INSTALL_DIR "\)include/|\1${CMAKE_INSTALL_INCLUDEDIR}/|' -i third_party/antlr4/runtime/Cpp/runtime/CMakeLists.txt
62+
6063
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR $CMAKE_ADDITIONAL_ARGS -S . -B build
6164
cmake --build build -j $(nproc)
6265
cmake --install build

third_party/antlr4

Submodule antlr4 updated 460 files

0 commit comments

Comments
 (0)