fi
fi
-mkdir -p "$__IntermediatesDir"
-mkdir -p "$__LogDir"
-mkdir -p "$__CMakeBinDir"
-
build_native()
{
- platformArch="$1"
- intermediatesForBuild="$2"
- extraCmakeArguments="$3"
+ targetOS="$1"
+ platformArch="$2"
+ cmakeDir="$3"
+ intermediatesForBuild="$4"
+ target="$5"
+ extraCmakeArguments="$6"
+ message="$7"
# All set to commence the build
echo "Commencing $__DistroRid build for $__BuildOS.$__BuildArch.$__BuildType in $intermediatesForBuild"
generator=""
buildFile="Makefile"
buildTool="make"
- scriptDir="$__ProjectRoot/eng"
+ scriptDir="$__RepoRootDir/eng"
pushd "$intermediatesForBuild"
- echo "Invoking \"$scriptDir/gen-buildsys-clang.sh\" \"$__ProjectRoot\" $__ClangMajorVersion \"$__ClangMinorVersion\" $platformArch "$scriptDir" $__BuildType $generator $extraCmakeArguments"
- "$scriptDir/gen-buildsys-clang.sh" "$__ProjectRoot" $__ClangMajorVersion "$__ClangMinorVersion" $platformArch "$scriptDir" $__BuildType $generator "$extraCmakeArguments"
+ next_command="\"$scriptDir/native/gen-buildsys.sh\" \"$cmakeDir\" \"$intermediatesForBuild\" $platformArch $__Compiler \"$__CompilerMajorVersion\" \"$__CompilerMinorVersion\" $__BuildType \"$generator\" $scan_build $extraCmakeArguments"
+ echo "Invoking $next_command"
+ eval $next_command
popd
if [ ! -f "$intermediatesForBuild/$buildFile" ]; then
initTargetDistroRid()
{
- source "$__ProjectRoot/eng/init-distro-rid.sh"
+ source "$__RepoRootDir/eng/native/init-distro-rid.sh"
local passedRootfsDir=""
%endif
export TIZEN_LOCAL_BUILD=1
-export NUGET_PACKAGES=%{_builddir}/%{name}-%{version}/packages
+export NUGET_PACKAGES=%{_builddir}/%{name}-%{version}/.packages
export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/libicu-57.1
-./build.sh --portablebuild=false --configuration %{_buildtype} --architecture %{_barch} /p:NeedsPublishing=true /p:EnableSourceLink=false /p:EnableSourceControlManagerQueries=false
+./build.sh --portablebuild=false -configuration %{_buildtype} -architecture %{_barch} /p:NeedsPublishing=true /p:EnableSourceLink=false /p:EnableSourceControlManagerQueries=false
%install
%define netcoreappdir %{_datadir}/dotnet/shared/Microsoft.NETCore.App/%{dotnet_version}