Skip to content

Commit bb1f4f3

Browse files
committed
Fixup
1 parent 7fa6878 commit bb1f4f3

File tree

5 files changed

+15
-24
lines changed

5 files changed

+15
-24
lines changed

scripts/azure-pipelines/azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ parameters:
99
- name: tripletPattern
1010
displayName: 'Enable triplets which contain this substring'
1111
type: string
12-
default: '^x64-windows-static'
12+
default: '-'
1313

1414
jobs:
1515
- template: windows/azure-pipelines.yml

scripts/test_ports/vcpkg-ci-mimalloc/portfile.cmake

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ vcpkg_from_github(
1010
HEAD_REF master
1111
PATCHES
1212
build-type.diff
13-
vcpkg-tests.diff
14-
trace.diff
1513
)
1614
# Ensure that the test uses the installed mimalloc only
1715
file(REMOVE_RECURSE
@@ -23,8 +21,8 @@ file(REMOVE_RECURSE
2321
vcpkg_cmake_configure(
2422
SOURCE_PATH "${SOURCE_PATH}/test"
2523
OPTIONS
24+
"-DCMAKE_PROJECT_INCLUDE=${CURRENT_PORT_DIR}/vcpkg-tests.cmake"
2625
"-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}"
27-
"-DVCPKG_TESTS=${CURRENT_PORT_DIR}/vcpkg-tests.cmake"
2826
)
2927

3028
set(ENV{MIMALLOC_VERBOSE} 1)
@@ -33,7 +31,9 @@ set(ENV{MIMALLOC_DISABLE_REDIRECT} 1)
3331

3432
vcpkg_cmake_install(ADD_BIN_TO_PATH)
3533

36-
vcpkg_copy_tools(TOOL_NAMES pkgconfig-override-cxx AUTO_CLEAN)
34+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic" OR NOT VCPKG_TARGET_IS_WINDOWS)
35+
vcpkg_copy_tools(TOOL_NAMES pkgconfig-override-cxx AUTO_CLEAN)
36+
endif()
3737

3838
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
3939

scripts/test_ports/vcpkg-ci-mimalloc/trace.diff

-17
This file was deleted.

scripts/test_ports/vcpkg-ci-mimalloc/vcpkg-tests.cmake

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
macro(deferred_tests)
2+
13
find_package(PkgConfig REQUIRED)
24

35
# Legacy variables
@@ -50,4 +52,10 @@ endif()
5052

5153
if(TARGET pkgconfig-override-cxx)
5254
install(TARGETS pkgconfig-override-cxx)
53-
endif()
55+
else()
56+
install(CODE [[ # placeholder # ]])
57+
endif()
58+
59+
endmacro()
60+
61+
cmake_language(DEFER CALL deferred_tests)

versions/m-/mimalloc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"versions": [
33
{
4-
"git-tree": "5fc45ab78a5140f9220639f7471d8ea394a13d9d",
4+
"git-tree": "fb9693583cca76adeb691b9d6e0ab8f5a5f9982a",
55
"version": "2.2.3",
66
"port-version": 0
77
},

0 commit comments

Comments
 (0)