Skip to content

Commit

Permalink
Merge dcos#6303
Browse files Browse the repository at this point in the history
  • Loading branch information
d2iq-mergebot committed Sep 26, 2019
2 parents bb88b1b + 3bc2f82 commit 60bd26f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/mesos/windows.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function Start-MesosBuild {
Push-Location $MESOS_BUILD_DIR
try {
$generatorName = "Visual Studio 15 2017 Win64"
$parameters = @("$MESOS_GIT_REPO_DIR", "-G", "`"$generatorName`"", "-T", "host=x64", "-DENABLE_LIBEVENT=1")
$parameters = @("$MESOS_GIT_REPO_DIR", "-G", "`"$generatorName`"", "-T", "host=x64")

Start-MesosCIProcess -ProcessPath "cmake.exe" -ArgumentList $parameters -BuildErrorMessage "Mesos cmake files failed to generate."
#-StdoutFileName "mesos-build-cmake-stdout.log" -StderrFileName "mesos-build-cmake-stderr.log"
Expand All @@ -159,7 +159,7 @@ function Start-MesosBuild {

try {

Start-MesosCIProcess -ProcessPath "cmake.exe" -ArgumentList @("--build", ".", "--", "/m") -BuildErrorMessage "Mesos binaries failed to build."
Start-MesosCIProcess -ProcessPath "cmake.exe" -ArgumentList @("--build", ".", "--config", "Release") -BuildErrorMessage "Mesos binaries failed to build."
} finally {
Pop-Location
}
Expand All @@ -169,7 +169,7 @@ function Start-MesosBuild {
}


copy-item -Recurse "c:/pkg/src/" -destination "$MESOS_DIR"
Copy-Item -Recurse "c:/pkg/src/" -destination "$MESOS_DIR"

New-Environment

Expand Down

0 comments on commit 60bd26f

Please sign in to comment.