Skip to content

Commit

Permalink
[ldc-build-runtime: Define LDMD_EXE_FULL for druntime integration tests]
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed Sep 13, 2024
1 parent 48b38b2 commit 71a6f26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/ldc-build-runtime.d.in
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,12 @@ void prepareLdcSource() {
void runCMake() {
const wd = WorkingDirScope(config.buildDir);

const ldmdExecutable = buildPath(config.ldcExecutable.dirName, "ldmd2" ~ exeSuffix);

string[] args = [
"cmake",
"-DLDC_EXE_FULL=" ~ config.ldcExecutable,
"-DLDMD_EXE_FULL=" ~ ldmdExecutable,
"-DDMDFE_MINOR_VERSION=@DMDFE_MINOR_VERSION@",
"-DDMDFE_PATCH_VERSION=@DMDFE_PATCH_VERSION@",
];
Expand Down

0 comments on commit 71a6f26

Please sign in to comment.