-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'microsoft:master' into add_osqp
- Loading branch information
Showing
694 changed files
with
6,943 additions
and
4,747 deletions.
There are no files selected for viewing
This file contains 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 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,23 @@ | ||
name: Test Modified Ports | ||
on: | ||
push: | ||
branches: | ||
- onboard-actions | ||
jobs: | ||
Windows: | ||
runs-on: | ||
- self-hosted | ||
- "1ES.Pool=vcpkg-windows-wus" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
# fetch-depth 50 tries to ensure we capture the whole history of the branch | ||
fetch-depth: 50 | ||
|
||
- name: Bootstrap | ||
run: ./bootstrap-vcpkg.sh | ||
|
||
- name: Example | ||
shell: pwsh | ||
run: Write-Host 'Running on 1ES Hosted GitHub Runners' |
This file contains 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 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 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 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 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,17 @@ | ||
diff --git a/addons/acodec/CMakeLists.txt b/addons/acodec/CMakeLists.txt | ||
index 6906a99..7896989 100644 | ||
--- a/addons/acodec/CMakeLists.txt | ||
+++ b/addons/acodec/CMakeLists.txt | ||
@@ -394,9 +394,10 @@ acodec_summary(" - Opus" SUPPORT_OPUS) | ||
# MP3 | ||
# | ||
if(WANT_MP3) | ||
- find_package(MiniMP3) | ||
+ find_path(MINIMP3_INCLUDE_DIRS "minimp3/minimp3.h") | ||
+ set(MINIMP3_FOUND true) | ||
if(MINIMP3_FOUND) | ||
- include_directories(SYSTEM ${MINIMP3_INCLUDE_DIRS}) | ||
+ include_directories(SYSTEM ${MINIMP3_INCLUDE_DIRS}/minimp3) | ||
set(ALLEGRO_CFG_ACODEC_MP3 1) | ||
list(APPEND ACODEC_SOURCES mp3.c) | ||
endif(MINIMP3_FOUND) |
This file contains 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 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 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 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 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 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 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 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 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 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,9 +1,9 @@ | ||
include ("${CMAKE_CURRENT_LIST_DIR}/asio-targets.cmake") | ||
find_package(Threads) | ||
|
||
if(NOT TARGET asio::asio) | ||
add_library(asio::asio INTERFACE IMPORTED) | ||
target_link_libraries(asio::asio INTERFACE asio) | ||
include("${CMAKE_CURRENT_LIST_DIR}/asio-targets.cmake") | ||
|
||
if(NOT TARGET asio) | ||
add_library(asio ALIAS asio::asio) | ||
endif() | ||
|
||
get_target_property(_ASIO_INCLUDE_DIR asio INTERFACE_INCLUDE_DIRECTORIES) | ||
set(ASIO_INCLUDE_DIR "${_ASIO_INCLUDE_DIR}") | ||
get_target_property(ASIO_INCLUDE_DIR asio::asio INTERFACE_INCLUDE_DIRECTORIES) |
This file contains 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,29 +1,27 @@ | ||
#header-only library | ||
set(VCPKG_BUILD_TYPE release) # header-only | ||
|
||
string(REPLACE "." "-" ref "asio-${VERSION}") | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO chriskohlhoff/asio | ||
REF asio-1-31-0 | ||
SHA512 505c3f4e4043cd73be1a28ab611d7f61046d6b60f80c08aaceea892a76ce7f51056d39516d7b4e836611a9974c227de52c0434122af0ea8539ceb57363a82b62 | ||
REF "${ref}" | ||
SHA512 9374ff97bd4af7b5b41754970b2bcb468f450fee46a80c9c3344f732c64091f2ac5a73ebf4ac1831c623793c08a3c109ae90b601273c40d062bfd4f026f1d94d | ||
HEAD_REF master | ||
) | ||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}") | ||
|
||
# Always use "ASIO_STANDALONE" to avoid boost dependency | ||
vcpkg_replace_string("${SOURCE_PATH}/asio/include/asio/detail/config.hpp" "defined(ASIO_STANDALONE)" "!defined(VCPKG_DISABLE_ASIO_STANDALONE)") | ||
|
||
# CMake install | ||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}") | ||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
OPTIONS | ||
-DPACKAGE_VERSION=${VERSION} | ||
) | ||
vcpkg_cmake_install() | ||
|
||
vcpkg_fixup_pkgconfig() | ||
|
||
vcpkg_cmake_config_fixup() | ||
file(INSTALL | ||
"${CMAKE_CURRENT_LIST_DIR}/asio-config.cmake" | ||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" | ||
) | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") | ||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/asio-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") | ||
|
||
# Handle copyright | ||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/asio/LICENSE_1_0.txt") |
This file contains 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 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 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
Oops, something went wrong.