-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[dimcli/draco/refprop-headers/coolprop] Update version #13679
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
Merged
ras0219-msft
merged 6 commits into
microsoft:master
from
JackBoosY:dev/jack/manyports_20200923_4
Sep 28, 2020
Merged
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
1587b0a
[manyports] Update version 5
82e7d62
[coolprop] Update version
ddac20f
Update CONTROL
LilyWangL 117594f
Update ports/refprop-headers/CONTROL
JackBoosY d586d39
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/…
0b74679
Merge branch 'dev/jack/manyports_20200923_4' of https://github.com/Ja…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| Source: coolprop | ||
| Version: 6.1.0-5 | ||
| Version: 6.4.1 | ||
| Homepage: https://github.com/CoolProp/CoolProp | ||
| Description: Thermophysical properties for the masses | ||
| Build-Depends: catch, eigen3, pybind11, if97, fmt, rapidjson, msgpack, refprop-headers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| index 2d61aff..80ac50a 100644 | ||
| --- a/CMakeLists.txt | ||
| +++ b/CMakeLists.txt | ||
| @@ -237,10 +237,10 @@ list(REMOVE_ITEM APP_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/Tests/CoolProp-Te | ||
| list(REMOVE_ITEM APP_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/CoolPropLib.cpp") | ||
|
|
||
| set (APP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}") | ||
| -list (APPEND APP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/externals/Eigen") | ||
| -list (APPEND APP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/externals/msgpack-c/include") | ||
| -list (APPEND APP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/externals/fmtlib/include") | ||
| -list (APPEND APP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/externals/fmtlib") # should be deprecated | ||
| +find_package(Eigen3 CONFIG REQUIRED) | ||
| +find_package(msgpack CONFIG REQUIRED) | ||
| +find_package(fmt CONFIG REQUIRED) | ||
| +link_libraries(Eigen3::Eigen msgpackc msgpackc-cxx fmt::fmt) | ||
| list (APPEND APP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/include") | ||
| list (APPEND APP_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src") | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,39 +1,39 @@ | ||
| diff --git a/include/CPstrings.h b/include/CPstrings.h | ||
| index 2e5a5af..87f6b7c 100644 | ||
| --- a/include/CPstrings.h | ||
| +++ b/include/CPstrings.h | ||
| @@ -5,6 +5,8 @@ | ||
| #include <iterator> | ||
| #include <algorithm> | ||
| #include <functional> | ||
| + #include <vector> | ||
| + #include <string> | ||
| #if !defined(NO_CPPFORMAT) | ||
| #ifndef FMT_HEADER_ONLY | ||
| @@ -13,9 +15,6 @@ | ||
| #include "fmt/format.h" // For addition of the string formatting functions and macros from cppformat | ||
| #include "fmt/printf.h" // For sprintf | ||
| #undef FMT_HEADER_ONLY | ||
| -#else | ||
| - #include <vector> | ||
| - #include <string> | ||
| #endif | ||
| #include "Exceptions.h" | ||
| @@ -57,11 +56,11 @@ | ||
| // Missing string formatting function, this old guy is needed for ancient gcc compilers on PowerPC for VxWorks | ||
| inline std::string format(const char* fmt, ...); | ||
| #else | ||
| - // Missing std::string formatting function - provided by the cppformat library | ||
| - inline std::string format(const char *format, fmt::ArgList args) { | ||
| - return fmt::sprintf(format, args); | ||
| + template<class...Args> | ||
| + std::string format(const Args & ... args) | ||
| + { | ||
| + return fmt::sprintf(args...); | ||
| } | ||
| - FMT_VARIADIC(std::string, format, const char *) | ||
| #endif | ||
| // Missing string split - like in Python | ||
| diff --git a/include/CPstrings.h b/include/CPstrings.h | ||
| index b99820a..fe6a2aa 100644 | ||
| --- a/include/CPstrings.h | ||
| +++ b/include/CPstrings.h | ||
| @@ -6,6 +6,8 @@ | ||
| #include <algorithm> | ||
| #include <functional> | ||
| #include <cctype> | ||
| + #include <vector> | ||
| + #include <string> | ||
|
|
||
| #if !defined(NO_FMTLIB) | ||
| #ifndef FMT_HEADER_ONLY | ||
| @@ -14,9 +16,6 @@ | ||
| #include "fmt/format.h" // For addition of the string formatting functions and macros from fmtlib | ||
| #include "fmt/printf.h" // For sprintf | ||
| #undef FMT_HEADER_ONLY | ||
| -#else | ||
| - #include <vector> | ||
| - #include <string> | ||
| #endif | ||
|
|
||
| #include "Exceptions.h" | ||
| @@ -58,11 +57,11 @@ | ||
| // Missing string formatting function, this old guy is needed for ancient gcc compilers on PowerPC for VxWorks | ||
| inline std::string format(const char* fmt, ...); | ||
| #else | ||
| - // Missing std::string formatting function - provided by the fmtlib library | ||
| - inline std::string format(const char *format, fmt::ArgList args) { | ||
| - return fmt::sprintf(format, args); | ||
| + template<class...Args> | ||
| + std::string format(const Args & ... args) | ||
| + { | ||
| + return fmt::sprintf(args...); | ||
| } | ||
| - FMT_VARIADIC(std::string, format, const char *) | ||
| // For latest FMTLIB | ||
| /*template <typename... Args> | ||
| inline std::string format(const char *format_str, const Args & ... args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| Source: dimcli | ||
| Version: 5.0.1 | ||
| Version: 5.0.2 | ||
| Homepage: https://github.com/gknowles/dimcli | ||
| Description: C++ command line parser toolkit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| Source: draco | ||
| Version: 1.3.5 | ||
| Version: 1.3.6 | ||
| Homepage: https://github.com/google/draco | ||
| Description: A library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics. | ||
| Build-Depends: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,30 @@ | ||
| diff --git a/src/draco/io/parser_utils.cc b/src/draco/io/parser_utils.cc | ||
| index 0a22ba1..9862949 100644 | ||
| index 6e42a58..3c302b9 100644 | ||
| --- a/src/draco/io/parser_utils.cc | ||
| +++ b/src/draco/io/parser_utils.cc | ||
| @@ -150,7 +150,9 @@ bool ParseSignedInt(DecoderBuffer *buffer, int32_t *value) { | ||
| uint32_t v; | ||
| if (!ParseUnsignedInt(buffer, &v)) | ||
| @@ -160,7 +160,9 @@ bool ParseSignedInt(DecoderBuffer *buffer, int32_t *value) { | ||
| if (!ParseUnsignedInt(buffer, &v)) { | ||
| return false; | ||
| } | ||
| - *value = (sign < 0) ? -v : v; | ||
| + if (sign < 0) | ||
| + v *= -1; | ||
| + *value = v; | ||
| return true; | ||
| } | ||
|
|
||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| index 7e79da7..c4d9880 100644 | ||
| --- a/CMakeLists.txt | ||
| +++ b/CMakeLists.txt | ||
| @@ -153,6 +153,10 @@ if(ENABLE_EXTRA_SPEED) | ||
| endif() | ||
| endif() | ||
|
|
||
| +if (MSVC) | ||
| + add_compile_options(/wd4996) | ||
| +endif() | ||
| + | ||
| # Generate a version file containing repository info. | ||
| include(FindGit) | ||
| find_package(Git) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| Source: refprop-headers | ||
| Version: 2017-11-7-882aec454b2bc3d5323b8691736ff09c288f4ed6 | ||
| Version: 2019-04-14-8df35c7cb557d385bb66431e92e836104a63a33c | ||
| Homepage: https://github.com/CoolProp/REFPROP-headers | ||
| Description: The REFPROP Headers | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.