diff options
| author | Cheney Wang <38240633+Cheney-W@users.noreply.github.com> | 2021-09-16 10:45:05 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-16 10:45:05 -0700 |
| commit | 660295dc22867e6db7e3497f584ce63754707382 (patch) | |
| tree | 199d8e12d33e2625f7c1e7aaa1b574d1a721b157 /ports/cppad/windows-fix.patch | |
| parent | f4a1f538b5f78c4626f6a8027a0333d4eb475d2b (diff) | |
| download | vcpkg-660295dc22867e6db7e3497f584ce63754707382.tar.gz vcpkg-660295dc22867e6db7e3497f584ce63754707382.zip | |
[cppad/cpuid] Update to latest version (#20187)
* [cppad/cpuid] Update to latest version
* Add quotes to SOURCE_PATH
Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
Diffstat (limited to 'ports/cppad/windows-fix.patch')
| -rw-r--r-- | ports/cppad/windows-fix.patch | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/ports/cppad/windows-fix.patch b/ports/cppad/windows-fix.patch index 50c38ca12..585e3294e 100644 --- a/ports/cppad/windows-fix.patch +++ b/ports/cppad/windows-fix.patch @@ -1,60 +1,3 @@ -diff --git a/cppad_lib/cppad_colpack.cpp b/cppad_lib/cppad_colpack.cpp -index dc3327053..739363292 100644 ---- a/cppad_lib/cppad_colpack.cpp -+++ b/cppad_lib/cppad_colpack.cpp -@@ -17,7 +17,7 @@ in the Eclipse Public License, Version 2.0 are satisfied: - - # if CPPAD_HAS_COLPACK == 0 - namespace CppAD { namespace local { -- CPPAD_LIB_EXPORT void this_routine_should_never_get_called(void) -+ void this_routine_should_never_get_called(void) - { CPPAD_ASSERT_UNKNOWN(false); } - } } - # else // CPPAD_HAS_COLPACK -@@ -52,7 +52,7 @@ the entry with index (i, adolc_pattern[i][k]) is a non-zero - in the sparsity pattern for the matrix. - */ - // ---------------------------------------------------------------------- --CPPAD_LIB_EXPORT void cppad_colpack_general( -+void cppad_colpack_general( - CppAD::vector<size_t>& color , - size_t m , - size_t n , -@@ -164,7 +164,7 @@ For i = 0 , ... , m-1, and for k = 1, ... ,adolc_pattern[i][0], - the entry with index (i, adolc_pattern[i][k]) is - in the sparsity pattern for the symmetric matrix. - */ --CPPAD_LIB_EXPORT void cppad_colpack_symmetric( -+void cppad_colpack_symmetric( - CppAD::vector<size_t>& color , - size_t m , - const CppAD::vector<unsigned int*>& adolc_pattern ) -diff --git a/cppad_lib/json_parser.cpp b/cppad_lib/json_parser.cpp -index fac417d9f..ac0910cee 100644 ---- a/cppad_lib/json_parser.cpp -+++ b/cppad_lib/json_parser.cpp -@@ -20,7 +20,7 @@ in the Eclipse Public License, Version 2.0 are satisfied: - // documentation for this routine is in the file below - # include <cppad/local/graph/json_parser.hpp> - --CPPAD_LIB_EXPORT void CppAD::local::graph::json_parser( -+void CppAD::local::graph::json_parser( - const std::string& json , - cpp_graph& graph_obj ) - { using std::string; -diff --git a/cppad_lib/json_writer.cpp b/cppad_lib/json_writer.cpp -index 250345c6e..add4b20a9 100644 ---- a/cppad_lib/json_writer.cpp -+++ b/cppad_lib/json_writer.cpp -@@ -17,7 +17,7 @@ in the Eclipse Public License, Version 2.0 are satisfied: - // documentation for this routine is in the file below - # include <cppad/local/graph/json_writer.hpp> - --CPPAD_LIB_EXPORT void CppAD::local::graph::json_writer( -+void CppAD::local::graph::json_writer( - std::string& json , - const cpp_graph& graph_obj ) - { using std::string; diff --git a/include/cppad/local/cppad_colpack.hpp b/include/cppad/local/cppad_colpack.hpp index ee96ab5fe..6dd022180 100644 --- a/include/cppad/local/cppad_colpack.hpp |
