3 # resolve python-version to use
4 if [ "$PYTHON" == "" ] ; then
5 if ! PYTHON=$(command -v python || command -v python2 || command -v python 2.7)
7 echo "Unable to locate build-dependency python2.x!" 1>&2
12 # validate python-dependency
13 # useful in case of explicitly set option.
14 if ! command -v $PYTHON > /dev/null
16 echo "Unable to locate build-dependency python2.x ($PYTHON)!" 1>&2
22 echo "Usage: $0 [BuildArch] [BuildType] [verbose] [coverage] [cross] [clangx.y] [ninja] [configureonly] [skipconfigure] [skipnative] [skipmscorlib] [skiptests] [stripsymbols] [cmakeargs] [bindir]"
23 echo "BuildArch can be: x64, x86, arm, armel, arm64"
24 echo "BuildType can be: debug, checked, release"
25 echo "coverage - optional argument to enable code coverage build (currently supported only for Linux and OSX)."
26 echo "ninja - target ninja instead of GNU make"
27 echo "clangx.y - optional argument to build using clang version x.y."
28 echo "cross - optional argument to signify cross compilation,"
29 echo " - will use ROOTFS_DIR environment variable if set."
30 echo "crosscomponent - optional argument to build cross-architecture component,"
31 echo " - will use CAC_ROOTFS_DIR environment variable if set."
32 echo "pgoinstrument - generate instrumented code for profile guided optimization enabled binaries."
33 echo "ibcinstrument - generate IBC-tuning-enabled native images when invoking crossgen."
34 echo "configureonly - do not perform any builds; just configure the build."
35 echo "skipconfigure - skip build configuration."
36 echo "skipnative - do not build native components."
37 echo "skipmscorlib - do not build mscorlib.dll."
38 echo "skiptests - skip the tests in the 'tests' subdirectory."
39 echo "skipnuget - skip building nuget packages."
40 echo "skiprestoreoptdata - skip restoring optimization data used by profile-based optimizations."
41 echo "portable - build for portable RID."
42 echo "verbose - optional argument to enable verbose build output."
43 echo "-skiprestore: skip restoring packages ^(default: packages are restored during build^)."
44 echo "-disableoss: Disable Open Source Signing for System.Private.CoreLib."
45 echo "-sequential: force a non-parallel build ^(default is to build in parallel"
46 echo " using all processors^)."
47 echo "-officialbuildid=^<ID^>: specify the official build ID to be used by this build."
48 echo "-Rebuild: passes /t:rebuild to the build projects."
49 echo "stripSymbols - Optional argument to strip native symbols during the build."
50 echo "skipgenerateversion - disable version generation even if MSBuild is supported."
51 echo "cmakeargs - user-settable additional arguments passed to CMake."
52 echo "bindir - output directory (defaults to $__ProjectRoot/bin)"
53 echo "buildstandalonegc - builds the GC in a standalone mode. Can't be used with \"cmakeargs\"."
54 echo "msbuildonunsupportedplatform - build managed binaries even if distro is not officially supported."
60 if [ "$__HostOS" == "Linux" ]; then
61 if [ ! -e /etc/os-release ]; then
62 echo "WARNING: Can not determine runtime id for current distro."
65 source /etc/os-release
66 __HostDistroRid="$ID.$VERSION_ID-$__HostArch"
73 if [ $__CrossBuild == 1 ]; then
74 if [ "$__BuildOS" == "Linux" ]; then
75 if [ ! -e $ROOTFS_DIR/etc/os-release ]; then
76 echo "WARNING: Can not determine runtime id for current distro."
79 source $ROOTFS_DIR/etc/os-release
80 export __DistroRid="$ID.$VERSION_ID-$__BuildArch"
84 export __DistroRid="$__HostDistroRid"
87 # Portable builds target the base RID
88 if [ $__PortableBuild == 1 ]; then
89 if [ "$__BuildOS" == "Linux" ]; then
90 export __DistroRid="linux-$__BuildArch"
91 elif [ "$__BuildOS" == "OSX" ]; then
92 export __DistroRid="osx-$__BuildArch"
99 echo Setting up directories for build
101 mkdir -p "$__RootBinDir"
103 mkdir -p "$__LogsDir"
104 mkdir -p "$__IntermediatesDir"
106 if [ $__CrossBuild == 1 ]; then
107 mkdir -p "$__CrossComponentBinDir"
108 mkdir -p "$__CrossCompIntermediatesDir"
112 # Check the system to ensure the right prereqs are in place
116 echo "Checking prerequisites..."
118 # Check presence of CMake on the path
119 hash cmake 2>/dev/null || { echo >&2 "Please install cmake before running this script"; exit 1; }
122 hash clang-$__ClangMajorVersion.$__ClangMinorVersion 2>/dev/null || hash clang$__ClangMajorVersion$__ClangMinorVersion 2>/dev/null || hash clang 2>/dev/null || { echo >&2 "Please install clang-$__ClangMajorVersion.$__ClangMinorVersion before running this script"; exit 1; }
128 # if msbuild is not supported, then set __SkipRestoreOptData to 1
129 if [ $__isMSBuildOnNETCoreSupported == 0 ]; then __SkipRestoreOptData=1; fi
130 if [ $__SkipRestoreOptData == 0 ]; then
131 echo "Restoring the OptimizationData package"
132 "$__ProjectRoot/run.sh" sync -optdata
134 echo "Failed to restore the optimization data package."
140 generate_event_logging_sources()
142 if [ $__SkipCoreCLR == 1 ]; then
146 # Event Logging Infrastructure
147 __GeneratedIntermediate="$__IntermediatesDir/Generated"
148 __GeneratedIntermediateEventProvider="$__GeneratedIntermediate/eventprovider_new"
149 if [[ -d "$__GeneratedIntermediateEventProvider" ]]; then
150 rm -rf "$__GeneratedIntermediateEventProvider"
153 if [[ ! -d "$__GeneratedIntermediate/eventprovider" ]]; then
154 mkdir -p "$__GeneratedIntermediate/eventprovider"
157 mkdir -p "$__GeneratedIntermediateEventProvider"
158 if [[ $__SkipCoreCLR == 0 || $__ConfigureOnly == 1 ]]; then
159 echo "Laying out dynamically generated files consumed by the build system "
160 echo "Laying out dynamically generated Event Logging Test files"
161 $PYTHON -B -Wall -Werror "$__ProjectRoot/src/scripts/genXplatEventing.py" --man "$__ProjectRoot/src/vm/ClrEtwAll.man" --exc "$__ProjectRoot/src/vm/ClrEtwAllMeta.lst" --testdir "$__GeneratedIntermediateEventProvider/tests"
163 if [[ $? != 0 ]]; then
167 #determine the logging system
170 echo "Laying out dynamically generated Event Logging Implementation of Lttng"
171 $PYTHON -B -Wall -Werror "$__ProjectRoot/src/scripts/genXplatLttng.py" --man "$__ProjectRoot/src/vm/ClrEtwAll.man" --intermediate "$__GeneratedIntermediateEventProvider"
172 if [[ $? != 0 ]]; then
181 echo "Cleaning the temp folder of dynamically generated Event Logging files"
182 $PYTHON -B -Wall -Werror -c "import sys;sys.path.insert(0,\"$__ProjectRoot/src/scripts\"); from Utilities import *;UpdateDirectory(\"$__GeneratedIntermediate/eventprovider\",\"$__GeneratedIntermediateEventProvider\")"
183 if [[ $? != 0 ]]; then
187 rm -rf "$__GeneratedIntermediateEventProvider"
194 intermediatesForBuild="$3"
195 extraCmakeArguments="$4"
198 if [ $skipCondition == 1 ]; then
199 echo "Skipping $message build."
203 # All set to commence the build
204 echo "Commencing build of $message for $__BuildOS.$__BuildArch.$__BuildType in $intermediatesForBuild"
209 if [ $__UseNinja == 1 ]; then
211 buildFile="build.ninja"
212 if ! buildTool=$(command -v ninja || command -v ninja-build); then
213 echo "Unable to locate ninja!" 1>&2
218 if [ $__SkipConfigure == 0 ]; then
219 # if msbuild is not supported, then set __SkipGenerateVersion to 1
220 if [ $__isMSBuildOnNETCoreSupported == 0 ]; then __SkipGenerateVersion=1; fi
221 # Drop version.cpp file
222 __versionSourceFile="$intermediatesForBuild/version.cpp"
223 if [ $__SkipGenerateVersion == 0 ]; then
225 "$__ProjectRoot/run.sh" build -Project=$__ProjectDir/build.proj -generateHeaderUnix -NativeVersionSourceFile=$__versionSourceFile $__RunArgs $__UnprocessedBuildArgs
227 # Generate the dummy version.cpp, but only if it didn't exist to make sure we don't trigger unnecessary rebuild
228 __versionSourceLine="static char sccsid[] __attribute__((used)) = \"@(#)No version information produced\";"
229 if [ -e $__versionSourceFile ]; then
230 read existingVersionSourceLine < $__versionSourceFile
232 if [ "$__versionSourceLine" != "$existingVersionSourceLine" ]; then
233 echo $__versionSourceLine > $__versionSourceFile
238 pushd "$intermediatesForBuild"
239 # Regenerate the CMake solution
240 echo "Invoking \"$__ProjectRoot/src/pal/tools/gen-buildsys-clang.sh\" \"$__ProjectRoot\" $__ClangMajorVersion $__ClangMinorVersion $platformArch $__BuildType $__CodeCoverage $__IncludeTests $generator $extraCmakeArguments $__cmakeargs"
241 "$__ProjectRoot/src/pal/tools/gen-buildsys-clang.sh" "$__ProjectRoot" $__ClangMajorVersion $__ClangMinorVersion $platformArch $__BuildType $__CodeCoverage $__IncludeTests $generator "$extraCmakeArguments" "$__cmakeargs"
245 if [ ! -f "$intermediatesForBuild/$buildFile" ]; then
246 echo "Failed to generate $message build project!"
250 # Get the number of processors available to the scheduler
251 # Other techniques such as `nproc` only get the number of
252 # processors available to a single process.
253 if [ `uname` = "FreeBSD" ]; then
254 NumProc=`sysctl hw.ncpu | awk '{ print $2+1 }'`
255 elif [ `uname` = "NetBSD" ]; then
256 NumProc=$(($(getconf NPROCESSORS_ONLN)+1))
258 NumProc=$(($(getconf _NPROCESSORS_ONLN)+1))
262 if [ $__ConfigureOnly == 1 ]; then
263 echo "Finish configuration & skipping $message build."
267 # Check that the makefiles were created.
268 pushd "$intermediatesForBuild"
270 echo "Executing $buildTool install -j $NumProc"
272 $buildTool install -j $NumProc
274 echo "Failed to build $message."
281 build_cross_arch_component()
283 __SkipCrossArchBuild=1
285 # check supported cross-architecture components host(__HostArch)/target(__BuildArch) pair
286 if [[ "$__BuildArch" == "arm" && "$__CrossArch" == "x86" ]]; then
287 export CROSSCOMPILE=0
288 __SkipCrossArchBuild=0
290 # building x64-host/arm-target cross-architecture component need to use cross toolchain of x86
291 if [ "$__HostArch" == "x64" ]; then
292 export CROSSCOMPILE=1
299 export __CMakeBinDir="$__CrossComponentBinDir"
300 export CROSSCOMPONENT=1
303 if [ $CROSSCOMPILE == 1 ]; then
304 TARGET_ROOTFS="$ROOTFS_DIR"
305 if [ -n "$CAC_ROOTFS_DIR" ]; then
306 export ROOTFS_DIR="$CAC_ROOTFS_DIR"
308 export ROOTFS_DIR="$__ProjectRoot/cross/rootfs/$__CrossArch"
312 __ExtraCmakeArgs="-DCLR_CMAKE_TARGET_ARCH=$__BuildArch -DCLR_CMAKE_TARGET_OS=$__BuildOS -DCLR_CMAKE_PACKAGES_DIR=$__PackagesDir -DCLR_CMAKE_PGO_INSTRUMENT=$__PgoInstrument -DCLR_CMAKE_OPTDATA_VERSION=$__PgoOptDataVersion"
313 build_native $__SkipCrossArchBuild "$__CrossArch" "$__CrossCompIntermediatesDir" "$__ExtraCmakeArgs" "cross-architecture component"
315 # restore ROOTFS_DIR, CROSSCOMPONENT, and CROSSCOMPILE
316 if [ -n "$TARGET_ROOTFS" ]; then
317 export ROOTFS_DIR="$TARGET_ROOTFS"
319 export CROSSCOMPONENT=
320 export CROSSCOMPILE=1
323 isMSBuildOnNETCoreSupported()
325 # This needs to be updated alongwith corresponding changes to netci.groovy.
326 __isMSBuildOnNETCoreSupported=0
328 if [ "$__HostArch" == "x64" ]; then
329 if [ "$__HostOS" == "Linux" ]; then
330 case "$__HostDistroRid" in
332 __isMSBuildOnNETCoreSupported=1
335 __isMSBuildOnNETCoreSupported=1
338 __isMSBuildOnNETCoreSupported=1
341 __isMSBuildOnNETCoreSupported=1
344 __isMSBuildOnNETCoreSupported=1
347 __isMSBuildOnNETCoreSupported=1
350 __isMSBuildOnNETCoreSupported=1
353 __isMSBuildOnNETCoreSupported=1
356 __isMSBuildOnNETCoreSupported=1
359 __isMSBuildOnNETCoreSupported=1
362 __isMSBuildOnNETCoreSupported=$__msbuildonunsupportedplatform
364 elif [ "$__HostOS" == "OSX" ]; then
365 __isMSBuildOnNETCoreSupported=1
372 if [ $__SkipCoreCLR == 0 -a -e $__BinDir/crossgen ]; then
373 echo "Generating native image for System.Private.CoreLib."
374 $__BinDir/crossgen $__IbcTuning $__BinDir/System.Private.CoreLib.dll
375 if [ $? -ne 0 ]; then
376 echo "Failed to generate native image for System.Private.CoreLib."
380 if [ "$__BuildOS" == "Linux" ]; then
381 echo "Generating symbol file for System.Private.CoreLib."
382 $__BinDir/crossgen /CreatePerfMap $__BinDir $__BinDir/System.Private.CoreLib.ni.dll
383 if [ $? -ne 0 ]; then
384 echo "Failed to generate symbol file for System.Private.CoreLib."
394 if [ $__isMSBuildOnNETCoreSupported == 0 ]; then
395 echo "System.Private.CoreLib.dll build unsupported."
399 if [ $__SkipMSCorLib == 1 ]; then
400 echo "Skipping building System.Private.CoreLib."
404 echo "Commencing build of managed components for $__BuildOS.$__BuildArch.$__BuildType"
408 if [[ "$__IbcTuning" -eq "" ]]; then
409 __ExtraBuildArgs="$__ExtraBuildArgs -OptimizationDataDir=\"$__PackagesDir/optimization.$__BuildOS-$__BuildArch.IBC.CoreCLR/$__IbcOptDataVersion/data/\""
410 __ExtraBuildArgs="$__ExtraBuildArgs -EnableProfileGuidedOptimization=true"
412 $__ProjectRoot/run.sh build -Project=$__ProjectDir/build.proj -MsBuildLog="/flp:Verbosity=normal;LogFile=$__LogsDir/System.Private.CoreLib_$__BuildOS__$__BuildArch__$__BuildType.log" -BuildTarget -__IntermediatesDir=$__IntermediatesDir -__RootBinDir=$__RootBinDir -BuildNugetPackage=false -UseSharedCompilation=false $__RunArgs $__ExtraBuildArgs $__UnprocessedBuildArgs
414 if [ $? -ne 0 ]; then
415 echo "Failed to build managed components."
419 # The cross build generates a crossgen with the target architecture.
420 if [ $__CrossBuild != 1 ]; then
421 # The architecture of host pc must be same architecture with target.
422 if [[ ( "$__HostArch" == "$__BuildArch" ) ]]; then
424 elif [[ ( "$__HostArch" == "x64" ) && ( "$__BuildArch" == "x86" ) ]]; then
426 elif [[ ( "$__HostArch" == "arm64" ) && ( "$__BuildArch" == "arm" ) ]]; then
434 generate_NugetPackages()
436 # We can only generate nuget package if we also support building mscorlib as part of this build.
437 if [ $__isMSBuildOnNETCoreSupported == 0 ]; then
438 echo "Nuget package generation unsupported."
442 # Since we can build mscorlib for this OS, did we build the native components as well?
443 if [ $__SkipCoreCLR == 1 ]; then
444 echo "Unable to generate nuget packages since native components were not built."
448 echo "Generating nuget packages for "$__BuildOS
451 $__ProjectRoot/run.sh build -Project=$__SourceDir/.nuget/packages.builds -MsBuildLog="/flp:Verbosity=normal;LogFile=$__LogsDir/Nuget_$__BuildOS__$__BuildArch__$__BuildType.log" -BuildTarget -__IntermediatesDir=$__IntermediatesDir -__RootBinDir=$__RootBinDir -BuildNugetPackage=false -UseSharedCompilation=false $__RunArgs $__UnprocessedBuildArgs
453 if [ $? -ne 0 ]; then
454 echo "Failed to generate Nuget packages."
459 echo "Commencing CoreCLR Repo build"
461 # Argument types supported by this script:
463 # Build architecture - valid values are: x64, ARM.
464 # Build Type - valid values are: Debug, Checked, Release
466 # Set the default arguments for build
468 # Obtain the location of the bash script to figure out where the root of the repo is.
469 __ProjectRoot="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
471 # Use uname to determine what the CPU is.
473 # Some Linux platforms report unknown for platform, but the arch for machine.
474 if [ "$CPUName" == "unknown" ]; then
480 echo "Unsupported CPU $CPUName detected, build might not succeed!"
491 echo "Unsupported CPU $CPUName detected, build might not succeed!"
502 echo "Unknown CPU $CPUName detected, configuring as if for x64"
508 # Use uname to determine what the OS is.
542 echo "Unsupported OS $OSName detected, configuring as if for Linux"
550 __IncludeTests=Include_Tests
552 # Set the various build properties here so that CMake and MSBuild can pick them up
553 __ProjectDir="$__ProjectRoot"
554 __SourceDir="$__ProjectDir/src"
555 __PackagesDir="$__ProjectDir/packages"
556 __RootBinDir="$__ProjectDir/bin"
557 __UnprocessedBuildArgs=
570 __SkipRestoreOptData=0
572 __ClangMajorVersion=0
573 __ClangMinorVersion=0
574 __NuGetPath="$__PackagesDir/NuGet.exe"
578 __SkipGenerateVersion=0
581 __msbuildonunsupportedplatform=0
582 __PgoOptDataVersion=""
583 __IbcOptDataVersion=""
586 if [ $# -le 0 ]; then
590 lowerI="$(echo $1 | awk '{print tolower($0)}')"
630 __CodeCoverage=Coverage
646 __cmakeargs="$__cmakeargs -DSTRIP_SYMBOLS=true"
650 __ClangMajorVersion=3
651 __ClangMinorVersion=5
655 __ClangMajorVersion=3
656 __ClangMinorVersion=6
660 __ClangMajorVersion=3
661 __ClangMinorVersion=7
665 __ClangMajorVersion=3
666 __ClangMinorVersion=8
670 __ClangMajorVersion=3
671 __ClangMinorVersion=9
683 __IbcTuning="/Tuning"
697 # Use "skipnative" to use the same option name as build.cmd.
702 # Accept "skipcoreclr" for backwards-compatibility.
715 __SkipGenerateVersion=1
719 __SkipRestoreOptData=1
738 echo "ERROR: 'cmakeargs' requires a non-empty option argument"
746 if [ ! -d $__RootBinDir ]; then
749 __RootBinParent=$(dirname $__RootBinDir)
750 __RootBinName=${__RootBinDir##*/}
751 __RootBinDir="$(cd $__RootBinParent &>/dev/null && printf %s/%s $PWD $__RootBinName)"
754 echo "ERROR: 'bindir' requires a non-empty option argument"
759 __cmakeargs="-DFEATURE_STANDALONE_GC=1"
761 msbuildonunsupportedplatform)
762 __msbuildonunsupportedplatform=1
765 __UnprocessedBuildArgs="$__UnprocessedBuildArgs $1"
772 __RunArgs="-BuildArch=$__BuildArch -BuildType=$__BuildType -BuildOS=$__BuildOS"
774 # Configure environment if we are doing a verbose build
775 if [ $__VerboseBuild == 1 ]; then
777 __RunArgs="$__RunArgs -verbose"
780 # Set default clang version
781 if [[ $__ClangMajorVersion == 0 && $__ClangMinorVersion == 0 ]]; then
782 if [ $__CrossBuild == 1 ]; then
783 __ClangMajorVersion=3
784 __ClangMinorVersion=6
786 __ClangMajorVersion=3
787 __ClangMinorVersion=5
791 # Set dependent variables
792 __LogsDir="$__RootBinDir/Logs"
794 # init the host distro name
797 # Set the remaining variables based upon the determined build configuration
798 __BinDir="$__RootBinDir/Product/$__BuildOS.$__BuildArch.$__BuildType"
799 __PackagesBinDir="$__BinDir/.nuget"
800 __ToolsDir="$__RootBinDir/tools"
801 __TestWorkingDir="$__RootBinDir/tests/$__BuildOS.$__BuildArch.$__BuildType"
802 export __IntermediatesDir="$__RootBinDir/obj/$__BuildOS.$__BuildArch.$__BuildType"
803 __TestIntermediatesDir="$__RootBinDir/tests/obj/$__BuildOS.$__BuildArch.$__BuildType"
804 __isMSBuildOnNETCoreSupported=0
805 __CrossComponentBinDir="$__BinDir"
806 __CrossCompIntermediatesDir="$__IntermediatesDir/crossgen"
808 __CrossArch="$__HostArch"
809 if [[ "$__HostArch" == "x64" && "$__BuildArch" == "arm" ]]; then
812 if [ $__CrossBuild == 1 ]; then
813 __CrossComponentBinDir="$__CrossComponentBinDir/$__CrossArch"
815 __CrossgenCoreLibLog="$__LogsDir/CrossgenCoreLib_$__BuildOS.$BuildArch.$__BuildType.log"
816 __CrossgenExe="$__CrossComponentBinDir/crossgen"
818 # Init if MSBuild for .NET Core is supported for this platform
819 isMSBuildOnNETCoreSupported
821 # CI_SPECIFIC - On CI machines, $HOME may not be set. In such a case, create a subfolder and set the variable to set.
822 # This is needed by CLI to function.
823 if [ -z "$HOME" ]; then
824 if [ ! -d "$__ProjectDir/temp_home" ]; then
827 export HOME=$__ProjectDir/temp_home
828 echo "HOME not defined; setting it to $HOME"
831 # Specify path to be set for CMAKE_INSTALL_PREFIX.
832 # This is where all built CoreClr libraries will copied to.
833 export __CMakeBinDir="$__BinDir"
835 # Configure environment if we are doing a cross compile.
836 if [ $__CrossBuild == 1 ]; then
837 export CROSSCOMPILE=1
838 if ! [[ -n "$ROOTFS_DIR" ]]; then
839 export ROOTFS_DIR="$__ProjectRoot/cross/rootfs/$__BuildArch"
843 # Parse the optdata package version from its project.json file
844 optDataProjectJsonPath="$__ProjectRoot/src/.nuget/optdata/project.json"
845 if [ -f $optDataProjectJsonPath ]; then
846 __PgoOptDataVersion=$("$__ProjectRoot/extract-from-json.py" -rf $optDataProjectJsonPath dependencies optimization.PGO.CoreCLR)
847 __IbcOptDataVersion=$("$__ProjectRoot/extract-from-json.py" -rf $optDataProjectJsonPath dependencies optimization.IBC.CoreCLR)
850 # init the target distro name
853 # Make the directories necessary for build if they don't exist
859 # Restore the package containing profile counts for profile-guided optimizations
862 # Generate event logging infrastructure sources
863 generate_event_logging_sources
865 # Build the coreclr (native) components.
866 __ExtraCmakeArgs="-DCLR_CMAKE_TARGET_OS=$__BuildOS -DCLR_CMAKE_PACKAGES_DIR=$__PackagesDir -DCLR_CMAKE_PGO_INSTRUMENT=$__PgoInstrument -DCLR_CMAKE_OPTDATA_VERSION=$__PgoOptDataVersion"
867 build_native $__SkipCoreCLR "$__BuildArch" "$__IntermediatesDir" "$__ExtraCmakeArgs" "CoreCLR component"
869 # Build cross-architecture components
870 if [[ $__CrossBuild == 1 && $__DoCrossArchBuild == 1 ]]; then
871 build_cross_arch_component
874 # Build System.Private.CoreLib.
878 # Generate nuget packages
879 if [ $__SkipNuget != 1 ]; then
880 generate_NugetPackages
886 echo "Repo successfully built."
887 echo "Product binaries are available at $__BinDir"