File tree 2 files changed +19
-13
lines changed
2 files changed +19
-13
lines changed Original file line number Diff line number Diff line change 5
5
TOOLCHAIN_ROOT=$(TOOLCHAIN_ROOT);
6
6
TOOLCHAIN_ROOT_USR_LIB_CLANG=$(TOOLCHAIN_ROOT)\usr\lib\clang;
7
7
TOOLCHAIN_ROOT_USR_LIB_SWIFT_CLANG=$(TOOLCHAIN_ROOT)\usr\lib\swift\clang;
8
+ ENABLE_MIMALLOC=$(ENABLE_MIMALLOC);
8
9
WORKAROUND_MIMALLOC_ISSUE_997=$(WORKAROUND_MIMALLOC_ISSUE_997);
9
10
</DefineConstants >
10
11
</PropertyGroup >
Original file line number Diff line number Diff line change 483
483
</ComponentGroup >
484
484
485
485
<ComponentGroup Id =" mimalloc" Directory =" _usr_bin" >
486
- <Component >
487
- <File Source =" $(TOOLCHAIN_ROOT)\usr\bin\mimalloc.dll" />
488
- </Component >
489
- <Component >
486
+ <?if $(ENABLE_MIMALLOC) == true ?>
490
487
<?if $(ProductArchitecture) = " amd64" ?>
491
- <File Source =" $(TOOLCHAIN_ROOT)\usr\bin\mimalloc-redirect.dll" />
488
+ <Component >
489
+ <File Source =" $(TOOLCHAIN_ROOT)\usr\bin\mimalloc-redirect.dll" />
490
+ </Component >
491
+ <?if $(WORKAROUND_MIMALLOC_ISSUE_997) ?>
492
+ <Component >
493
+ <File Source =" $(TOOLCHAIN_ROOT)\usr\bin\mimalloc-redirect-arm64.dll" />
494
+ </Component >
495
+ <?endif ?>
492
496
<?elseif $(ProductArchitecture) = " arm64" ?>
493
- <File Source =" $(TOOLCHAIN_ROOT)\usr\bin\mimalloc-redirect-arm64.dll" />
494
- <?endif ?>
495
- </Component >
496
- <?if $(WORKAROUND_MIMALLOC_ISSUE_997) ?>
497
- <Component >
498
- <?if $(ProductArchitecture) = " amd64" ?>
497
+ <Component >
499
498
<File Source =" $(TOOLCHAIN_ROOT)\usr\bin\mimalloc-redirect-arm64.dll" />
500
- <?elseif $(ProductArchitecture) = " arm64" ?>
501
- <File Source =" $(TOOLCHAIN_ROOT)\usr\bin\mimalloc-redirect.dll" />
499
+ </Component >
500
+ <?if $(WORKAROUND_MIMALLOC_ISSUE_997) ?>
501
+ <Component >
502
+ <File Source =" $(TOOLCHAIN_ROOT)\usr\bin\mimalloc-redirect.dll" />
503
+ </Component >
502
504
<?endif ?>
505
+ <?endif ?>
506
+ <Component >
507
+ <File Source =" $(TOOLCHAIN_ROOT)\usr\bin\mimalloc.dll" />
503
508
</Component >
504
509
<?endif ?>
505
510
</ComponentGroup >
You can’t perform that action at this time.
0 commit comments