-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[gasol] Add new port #9550
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
Merged
[gasol] Add new port #9550
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c58efec
Added new port GASol
mayankkt9 bae3df9
added patch file
SanaJahan 94f7ccf
Code Refactoring
mayankkt9 509e261
Code Refactoring to change port name
mayankkt9 9e296de
Updated baseline to resolve file conflicts with nanovg and stb
mayankkt9 cb83783
Added changes to ci-baseline and added port not supported on arm/uwp
mayankkt9 1ee8b24
Merge branch 'master' of https://github.com/microsoft/vcpkg into issu…
328166f
[gasol] Use cmake to build
27b50f6
update baseline
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 |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Source: gasol | ||
| Version: 2018-01-04 | ||
| Homepage: https://github.com/PytLab/GASol | ||
| Description: A general Genetic Algorithm Solver in C++ |
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/src/CMakeLists.txt b/src/CMakeLists.txt | ||
| index 0cba691..51e47a3 100644 | ||
| --- a/src/CMakeLists.txt | ||
| +++ b/src/CMakeLists.txt | ||
| @@ -1,3 +1,13 @@ | ||
| file(GLOB GASol_SRC *.cpp) | ||
| add_library(GASol STATIC ${GASol_SRC}) | ||
|
|
||
| +file(GLOB GASol_INCLUDES *.h) | ||
| + | ||
| +install(FILES ${GASol_INCLUDES} DESTINATION include) | ||
| + | ||
| +install( | ||
| + TARGETS GASol | ||
| + RUNTIME DESTINATION bin | ||
| + LIBRARY DESTINATION lib | ||
| + ARCHIVE DESTINATION lib | ||
| +) | ||
| \ No newline at end of file |
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,31 @@ | ||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| index 4a21f65..a4cede0 100644 | ||
| --- a/CMakeLists.txt | ||
| +++ b/CMakeLists.txt | ||
| @@ -15,11 +15,15 @@ set(CMAKE_CXX_EXTENSIONS OFF) | ||
| # Find OpenMP. | ||
| find_package(OpenMP) | ||
| if (OPENMP_FOUND) | ||
| - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS} -fPIC -Wall -Wextra -Werror -pedantic") | ||
| + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS} -fPIC -pedantic") | ||
| else() | ||
| - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wall -Wextra -Werror -pedantic") | ||
| + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -pedantic") | ||
| endif() | ||
|
|
||
| +if(CMAKE_COMPILER_IS_GNUCXX) | ||
| + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror") | ||
| +endif(CMAKE_COMPILER_IS_GNUCXX) | ||
| + | ||
| if (COV) | ||
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage") | ||
| endif() | ||
| @@ -39,7 +43,7 @@ endif() | ||
| add_subdirectory(src) | ||
|
|
||
| # GASol test dir. | ||
| -add_subdirectory(unittest) | ||
| +# add_subdirectory(unittest) | ||
|
|
||
| # GASol run dir. | ||
| add_subdirectory(example) |
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,25 @@ | ||
| vcpkg_fail_port_install(ON_TARGET "UWP" ON_ARCH "arm" "arm64") | ||
|
|
||
| vcpkg_check_linkage(ONLY_STATIC_LIBRARY) | ||
|
|
||
| vcpkg_from_github( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| REPO PytLab/GASol | ||
| REF 05af009bca2903c1cc491c9a6eed01bc3c936637 | ||
| SHA512 a8546bf565a389b919dd1dd5b88b4985c1803cbb09fab0715d1b0abfda92a6bf3adea7e4b3329ad82a6f6892f1747a73a632687fd79fb77c937e7ba07c62268a | ||
| HEAD_REF master | ||
| PATCHES | ||
| gasol.patch | ||
| fix-install.patch | ||
| ) | ||
|
|
||
| vcpkg_configure_cmake( | ||
| SOURCE_PATH ${SOURCE_PATH} | ||
| PREFER_NINJA | ||
| ) | ||
|
|
||
| vcpkg_install_cmake() | ||
|
|
||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
|
|
||
| file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) | ||
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.