You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ "$desired_version"!="-1" ];then majorVersion="${parts[0]}";break;fi
57
+
if [["$desired_version"!="-1"]];then majorVersion="${parts[0]}";break;fi
65
58
done
66
59
67
-
if [ -z"$majorVersion" ];then
60
+
if [[-z"$majorVersion"]];then
68
61
ifcommand -v "$compiler"> /dev/null;then
69
-
if [ "$(uname)"!="Darwin" ];then
62
+
if [["$(uname)"!="Darwin"]];then
70
63
Write-PipelineTelemetryError -category "Build" -type "warning""Specific version of $compiler not found, falling back to use the one in PATH."
71
64
fi
72
-
exportCC="$(command -v "$compiler")"
73
-
exportCXX="$(command -v "$cxxCompiler")"
65
+
CC="$(command -v "$compiler")"
66
+
CXX="$(command -v "$cxxCompiler")"
74
67
else
75
68
Write-PipelineTelemetryError -category "Build""No usable version of $compiler found."
76
69
exit 1
77
70
fi
78
71
else
79
-
if [ "$compiler"="clang"] &&[ "$majorVersion"-lt 5 ];then
80
-
if [ "$build_arch"="arm"] ||[ "$build_arch"="armel" ];then
72
+
if [["$compiler"=="clang"&&"$majorVersion"-lt 5 ]];then
73
+
if [["$build_arch"=="arm"||"$build_arch"=="armel"]];then
81
74
ifcommand -v "$compiler"> /dev/null;then
82
75
Write-PipelineTelemetryError -category "Build" -type "warning""Found clang version $majorVersion which is not supported on arm/armel architectures, falling back to use clang from PATH."
83
-
exportCC="$(command -v "$compiler")"
84
-
exportCXX="$(command -v "$cxxCompiler")"
76
+
CC="$(command -v "$compiler")"
77
+
CXX="$(command -v "$cxxCompiler")"
85
78
else
86
79
Write-PipelineTelemetryError -category "Build""Found clang version $majorVersion which is not supported on arm/armel architectures, and there is no clang in PATH."
<!-- default thread suspend for specific platforms -->
@@ -224,7 +226,7 @@
224
226
225
227
<!-- ARM Linux cross build options on CI -->
226
228
<ItemGroupCondition="'$(TargetsAndroid)' != 'true' and '$(MonoCrossDir)' != '' and ('$(TargetArchitecture)' == 'arm' or '$(TargetArchitecture)' == 'arm64')">
0 commit comments