-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPCC-33490 Add vcpkg support for antlr3 dependency #19554
Open
GordonSmith
wants to merge
1
commit into
hpcc-systems:master
Choose a base branch
from
GordonSmith:VCPKG_ANTLR3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,9 +1,6 @@ | ||
[submodule "esp/src/dgrid"] | ||
path = esp/src/dgrid | ||
url = https://github.com/hpcc-systems/dgrid.git | ||
[submodule "esp/services/ws_sql/libantlr3c"] | ||
path = esp/services/ws_sql/libantlr3c | ||
url = https://github.com/hpcc-systems/libantlr3c.git | ||
[submodule "vcpkg"] | ||
path = vcpkg | ||
url = https://github.com/hpcc-systems/vcpkg.git |
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 was deleted.
Oops, something went wrong.
Submodule libantlr3c
deleted from
bfd2e5
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
vcpkg_download_distfile(LIB_C | ||
URLS "https://github.com/antlr/website-antlr3/raw/refs/heads/gh-pages/download/C/libantlr3c-${VERSION}.tar.gz" | ||
FILENAME "libantlr3c-${VERSION}.tar.gz" | ||
SHA512 8edb243d745ff5bf3b15940f124d1255a9ca965cb656a73a558aed7fa07effcd7620f23dc692e5d5169a03200254836dd57af3ce444ba225281a5b721497e211 | ||
) | ||
vcpkg_extract_source_archive(SOURCE_PATH | ||
ARCHIVE "${LIB_C}" | ||
) | ||
vcpkg_configure_make( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
COPY_SOURCE | ||
OPTIONS | ||
--enable-64bit | ||
) | ||
vcpkg_install_make() | ||
vcpkg_fixup_pkgconfig() | ||
vcpkg_copy_pdbs() | ||
|
||
vcpkg_download_distfile(COMPLETE_JAR | ||
URLS "https://github.com/antlr/website-antlr3/raw/refs/heads/gh-pages/download/antlr-${VERSION}-complete.jar" | ||
FILENAME "antlr-${VERSION}-complete.jar" | ||
SHA512 04be4dfba3a21f3ab9d9e439a64958bd8e844a9f151b798383bd9e0dd6ebc416783ae7cb1d1dbb27fb7288ab9756b13b8338cdb8ceb41a10949c852ad45ab1f2 | ||
) | ||
vcpkg_download_distfile(RUNTIME_JAR | ||
URLS "https://github.com/antlr/website-antlr3/raw/refs/heads/gh-pages/download/antlr-runtime-${VERSION}.jar" | ||
FILENAME "antlr-runtime-${VERSION}.jar" | ||
SHA512 1786aff2df4664483adcb319e64be7b69b643ac9508c3f11796b5aa45b9072b46f53f0a21b2ff7291162afe81506de16161746273e4532ebad75adbd81203f0d | ||
) | ||
file(INSTALL | ||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/antlr3" | ||
TYPE FILE | ||
FILES ${COMPLETE_JAR} ${RUNTIME_JAR} | ||
) | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "antlr3", | ||
"version": "3.4", | ||
"port-version": 0, | ||
"description": "ANother Tool for Language Recognition", | ||
"homepage": "https://www.antlr.org", | ||
"license": "BSD-3-Clause", | ||
"supports": "!uwp", | ||
"dependencies": [] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./configure will need prompting for certain architectures. linux-arm64 in particular needs to have this added as an option:
--build=aarch64-unknown-linux
I suspect macOS (arm64/aarch64) is in the same boat.