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="$_major";break;fi
81
74
done
82
75
83
-
if [[-z"$majorVersion"]];then
76
+
if [ -z"$majorVersion" ];then
84
77
ifcommand -v "$compiler"> /dev/null;then
85
-
if [["$(uname)"!="Darwin"]];then
86
-
Write-PipelineTelemetryError -category "Build" -type "warning""Specific version of $compiler not found, falling back to use the one in PATH."
78
+
if [ "$(uname)"!="Darwin" ];then
79
+
echo"Warning: Specific version of $compiler not found, falling back to use the one in PATH."
87
80
fi
88
81
CC="$(command -v "$compiler")"
89
82
CXX="$(command -v "$cxxCompiler")"
90
83
else
91
-
Write-PipelineTelemetryError -category "Build""No usable version of $compiler found."
84
+
echo"No usable version of $compiler found."
92
85
exit 1
93
86
fi
94
87
else
95
-
if [["$compiler"=="clang"&&"$majorVersion"-lt 5 ]];then
96
-
if [["$build_arch"=="arm"||"$build_arch"=="armel"]];then
88
+
if [ "$compiler"="clang"] &&[ "$majorVersion"-lt 5 ];then
89
+
if [ "$build_arch"="arm"] ||[ "$build_arch"="armel" ];then
97
90
ifcommand -v "$compiler"> /dev/null;then
98
-
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."
91
+
echo"Warning: Found clang version $majorVersion which is not supported on arm/armel architectures, falling back to use clang from PATH."
99
92
CC="$(command -v "$compiler")"
100
93
CXX="$(command -v "$cxxCompiler")"
101
94
else
102
-
Write-PipelineTelemetryError -category "Build""Found clang version $majorVersion which is not supported on arm/armel architectures, and there is no clang in PATH."
95
+
echo"Found clang version $majorVersion which is not supported on arm/armel architectures, and there is no clang in PATH."
<ErrorCondition="'$(_WhereLinker)' != '0' and '$(TargetOS)' == 'OSX'"Text="Platform linker ('$(CppLinker)') not found in PATH. Try installing Xcode to resolve the problem." />
0 commit comments