Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
f9adbc4
[msmpi] update to 10.1
cenit May 12, 2020
d27a5a5
[openmpi] update to 4.0.3
cenit May 12, 2020
a5fa3f3
[openmpi] remove unnecessary build artifacts
cenit May 12, 2020
1079797
[llvm] Add LLVM installed by Visual Studio for potential consumption …
BillyONeal May 19, 2020
3d16c99
[networkdirect] Add the Windows WDK to VM
MVoz May 15, 2020
ad585ac
[qt5] Add additional prerequisites for qt components.
BillyONeal May 30, 2020
35829f4
[sdl2] Apply @JackBoosY 's fix for SDL2 on Visual Studio 2019 16.6.
BillyONeal Jun 11, 2020
d56cd88
[cuda] Remove clearly unused link to nonexistent cuda target.
BillyONeal Jun 4, 2020
361a9b0
Use a VM series with a 400GB temporary disk which replaces the 'insta…
BillyONeal May 22, 2020
71a50b0
Log provision results for inspection later.
BillyONeal May 22, 2020
235e4e2
Fix incorrect Write-Progress in create-vmss.ps1.
BillyONeal May 22, 2020
1f0de4f
Remove Linux VM attempt to put the work tree on /mnt.
BillyONeal May 25, 2020
aa09ed1
Remove no longer needed /home manipulation in provisioning script.
BillyONeal May 25, 2020
b24fc0b
Skip Add-MPPreference when the AV is not installed.
BillyONeal Jun 3, 2020
e2c6a74
Combine some apt installs, remove /etc/debian_version workaround, def…
BillyONeal Jun 4, 2020
e760c3a
[boost-context] [boost-coroutine] [ppconsul] [nettle] Update baselines.
BillyONeal Jun 9, 2020
29766a5
[qt5] Baseline qt5-translations for now as Qt was broken by Visual St…
BillyONeal Jun 11, 2020
0b9ac2e
Merge delete tombstones and PR build into the same pipeline, controll…
BillyONeal Jun 10, 2020
f58cd6e
Update pools
BillyONeal Jun 4, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/maintainers/control-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Build-Depends: qt5

Feature: mpi
Description: MPI functionality for VTK
Build-Depends: msmpi, hdf5[parallel]
Build-Depends: mpi, hdf5[parallel]

Feature: python
Description: Python functionality for VTK
Expand Down
5 changes: 3 additions & 2 deletions ports/msmpi/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Source: msmpi
Version: 10.0-2
Version: 10.1
Homepage: https://docs.microsoft.com/en-us/message-passing-interface/microsoft-mpi
Description: Microsoft MPI
Supports: windows
Supports: windows
18 changes: 8 additions & 10 deletions ports/msmpi/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
include(vcpkg_common_functions)
vcpkg_fail_port_install(ON_TARGET "Linux" "OSX" "UWP")

if(VCPKG_CMAKE_SYSTEM_NAME)
message(FATAL_ERROR "This port is only for building msmpi on Windows Desktop")
endif()

set(MSMPI_VERSION "10.0.12498")
set(MSMPI_VERSION "10.1.12498")
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/msmpi-${MSMPI_VERSION})

vcpkg_download_distfile(SDK_ARCHIVE
URLS "https://download.microsoft.com/download/A/E/0/AE002626-9D9D-448D-8197-1EA510E297CE/msmpisdk.msi"
URLS "https://download.microsoft.com/download/a/5/2/a5207ca5-1203-491a-8fb8-906fd68ae623/msmpisdk.msi"
FILENAME "msmpisdk-${MSMPI_VERSION}.msi"
SHA512 36a31b2516f45fbc26167b31d2d6419f1928aef1591033f0430d36570159205e1a3134557a4ac0462f2d879add1fc6fee87a6997032e4438b528cd42a8bbe6b1
SHA512 330fad53c1979dfae786abed228d82c82207f0d61148e2efc1f37c8931838b806eb50554e7f006a56962f748a21f7017c540bd70444b7a93a72c313a64e9254c
)


