Skip to content

Commit

Permalink
Another path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLapounov committed Jan 26, 2021
1 parent 8a5f893 commit 3441dc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/coreclr/Tools/aot/ObjWriter/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ if %ErrorLevel% geq 8 exit /b %ErrorLevel%
if not exist build mkdir build
cd build || exit /b 1

:: Evaluate the output from set-cmake-path.ps1
for /f "delims=" %%a in ('powershell -NoProfile -ExecutionPolicy ByPass "& ""%2\eng\native\set-cmake-path.ps1"""') do %%a
:: Set CMakePath by evaluating the output from set-cmake-path.ps1
call "%2src\coreclr\setup_vs_tools.cmd" || exit /b 1
for /f "delims=" %%a in ('powershell -NoProfile -ExecutionPolicy ByPass "& ""%2eng\native\set-cmake-path.ps1"""') do %%a
echo Using CMake at "%CMakePath%"
if "%CMakePath%"=="" exit /b 1

"%CMakePath%" ../ -DCMAKE_BUILD_TYPE=Release -DLLVM_OPTIMIZED_TABLEGEN=1 -DHAVE_POSIX_SPAWN=0 -DLLVM_ENABLE_PIC=1 -DLLVM_BUILD_TESTS=0 -DLLVM_ENABLE_DOXYGEN=0 -DLLVM_INCLUDE_DOCS=0 -DLLVM_INCLUDE_TESTS=0 -DLLVM_TARGETS_TO_BUILD="ARM;X86;AArch64" -DCMAKE_INSTALL_PREFIX=install || exit /b 1
"%CMakePath%" --build . -j 10 --config Release --target install || exit /b 1
Empty file modified src/coreclr/Tools/aot/ObjWriter/build.sh
100644 → 100755
Empty file.

0 comments on commit 3441dc9

Please sign in to comment.