aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkreuzerkrieg <kreuzerkrieg@gmail.com>2020-03-28 06:29:06 +0300
committerGitHub <noreply@github.com>2020-03-27 20:29:06 -0700
commit7b0dea5b36cd7f7f0e599bd7178e8c654c8d2094 (patch)
tree24730ab4a4ad4aecf825a0ba636c96601209c5c3
parent4772dc2c40478980efa802ca93374d39e12ba7d9 (diff)
downloadvcpkg-7b0dea5b36cd7f7f0e599bd7178e8c654c8d2094.tar.gz
vcpkg-7b0dea5b36cd7f7f0e599bd7178e8c654c8d2094.zip
[ryu]Fix linux problem with ccache (#10340)
* Fix linux problem with ccache * wip * wip
-rw-r--r--ports/ryu/CONTROL3
-rw-r--r--ports/ryu/portfile.cmake4
2 files changed, 4 insertions, 3 deletions
diff --git a/ports/ryu/CONTROL b/ports/ryu/CONTROL
index 62e6e9f82..c78ca9b38 100644
--- a/ports/ryu/CONTROL
+++ b/ports/ryu/CONTROL
@@ -1,4 +1,5 @@
Source: ryu
-Version: 2.0
+Version: 2.0-1
Homepage: https://github.com/ulfjack/ryu
Description: Ryu generates the shortest decimal representation of a floating point number that maintains round-trip safety.
+Supports: !(uwp|arm|x86)
diff --git a/ports/ryu/portfile.cmake b/ports/ryu/portfile.cmake
index 17d1357da..40bb67941 100644
--- a/ports/ryu/portfile.cmake
+++ b/ports/ryu/portfile.cmake
@@ -1,4 +1,4 @@
-vcpkg_fail_port_install(ON_TARGET "UWP")
+vcpkg_fail_port_install(ON_ARCH "x86" "arm" ON_TARGET "uwp")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
@@ -19,7 +19,7 @@ if (CMAKE_HOST_WIN32)
endif ()
vcpkg_execute_build_process(
- COMMAND ${BAZEL} build --verbose_failures //ryu
+ COMMAND ${BAZEL} build --verbose_failures --strategy=CppCompile=standalone //ryu
WORKING_DIRECTORY ${SOURCE_PATH}
LOGNAME build-${TARGET_TRIPLET}-rel
)