Skip to content

Commit 82b6786

Browse files
committed
update vcpkg config to 1.9.4
1 parent 316a434 commit 82b6786

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

contrib/vcpkg/portfile.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ vcpkg_from_github(
44
HEAD_REF master
55

66
# The "REF" can be a commit hash, branch name (dev2), or a version (v2.2.1).
7-
# REF "v${VERSION}"
8-
REF 866ce5b89db1dbc3e66bbf89041291fd16329518
7+
REF "v${VERSION}"
8+
# REF 866ce5b89db1dbc3e66bbf89041291fd16329518
99

1010
# The sha512 is the hash of the tar.gz bundle.
1111
# (To get the sha512, run `vcpkg install mimalloc[override] --overlay-ports=<dir of this file>` and copy the sha from the error message.)
@@ -19,6 +19,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
1919
secure MI_SECURE
2020
override MI_OVERRIDE
2121
optarch MI_OPT_ARCH
22+
nooptarch MI_NO_OPT_ARCH
2223
optsimd MI_OPT_SIMD
2324
xmalloc MI_XMALLOC
2425
asm MI_SEE_ASM

contrib/vcpkg/vcpkg.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mimalloc",
3-
"version": "1.9.2",
3+
"version": "1.9.4",
44
"port-version": 2,
55
"description": "Compact general purpose allocator with excellent performance",
66
"homepage": "https://github.com/microsoft/mimalloc",
@@ -35,6 +35,9 @@
3535
"optarch": {
3636
"description": "Use architecture specific optimizations (on x64: '-march=haswell;-mavx2', on arm64: '-march=armv8.1-a')"
3737
},
38+
"nooptarch": {
39+
"description": "Do _not_ use architecture specific optimizations (on x64: '-march=haswell;-mavx2', on arm64: '-march=armv8.1-a')"
40+
},
3841
"optsimd": {
3942
"description": "Allow use of SIMD instructions (avx2 or neon) (requires 'optarch' to be enabled)"
4043
},

0 commit comments

Comments
 (0)