From 7b0dea5b36cd7f7f0e599bd7178e8c654c8d2094 Mon Sep 17 00:00:00 2001 From: kreuzerkrieg Date: Sat, 28 Mar 2020 06:29:06 +0300 Subject: [PATCH] [ryu]Fix linux problem with ccache (#10340) * Fix linux problem with ccache * wip * wip --- ports/ryu/CONTROL | 3 ++- ports/ryu/portfile.cmake | 4 ++-- 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 )