Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ build_coreclr()
cd $__CMakeSlnDir

# Regenerate the CMake solution
$__ProjectRoot/src/pal/tools/gen-buildsys-clang.sh $__VBL_ROOT
echo Invoking cmake with arguments: $__ProjectRoot $__CMakeArgs
$__ProjectRoot/src/pal/tools/gen-buildsys-clang.sh $__ProjectRoot $__CMakeArgs

# Check that the makefiles were created.

Expand All @@ -79,6 +80,7 @@ build_coreclr()

# Build CoreCLR

echo Executing make $__UnprocessedBuildArgs
make $__UnprocessedBuildArgs
if [ $? != 0 ]; then
echo Failed to build coreclr components.
Expand All @@ -97,10 +99,10 @@ echo Commencing CoreCLR Repo build

# Obtain the location of the bash script to figure out whether the root of the repo is.
__ProjectRoot=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
__VBL_ROOT="$__ProjectRoot"
__BuildArch=amd64
__MSBuildBuildArch=x64
__BuildType=debug
__CMakeArgs=DEBUG

# Set the various build properties here so that CMake and MSBuild can pick them up
__ProjectDir="$__ProjectRoot"
Expand Down Expand Up @@ -129,6 +131,7 @@ for i in "$@"
;;
release)
__BuildType=release
__CMakeArgs=RELEASE
;;
clean)
__CleanBuild=true
Expand Down