Skip to content

Commit 421c0cf

Browse files
committed
utils: use cmark gfm for the build when running the compiler
When using the just built compiler, we need to use the build CMark runtime as it is executing on the build. This used to work when host and build were guaranteed to be identical (i.e. no cross-compilation). This is now needed to support cross-compiling ARM64.
1 parent 1dcec50 commit 421c0cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ function Build-ICU([Platform]$Platform, $Arch) {
13501350

13511351
function Build-Runtime([Platform]$Platform, $Arch) {
13521352
Isolate-EnvVars {
1353-
$env:Path = "$($HostArch.BinaryCache)\cmark-gfm-0.29.0.gfm.13\src;$(Get-PinnedToolchainRuntime);${env:Path}"
1353+
$env:Path = "$($BuildArch.BinaryCache)\cmark-gfm-0.29.0.gfm.13\src;$(Get-PinnedToolchainRuntime);${env:Path}"
13541354

13551355
$CompilersBinaryCache = if ($IsCrossCompiling) {
13561356
Get-BuildProjectBinaryCache Compilers

0 commit comments

Comments
 (0)