#to enable CI, you should modify the following URL also in ${VCPKG_ROOT}/scripts/azure-pipelines/windows/provision-image.ps1
macro(download_msmpi_redistributable_package)
vcpkg_download_distfile(REDIST_ARCHIVE
URLS "https://download.microsoft.com/download/A/E/0/AE002626-9D9D-448D-8197-1EA510E297CE/msmpisetup.exe"
URLS "https://download.microsoft.com/download/a/5/2/a5207ca5-1203-491a-8fb8-906fd68ae623/msmpisetup.exe"
FILENAME "msmpisetup-${MSMPI_VERSION}.exe"
SHA512 c272dc842eb1e693f25eb580e1caf0c1fdb385611a12c20cdc6a40cf592ccbdba434a1c16edb63eef14b1a2ac6e678ac1cd561ec5fd003a5d17191a0fad281ae
SHA512 1ee463e7dfc3e55a7ac048fdfde13fef09a5eea4b74d8fd7c22a7aad667a025b467ce939e5de308e25bbc186c3fe66e0e24ac03a3741656fc7558f2af2fa132a
)
endmacro()

Expand Down
4 changes: 2 additions & 2 deletions ports/openmpi/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: openmpi
Version: 4.0.1
Version: 4.0.3
Homepage: https://www.open-mpi.org/
Description: The Open MPI Project is an open source Message Passing Interface implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers.
Supports: !(windows|uwp)
Supports: !(windows|uwp)
101 changes: 19 additions & 82 deletions ports/openmpi/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,100 +1,37 @@
include(vcpkg_common_functions)

if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" OR NOT VCPKG_CMAKE_SYSTEM_NAME)
message(FATAL_ERROR "This port is only for openmpi on Unix-like systems")
endif()
vcpkg_fail_port_install(ON_TARGET "Windows" "UWP")

vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)

set(OpenMPI_FULL_VERSION "4.0.1")
set(OpenMPI_FULL_VERSION "4.0.3")
set(OpenMPI_SHORT_VERSION "4.0")

vcpkg_download_distfile(ARCHIVE
URLS "https://download.open-mpi.org/release/open-mpi/v${OpenMPI_SHORT_VERSION}/openmpi-${OpenMPI_FULL_VERSION}.tar.gz"
FILENAME "openmpi-${OpenMPI_FULL_VERSION}.tar.gz"
SHA512 760716974cb6b25ad820184622e1ee7926bc6fda87db6b574f76792bc1ca99522e52195866c14b7cb2df5a4981efdaf9f71d2c5533cc0e8e45c2c4b3b74cbacc
SHA512 23a9dfb7f4a63589b82f4e073a825550d3bc7e6b34770898325323ef4a28ed90b47576acaae6be427eb2007b37a88e18c1ea44d929b8ca083fe576ef1111fef6
)

if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
list(APPEND BUILD_TYPES "release")
endif()
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
list(APPEND BUILD_TYPES "debug")
endif()

set(SOURCE_PATH_DEBUG ${CURRENT_BUILDTREES_DIR}/src-${TARGET_TRIPLET}-debug/openmpi-${OpenMPI_FULL_VERSION})
set(SOURCE_PATH_RELEASE ${CURRENT_BUILDTREES_DIR}/src-${TARGET_TRIPLET}-release/openmpi-${OpenMPI_FULL_VERSION})
set(OUT_PATH_DEBUG ${SOURCE_PATH_RELEASE}/../../make-build-${TARGET_TRIPLET}-debug)
set(OUT_PATH_RELEASE ${SOURCE_PATH_RELEASE}/../../make-build-${TARGET_TRIPLET}-release)
file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/src-${TARGET_TRIPLET}-debug/)
file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/src-${TARGET_TRIPLET}-release/)
file(MAKE_DIRECTORY ${OUT_PATH_DEBUG})
file(MAKE_DIRECTORY ${OUT_PATH_RELEASE})

foreach(BUILD_TYPE IN LISTS BUILD_TYPES)
vcpkg_extract_source_archive(${ARCHIVE} ${CURRENT_BUILDTREES_DIR}/src-${TARGET_TRIPLET}-${BUILD_TYPE})
#vcpkg_apply_patches(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src-${TARGET_TRIPLET}-${BUILD_TYPE}/openmpi-${OpenMPI_FULL_VERSION} PATCHES patch.file)
endforeach()
vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
)

vcpkg_find_acquire_program(PERL)
get_filename_component(PERL_PATH ${PERL} DIRECTORY)
vcpkg_add_to_path(${PERL_PATH})

