From 9440636f25a862faa8d622b3b89f0706d0a6c798 Mon Sep 17 00:00:00 2001 From: toge Date: Mon, 30 Jan 2023 16:07:35 +0900 Subject: [PATCH] (#15388) fast_float: add version 3.9.0, remove older versions --- recipes/fast_float/all/conandata.yml | 18 +++--------------- .../all/test_v1_package/CMakeLists.txt | 9 +++------ recipes/fast_float/config.yml | 12 ++---------- 3 files changed, 8 insertions(+), 31 deletions(-) diff --git a/recipes/fast_float/all/conandata.yml b/recipes/fast_float/all/conandata.yml index 671eec2eea6bf9..76bbe057cc66f0 100644 --- a/recipes/fast_float/all/conandata.yml +++ b/recipes/fast_float/all/conandata.yml @@ -1,4 +1,7 @@ sources: + "3.9.0": + url: "https://github.com/fastfloat/fast_float/archive/v3.9.0.tar.gz" + sha256: "a10443e13748291709b422b2da49fc6753a1a43bf24205d4600595dfe3d811bb" "3.8.1": url: "https://github.com/fastfloat/fast_float/archive/v3.8.1.tar.gz" sha256: "823d7f8df7fadc3ed24738eb0cf4a40f0450068edd92805698916be40966d87a" @@ -17,27 +20,12 @@ sources: "3.4.0": url: "https://github.com/fastfloat/fast_float/archive/v3.4.0.tar.gz" sha256: "a242877d2fae81ca412033f5ebf5dbc43cb029c56b4af78e33106b9a69f8f58e" - "3.2.0": - url: "https://github.com/fastfloat/fast_float/archive/v3.2.0.tar.gz" - sha256: "c26d78b2b76704b117c416292bc47fa3e4bb69a131e82debe0e8fd5c7afdf18e" - "3.1.0": - url: "https://github.com/fastfloat/fast_float/archive/v3.1.0.tar.gz" - sha256: "755ee0bdde8ee0cc10ae16e1f283c2833d9cfa7ea114950ab807dc7ee108f722" "2.0.0": url: "https://github.com/fastfloat/fast_float/archive/v2.0.0.tar.gz" sha256: "5d528ec20811577c5f2b2873528c085c500fdcd2b2c0901450509a71de5f1fa4" "1.1.2": url: "https://github.com/fastfloat/fast_float/archive/v1.1.2.tar.gz" sha256: "580655a9ad2aeac7507de4433dcf985d8699ae8128b97c2cabc0962aa5beb513" - "1.1.1": - url: "https://github.com/fastfloat/fast_float/archive/refs/tags/v1.1.1.tar.gz" - sha256: "d17eb86f597e9f4972a1d5f81c42c7dee041aaae2e826b80685ed90dad5b3593" - "1.0.0": - url: "https://github.com/fastfloat/fast_float/archive/v1.0.0.tar.gz" - sha256: "694e87e6f5e08d4a5f22efcc8fb1977e30f3d63bfc7995a6a7a7288c3d581d75" "0.9.0": url: "https://github.com/fastfloat/fast_float/archive/v0.9.0.tar.gz" sha256: "1e40982107e03559a98323a0b97fc2110d73b0743818fe2cdc09abe77c4c5af8" - "0.8.0": - url: "https://github.com/fastfloat/fast_float/archive/v0.8.0.tar.gz" - sha256: "0c10d6b476504f601a380846f51939d3e1ae483888e025ad12d6d36a4b441346" diff --git a/recipes/fast_float/all/test_v1_package/CMakeLists.txt b/recipes/fast_float/all/test_v1_package/CMakeLists.txt index e5e8bb319fc1fe..be00a8c7f57c71 100644 --- a/recipes/fast_float/all/test_v1_package/CMakeLists.txt +++ b/recipes/fast_float/all/test_v1_package/CMakeLists.txt @@ -1,11 +1,8 @@ cmake_minimum_required(VERSION 3.8) -project(test_package LANGUAGES CXX) +project(test_package) include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup(TARGETS) -find_package(FastFloat REQUIRED CONFIG) - -add_executable(${PROJECT_NAME} ../test_package/test_package.cpp) -target_link_libraries(${PROJECT_NAME} PRIVATE FastFloat::fast_float) -target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) +add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../test_package/ + ${CMAKE_CURRENT_BINARY_DIR}/test_package/) diff --git a/recipes/fast_float/config.yml b/recipes/fast_float/config.yml index d1bb7ba8038136..9546418fa4a6d7 100644 --- a/recipes/fast_float/config.yml +++ b/recipes/fast_float/config.yml @@ -1,4 +1,6 @@ versions: + "3.9.0": + folder: all "3.8.1": folder: all "3.8.0": @@ -11,19 +13,9 @@ versions: folder: all "3.4.0": folder: all - "3.2.0": - folder: all - "3.1.0": - folder: all "2.0.0": folder: all "1.1.2": folder: all - "1.1.1": - folder: all - "1.0.0": - folder: all "0.9.0": folder: all - "0.8.0": - folder: all