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
The reason we started the source-build-reference-packages repo was that some assemblies cannot be round-tripped with ILAsm/ILDasm. We at least need to know that list in order not to fail trying.
Copy file name to clipboardExpand all lines: build-source-tarball.sh
+56-67Lines changed: 56 additions & 67 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,6 @@ usage() {
8
8
echo" --skip-build assume we have already built (requires you have built with the /p:ArchiveDownloadedPackages=true flag)"
9
9
echo" --enable-leak-detection build leaked-binary detection tasts for later use while building from this tarball"
10
10
echo" --skip-prebuilt-check do not confirm that all prebuilt packages used are either reference packages, previously-built, or known extras"
11
-
echo" --assume-no-prebuilts assume that no prebuilts are necessary and reference packages and a previously-built set of packages will be provided when building the tarball. implies --skip-prebuilt-check, makes --with-ref-packages and --with-packages redundant"
12
11
echo" --with-ref-packages <dir> use the specified directory of available reference packages to determine what prebuilts to delete, instead of downloading the most recent version"
13
12
echo" --with-packages <dir> use the specified directory of available previously-built packages to determine what prebuilts to delete, instead of downloading the most recent version"
14
13
echo"use -- to send the remaining arguments to build.sh"
forpackagein`ls -A $TARBALL_ROOT/packages/prebuilt`
381
-
do
382
-
if grep -q "$package"$SCRIPT_ROOT/support/allowed-prebuilts.txt;then
383
-
echo"Allowing prebuilt $package"
384
-
else
385
-
echo"ERROR: $package is not in the allowed prebuilts list ($SCRIPT_ROOT/support/allowed-prebuilts.txt)"
386
-
error_encountered=true
387
-
fi
388
-
done
389
-
if [ "$error_encountered"="true" ];then
390
-
echo"Either remove this prebuilt, add it to the known extras list ($SCRIPT_ROOT/support/additional-prebuilts-to-delete.txt) or add it to the allowed prebuilts list."
391
-
exit 1
392
-
fi
383
+
done
384
+
if [ "$error_encountered"="true" ];then
385
+
echo"Either remove this prebuilt, add it to the known extras list ($SCRIPT_ROOT/support/additional-prebuilts-to-delete.txt) or add it to the allowed prebuilts list."
386
+
exit 1
393
387
fi
394
-
395
-
else
396
-
echo"Deleting all prebuilt packages..."
397
-
# leave the actual directory so we can use it as a NuGet source later without problems
398
-
rm -rf $TARBALL_ROOT/packages/prebuilt/*
399
388
fi
400
389
401
390
echo'Removing source-built, previously source-built packages and reference packages from il pkg src...'
0 commit comments