set(BASH bash)
vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
--with-hwloc=internal
--with-libevent=internal
OPTIONS_DEBUG
--enable-debug
)

if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
message(STATUS "Configuring ${TARGET_TRIPLET}-dbg")
vcpkg_execute_required_process(
COMMAND ${BASH} --noprofile --norc -c "${SOURCE_PATH_DEBUG}/configure --prefix=${OUT_PATH_DEBUG} --enable-debug"
WORKING_DIRECTORY "${SOURCE_PATH_DEBUG}"
LOGNAME "config-${TARGET_TRIPLET}-dbg"
)
message(STATUS "Building ${TARGET_TRIPLET}-dbg")
vcpkg_execute_required_process(
COMMAND ${BASH} --noprofile --norc -c "make -j ${VCPKG_CONCURRENCY}"
NO_PARALLEL_COMMAND ${BASH} --noprofile --norc -c "make"
WORKING_DIRECTORY "${SOURCE_PATH_DEBUG}"
LOGNAME "make-build-${TARGET_TRIPLET}-dbg"
)
message(STATUS "Installing ${TARGET_TRIPLET}-dbg")
vcpkg_execute_required_process(
COMMAND ${BASH} --noprofile --norc -c "make install"
WORKING_DIRECTORY "${SOURCE_PATH_DEBUG}"
LOGNAME "make-install-${TARGET_TRIPLET}-dbg"
)
file(COPY ${OUT_PATH_DEBUG}/lib DESTINATION ${CURRENT_PACKAGES_DIR}/debug)
message(STATUS "Installing ${TARGET_TRIPLET}-dbg done")
endif()
vcpkg_install_make()

if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
message(STATUS "Configuring ${TARGET_TRIPLET}-rel")
vcpkg_execute_required_process(
COMMAND ${BASH} --noprofile --norc -c "${SOURCE_PATH_RELEASE}/configure --prefix=${OUT_PATH_RELEASE}"
WORKING_DIRECTORY "${SOURCE_PATH_RELEASE}"
LOGNAME "config-${TARGET_TRIPLET}-rel"
)
message(STATUS "Building ${TARGET_TRIPLET}-rel")
vcpkg_execute_required_process(
COMMAND ${BASH} --noprofile --norc -c "make -j ${VCPKG_CONCURRENCY}"
NO_PARALLEL_COMMAND ${BASH} --noprofile --norc -c "make"
WORKING_DIRECTORY "${SOURCE_PATH_RELEASE}"
LOGNAME "make-build-${TARGET_TRIPLET}-rel"
)
message(STATUS "Installing ${TARGET_TRIPLET}-rel")
vcpkg_execute_required_process(
COMMAND ${BASH} --noprofile --norc -c "make install"
WORKING_DIRECTORY "${SOURCE_PATH_RELEASE}"
LOGNAME "make-install-${TARGET_TRIPLET}-rel"
)
file(COPY ${OUT_PATH_RELEASE}/lib DESTINATION ${CURRENT_PACKAGES_DIR})
file(COPY ${OUT_PATH_RELEASE}/include DESTINATION ${CURRENT_PACKAGES_DIR})
file(COPY ${OUT_PATH_RELEASE}/share DESTINATION ${CURRENT_PACKAGES_DIR})
file(COPY ${OUT_PATH_RELEASE}/bin DESTINATION ${CURRENT_PACKAGES_DIR})
message(STATUS "Installing ${TARGET_TRIPLET}-rel done")
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
file(INSTALL ${SOURCE_PATH_DEBUG}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openmpi RENAME copyright)
else()
file(INSTALL ${SOURCE_PATH_RELEASE}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openmpi RENAME copyright)
endif()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
2 changes: 1 addition & 1 deletion ports/sdl2/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: sdl2
Version: 2.0.12
Version: 2.0.12-1
Homepage: https://www.libsdl.org/download-2.0.php
Description: Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.

Expand Down
17 changes: 17 additions & 0 deletions ports/sdl2/fix-EventToken-header-reference.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

diff -r 398b67c0a7d3 -r 7c2f418f701b src/video/winrt/SDL_winrtgamebar.cpp
--- a/src/video/winrt/SDL_winrtgamebar.cpp Wed Jun 10 09:36:10 2020 -0700
+++ b/src/video/winrt/SDL_winrtgamebar.cpp Wed Jun 10 09:38:43 2020 -0700
@@ -25,7 +25,7 @@
/* Windows includes */
#include <roapi.h>
#include <windows.foundation.h>
-#include <EventToken.h>
+#include <windows.system.h>


