[mono-runtimes] Bundle Consts.cs, use correct opt.exe install location #165
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context: #162
PR #162 tries to use the mono bundle (fbfd676) to avoid rebuilding
mono on subsequent builds (when the mono commit hasn't changed), in
order to speed up the Jenkins build process (currently tracking at
~3.5 hours for a non-PR build...)
PR #162 currently fails when building
src/Mono.Data.Sqlite:Fix this error by copying
external/mono/mcs/build/common/Consts.csinto
bin/$(Configuration)/include, and updating theConsts.csreferences within
Mono.Data.Sqlite.csprojandMono.Posix.csprojsothat they'll use the
includecopy.This should allow us to use the bundle to build these projects.
Additionally,
llc.exeandopt.exeare installed into$prefix/bin, which isn't correct;$prefix/binas a constructdoesn't exist on Windows. Install these into
$prefix/lib/mandroid.Update the bundle version to note these bundle changes.