mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:08:03 +08:00
[bond] make haskell an external dependency (#7306)
This commit is contained in:
parent
8e17f07f44
commit
9a935a66dc
@ -1,6 +1,6 @@
|
||||
Source: bond
|
||||
Maintainer: bond@microsoft.com
|
||||
Version: 8.1.0-1
|
||||
Description: Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services.
|
||||
Homepage: https://github.com/Microsoft/bond
|
||||
Build-Depends: rapidjson, boost-config, boost-utility, boost-assign
|
||||
Source: bond
|
||||
Maintainer: bond@microsoft.com
|
||||
Version: 8.1.0-2
|
||||
Description: Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services.
|
||||
Homepage: https://github.com/Microsoft/bond
|
||||
Build-Depends: rapidjson, boost-config, boost-utility, boost-assign
|
||||
|
@ -29,22 +29,11 @@ if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "windows" OR
|
||||
endif()
|
||||
|
||||
else()
|
||||
message(STATUS "Installing stack...")
|
||||
vcpkg_download_distfile(
|
||||
ARCHIVE
|
||||
URLS "https://get.haskellstack.org/"
|
||||
FILENAME "stack-install.sh"
|
||||
SHA512 35a953d626d81bebef33d84cfeb54028b315f6e2802fc50739ed8c5731944bcbefea6284e482f898b27bbed421dbf3e43f284998620091a16d8eed825ebcda37
|
||||
)
|
||||
|
||||
set(BASH /bin/bash)
|
||||
|
||||
vcpkg_execute_required_process(
|
||||
COMMAND ${BASH} --noprofile --norc "${ARCHIVE}" -f
|
||||
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}
|
||||
LOGNAME install-stack
|
||||
)
|
||||
|
||||
# According to the readme on https://github.com/microsoft/bond/
|
||||
# The build needs a version of the Haskel Tool stack that is newer than some distros ship with.
|
||||
# For this reason the message is not guarded by checking to see if the tool is installed.
|
||||
message("\nA recent version of Haskell Tool Stack is required to build.\n For information on how to install see https://docs.haskellstack.org/en/stable/README/\n")
|
||||
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
|
Loading…
x
Reference in New Issue
Block a user