-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Upgrade FBOS dependencies to 2024.09.16.00 #11018
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright (c) Facebook, Inc. and its affiliates. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
include_guard(GLOBAL) | ||
|
||
set(VELOX_FAST_FLOAT_VERSION 6.1.6) | ||
set(VELOX_FAST_FLOAT_BUILD_SHA256_CHECKSUM | ||
4458aae4b0eb55717968edda42987cabf5f7fc737aee8fede87a70035dba9ab0) | ||
set(VELOX_FAST_FLOAT_SOURCE_URL | ||
"https://github.com/fastfloat/fast_float/archive/v${VELOX_FAST_FLOAT_VERSION}.tar.gz" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if this URL path is broken. I think we expect There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This URL works for me. I can navigate in the browser and download it (https://github.com/fastfloat/fast_float/archive/v6.1.6.tar.gz) This is used when you bundle folly. Other than that it should not come up. |
||
) | ||
|
||
resolve_dependency_url(FAST_FLOAT) | ||
|
||
message(STATUS "Building fast_float from source") | ||
FetchContent_Declare( | ||
fast_float | ||
URL ${VELOX_FAST_FLOAT_SOURCE_URL} | ||
URL_HASH ${VELOX_FAST_FLOAT_BUILD_SHA256_CHECKSUM}) | ||
|
||
FetchContent_MakeAvailable(fast_float) | ||
# Folly searches for the header path directly so need to make sure to search in | ||
# the dependency path. | ||
list(APPEND CMAKE_PREFIX_PATH "${fast_float_SOURCE_DIR}") |
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.
I thought this folly version also uses fmt11? Or is it backwards compatible?
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.
It is backwards compatible. I had originally planned to also upgrade fmt to 11 but there is another PR that needs to be merged first that prepares the code for fmt 11.
Upgrading fmt is next.
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.
It is backward compatible since Meta internally is still on fmt9 but on latest folly.