diff --git a/recipes/antlr4-cppruntime/all/conandata.yml b/recipes/antlr4-cppruntime/all/conandata.yml index 2605966cb79dc..cbefbe9948203 100644 --- a/recipes/antlr4-cppruntime/all/conandata.yml +++ b/recipes/antlr4-cppruntime/all/conandata.yml @@ -1,39 +1,42 @@ sources: - "4.9.3": - url: "https://github.com/antlr/antlr4/archive/refs/tags/4.9.3.tar.gz" - sha256: "efe4057d75ab48145d4683100fec7f77d7f87fa258707330cadd1f8e6f7eecae" - "4.10.1": - url: "https://github.com/antlr/antlr4/archive/refs/tags/4.10.1.tar.gz" - sha256: "a320568b738e42735946bebc5d9d333170e14a251c5734e8b852ad1502efa8a2" + "4.12.0": + url: "https://github.com/antlr/antlr4/archive/refs/tags/4.12.0.tar.gz" + sha256: "8b6050a2111a6bb6405cc5e9e7bca80c136548ac930e4b2c27566d1eb32f8aed" "4.11.1": url: "https://github.com/antlr/antlr4/archive/refs/tags/4.11.1.tar.gz" sha256: "81f87f03bb83b48da62e4fc8bfdaf447efb9fb3b7f19eb5cbc37f64e171218cf" -patches: + "4.10.1": + url: "https://github.com/antlr/antlr4/archive/refs/tags/4.10.1.tar.gz" + sha256: "a320568b738e42735946bebc5d9d333170e14a251c5734e8b852ad1502efa8a2" "4.9.3": - - patch_file: "patches/0001-update-cmakelist.patch" - - patch_file: "patches/0004-update-DropLibuuid-4.9.3-1.patch" + url: "https://github.com/antlr/antlr4/archive/refs/tags/4.9.3.tar.gz" + sha256: "efe4057d75ab48145d4683100fec7f77d7f87fa258707330cadd1f8e6f7eecae" +patches: + "4.11.1": + - patch_file: "patches/0002-update-FlatHashSet.patch" + patch_description: "Fix the compiler errors reported by GCC 7 due to the new type FlatHashSet introduced in 4.11." + patch_type: "portability" + patch_source: "https://github.com/antlr/antlr4/pull/3885" + - patch_file: "patches/0003-update-FlatHashMap.patch" + patch_description: "Fix the compiler errors reported by GCC 7 due to the new type FlatHashMap introduced in 4.11." + patch_type: "portability" + patch_source: "https://github.com/antlr/antlr4/pull/3885" + "4.10.1": + - patch_file: "patches/0004-update-DropLibuuid-4.10.x-1.patch" patch_description: "Revise the CMakeLists.txt to remove the dependency on libuuid (#1) which is not used since 4.9." patch_type: "backport" patch_source: "https://github.com/antlr/antlr4/pull/3787" - - patch_file: "patches/0004-update-DropLibuuid-4.9.3-2.patch" + - patch_file: "patches/0004-update-DropLibuuid-4.10.x-2.patch" patch_description: "Revise the CMakeLists.txt to remove the dependency on libuuid (#2) which is not used since 4.9." patch_type: "backport" patch_source: "https://github.com/antlr/antlr4/pull/3787" - "4.10.1": - - patch_file: "patches/0004-update-DropLibuuid-4.10.x-1.patch" + "4.9.3": + - patch_file: "patches/0001-update-cmakelist.patch" + - patch_file: "patches/0004-update-DropLibuuid-4.9.3-1.patch" patch_description: "Revise the CMakeLists.txt to remove the dependency on libuuid (#1) which is not used since 4.9." patch_type: "backport" patch_source: "https://github.com/antlr/antlr4/pull/3787" - - patch_file: "patches/0004-update-DropLibuuid-4.10.x-2.patch" + - patch_file: "patches/0004-update-DropLibuuid-4.9.3-2.patch" patch_description: "Revise the CMakeLists.txt to remove the dependency on libuuid (#2) which is not used since 4.9." patch_type: "backport" patch_source: "https://github.com/antlr/antlr4/pull/3787" - "4.11.1": - - patch_file: "patches/0002-update-FlatHashSet.patch" - patch_description: "Fix the compiler errors reported by GCC 7 due to the new type FlatHashSet introduced in 4.11." - patch_type: "portability" - patch_source: "https://github.com/antlr/antlr4/pull/3885" - - patch_file: "patches/0003-update-FlatHashMap.patch" - patch_description: "Fix the compiler errors reported by GCC 7 due to the new type FlatHashMap introduced in 4.11." - patch_type: "portability" - patch_source: "https://github.com/antlr/antlr4/pull/3885" diff --git a/recipes/antlr4-cppruntime/all/test_package/CMakeLists.txt b/recipes/antlr4-cppruntime/all/test_package/CMakeLists.txt index e1a9346912d37..e4aff6ceb5ae4 100644 --- a/recipes/antlr4-cppruntime/all/test_package/CMakeLists.txt +++ b/recipes/antlr4-cppruntime/all/test_package/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.8) -project(test_package CXX) +project(test_package LANGUAGES CXX) find_package(antlr4-runtime REQUIRED CONFIG) diff --git a/recipes/antlr4-cppruntime/config.yml b/recipes/antlr4-cppruntime/config.yml index fd8294e924d85..58018c9cc3666 100644 --- a/recipes/antlr4-cppruntime/config.yml +++ b/recipes/antlr4-cppruntime/config.yml @@ -1,7 +1,9 @@ versions: - "4.9.3": + "4.12.0": + folder: all + "4.11.1": folder: all "4.10.1": folder: all - "4.11.1": + "4.9.3": folder: all