/* SDL includes */




1 change: 1 addition & 0 deletions ports/sdl2/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ vcpkg_extract_source_archive_ex(
disable-hidapi-for-uwp.patch
fix-space-in-path.patch
disable-wcslcpy-and-wcslcat-for-windows.patch
fix-EventToken-header-reference.patch
)

string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" SDL_STATIC)
Expand Down
134 changes: 85 additions & 49 deletions scripts/azure-pipelines/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,52 +2,88 @@
# SPDX-License-Identifier: MIT
#
variables:
windows-pool: 'PrWin-2020-04-28'
linux-pool: 'PrLin-2020-05-07'

jobs:
- template: windows/run-tests.yml
parameters:
poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
parameters:
triplet: x86-windows
jobName: x86_windows
poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
parameters:
triplet: x64-windows
jobName: x64_windows
poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
parameters:
triplet: x64-windows-static
jobName: x64_windows_static
poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
parameters:
triplet: x64-uwp
jobName: x64_uwp
poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
parameters:
triplet: arm64-windows
jobName: arm64_windows
poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
parameters:
triplet: arm-uwp
jobName: arm_uwp
poolName: $(windows-pool)

- template: osx/azure-pipelines.yml

- template: linux/azure-pipelines.yml
parameters:
poolName: $(linux-pool)
windows-pool: 'PrWin-2020-06-04'
linux-pool: 'PrLin-2020-06-08'
delete-tombstones-first: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does one set this variable?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can make a PR that turns it on then turns it back off, or you can set it with the web interface.


stages:
- stage: delete_tombstones
displayName: 'Delete Tombstones'
jobs:
- job: windows
displayName: 'Clean Windows Tombstones'
pool: $(windows-pool)
condition: eq(variables['delete-tombstones-first'], 'true')
steps:
- task: PowerShell@2
displayName: 'Initialize Environment'
inputs:
filePath: 'scripts/azure-pipelines/windows/initialize-environment.ps1'
- script: rmdir /s /q W:\fail
displayName: 'Delete W:\fail'
- job: linux
displayName: 'Clean Linux Tombstones'
pool: $(linux-pool)
condition: eq(variables['delete-tombstones-first'], 'true')
steps:
- bash: rm -rf /archives/fail
displayName: 'Delete /archives/fail'
- job: osx
displayName: 'Clean MacOS Tombstones'
condition: eq(variables['delete-tombstones-first'], 'true')
pool:
name: vcpkgAgentPool
demands: Agent.OS -equals Darwin
steps:
- bash: rm -rf /Users/vagrant/Data/archives/fail
displayName: 'Delete /Users/vagrant/Data/archives/fail'

- stage: run_pr_test
displayName: 'Run PR Test'
dependsOn: delete_tombstones
jobs:
- template: windows/run-tests.yml
parameters:
poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
parameters:
triplet: x86-windows
jobName: x86_windows
poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
parameters:
triplet: x64-windows
jobName: x64_windows
poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
parameters:
triplet: x64-windows-static
jobName: x64_windows_static
poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
parameters:
triplet: x64-uwp
jobName: x64_uwp
poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
parameters:
triplet: arm64-windows
jobName: arm64_windows
poolName: $(windows-pool)

- template: windows/azure-pipelines.yml
parameters:
triplet: arm-uwp
jobName: arm_uwp
poolName: $(windows-pool)

- template: osx/azure-pipelines.yml

- template: linux/azure-pipelines.yml
parameters:
poolName: $(linux-pool)
32 changes: 0 additions & 32 deletions scripts/azure-pipelines/clean-tombstones.yml

This file was deleted.

3 changes: 2 additions & 1 deletion scripts/azure-pipelines/linux/create-vmss.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ Set-AzStorageShareQuota -ShareName 'archives' -Context $StorageContext -Quota 10

####################################################################################################
Write-Progress `
-Activity 'Creating prototype VM' `
-Activity $ProgressActivity `
-Status 'Creating prototype VM' `
-PercentComplete (100 / $TotalProgress * $CurrentProgress++)

$NicName = $ResourceGroupName + 'NIC'
Expand Down
Loading