File tree 5 files changed +15
-24
lines changed
test_ports/vcpkg-ci-mimalloc
5 files changed +15
-24
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ parameters:
9
9
- name : tripletPattern
10
10
displayName : ' Enable triplets which contain this substring'
11
11
type : string
12
- default : ' ^x64-windows-static '
12
+ default : ' - '
13
13
14
14
jobs :
15
15
- template : windows/azure-pipelines.yml
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ vcpkg_from_github(
10
10
HEAD_REF master
11
11
PATCHES
12
12
build -type .diff
13
- vcpkg-tests.diff
14
- trace.diff
15
13
)
16
14
# Ensure that the test uses the installed mimalloc only
17
15
file (REMOVE_RECURSE
@@ -23,8 +21,8 @@ file(REMOVE_RECURSE
23
21
vcpkg_cmake_configure(
24
22
SOURCE_PATH "${SOURCE_PATH} /test"
25
23
OPTIONS
24
+ "-DCMAKE_PROJECT_INCLUDE=${CURRENT_PORT_DIR} /vcpkg-tests.cmake"
26
25
"-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG} "
27
- "-DVCPKG_TESTS=${CURRENT_PORT_DIR} /vcpkg-tests.cmake"
28
26
)
29
27
30
28
set (ENV{MIMALLOC_VERBOSE} 1)
@@ -33,7 +31,9 @@ set(ENV{MIMALLOC_DISABLE_REDIRECT} 1)
33
31
34
32
vcpkg_cmake_install(ADD_BIN_TO_PATH)
35
33
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 ()
37
37
38
38
file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug" )
39
39
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ macro (deferred_tests)
2
+
1
3
find_package (PkgConfig REQUIRED)
2
4
3
5
# Legacy variables
@@ -50,4 +52,10 @@ endif()
50
52
51
53
if (TARGET pkgconfig-override-cxx)
52
54
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)
Original file line number Diff line number Diff line change 1
1
{
2
2
"versions" : [
3
3
{
4
- "git-tree" : " 5fc45ab78a5140f9220639f7471d8ea394a13d9d " ,
4
+ "git-tree" : " fb9693583cca76adeb691b9d6e0ab8f5a5f9982a " ,
5
5
"version" : " 2.2.3" ,
6
6
"port-version" : 0
7
7
},
You can’t perform that action at this time.
0 commit comments