Age | Commit message (Collapse) | Author |
|
Don't run `make install` in boehm submodule
|
|
Those folders won't be present in the dotnet/runtime repository.
We need to factor out AC_OUTPUT into a separate file so we can continue
to share configure.ac but not the list of files in AC_OUTPUT since
autotools doesn't support variables there.
|
|
Many of the tests from the llvm-project monorepo cause problems to `make dist`
|
|
|
|
```
configure.ac:6695: error: required file 'netcore/corerun/Makefile.in' not found
Makefile.am:24: error: required directory ./netcore/corerun does not exist
```
|
|
|
|
* Disable `subdir-objects` mode in Automake
This forces creation of subdirectories' files (e.g. .deps/*.Plo) in the
parent directory listing the source file. This works around a situation
where two different files specify files in a different parent directory
(i.e. ../../support/adler32.c in mono/metadata/ and adler32.c in
support/) both emit files into the same place (support/.deps), causing
`make distclean` to try and delete support/.deps from two different
places, breaking distclean.
This unfortunately adds a pile of Automake warnings, during autogen.
The "correct" fix is to stop specifying zlib as a pile of flat .c files,
and instead put it in its own subdirectory, conditionally including
its .la files as required.
Partially fixes https://github.com/mono/mono/issues/16605
* Ship netcore/Makefile with an empty distclean rule
We need a netcore/ directory because we write to it during configure,
and we need a netcore/Makefile with a distclean rule, so top-level
recursive distclean doesn't fail. So specify both here.
Partially fixes https://github.com/mono/mono/issues/16605
|
|
Setting an explicit mcs is no longer supported by the rest of the build scripts.
|
|
|
|
|
|
GitHub provides a way to download a .zip/.tar.gz of the repository content in their UI, however the archive doesn't contain git submodules.
The mono build then fails with confusing "missing file" errors.
Since GitHub doesn't let us disable the archive download we should at least add some logic to detect this broken case and bail out.
|
|
|
|
* Bump linker to latest master
The linker source were reorganized a little bit, e.g. sources in src/
* [csproj] Update project files
|
|
#9833) (#11813)
|
|
The helix binaries weren't getting included so the uploader tool failed to build.
While we don't need them for a tarball build it's easier to just include them.
|
|
|
|
Closes: https://github.com/mono/mono/issues/11501
|
|
* Integrate msvc build into make build system.
Add support to perform msvc build as part of regular make build. By default
msvc build will not automatically be done and needs to be enabled using
--with-msvc argument passed to ./autogen.sh. Doing msvc build as part of
regular make will automatically set MONO_EXECUTABLE to build msvc build
Mono runtime used in BCL and Test build as well as runtime used when running
tests.
* Add support to install msvc build mono runtime.
* Disable --with-msvc argument for none Windows builds.
* Fix VS2015 Build Tools build environment.
* Updated with review feedback switching to --enable-msvc.
|
|
of solution dependencies (#9670)
Using solution dependencies in ```bcl.sln``` seems flaky and seems like it might not establish the full ordering we need to ensure that ```Consts.cs``` exists before we build things that require it. Let's try using project references (where ```corlib.dll``` 'depends' on ```genconsts.exe```) instead. This should also insert the dependency for any project that includes Consts.cs instead of just corlib.
This PR also makes update-solution-files actually fail if ```genconsts.exe``` fails to build because it was driving me mad.
Part of #6886
|
|
[runtime] Build LLVM inside of mono as part of build
|
|
host platform (#8985)
* Update genproj makefile to include gensources
Update genproj argument parser to be more generous about displaying help
* Checkpoint
* Checkpoint
* Checkpoint
* Checkpoint
* Checkpoint
* Checkpoint
* Checkpoint
* Checkpoint
* Fix rebase issue
* Checkpoint
* Checkpoint
* Fix built sources only being added to one profile
* Fix typo
* Checkpoint
* Fix indentation
* Use csc instead of mcs
* Checkpoint
* Fix BUILT_SOURCES only being handled for the first profile processed
* Checkpoint
* Checkpoint
* Strip double slashes from paths to fix spurious csproj change
* Checkpoint
* Checkpoint
* Checkpoint
* Checkpoint: Fix genproj compilation
* Checkpoint
* Checkpoint
* Checkpoint
* Fix crash when no targets were loaded (due to an error)
* Checkpoint
* Checkpoint
* Checkpoint
* Fix TryParseTargetInto bug
* Checkpoint
* Shuffle exclude logic around so that it works correctly during genproj diffing
* Remove gensources tracing
* Checkpoint
* Fix handling of oddball sources paths from executable.make
* Fix jay not being set to build
* Fix wrong slashes being used for embedded resource paths
* [csproj] Update project files
|
|
|
|
It was missed in fe21aad1dfb8e3356716e86248a5025f27dfb418 and breaks the tarball build.
|
|
This batch of commits makes further updates to our support for building the BCL using msbuild (Visual Studio, to be specific).
* Generates a single sln and set of csproj files with support for all of our build profiles (orbis, monodroid, net_4_x, etc)
* Project configuration selector (in VS or as parameter to msbuild) can be used to select which profile to build
* Includes partial dependency information so that culevel and jay are compiled before the rest of the sln (this keeps pre/post events from from failing on first build)
As of this rev things are working pretty good, but a lot of the measures I took here are temporary so I'd appreciate thoughts on how to go about them. The hard-coded System.Web -> Culevel dependency feels gross, for example - I kind of want to go through and build an automatic solution for it but I'm not sure it's necessary.
Implements #6858
---
* Checkpoint: Generate single .csproj file with conditional item/property groups
* Checkpoint: Updates to csproj and sln generation to support building specific profiles
* Move targets file in csproj template so that it isn't evaluated before all properties are set
* Checkpoint profile fallback (use net_4_x if project does not have appropriate profile)
* Use in-process cache for project guids to fix bug where many guids were being generated. Fix profile fallback.
* Clean up unnecessary debug writelines
* genproj error fixes
* Remove duplicate gacutil entry from makefile to fix order.xml corruption. Cleaner project names in msbuild sln. Compile genproj before generating inputs.
* Delete genproj.exe at beginning of update-solution-files because otherwise syntax errors will cause an old version to be used silently
Cleaner messages from genproj
* Hard-code the guid for culevel and add it as a dependency for system.web
* Bug fixes
* sln files are sensitive to whitespace format
* Don't generate pointless solution configurations if we have no information for them
* Updates based on PR feedback
|
|
building of support library (#7652)
* [sdks] Simply building of support library
* [sdks] Fix concurrent building of MonoAotOffsetsDumper.exe
* [sdks] Cleanup of some targets
|
|
|
|
They contain files with very long names which causes issues with `tar`.
We simply remove them from the dist directory before creating
the tarball since we don't use them in the Mono build anyway.
Fixes https://github.com/mono/mono/issues/6349
|
|
```
commit dcd3ed4930fbfa19df1a34c17bc17f5a57badb83
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Thu Apr 6 15:53:36 2017 -0700
switch mono to 2017-04.
external/mono | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit cbff024be0d2ed30efda0ee228c339e4e2dce866
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Thu Apr 6 15:53:13 2017 -0700
Update readme with xtc specifics.
README.md | 13 +++++++++++++
1 file changed, 13 insertions(+)
commit b385e6ce4ee7ffb92cdb39cdf8bbdb82355d909f
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Thu Apr 6 15:34:18 2017 -0700
Add makefile to build & submit to xtc.
android/xtc/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
commit 09ca3773ac25d8415c537f063d057aa471bb1eae
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Thu Apr 6 15:08:29 2017 -0700
UITest based runner.
android/xtc/RuntimeTests.csproj | 43 +++++++++++++++++++++
android/xtc/RuntimeTests.sln | 17 +++++++++
android/xtc/Tests.cs | 84 +++++++++++++++++++++++++++++++++++++++++
android/xtc/packages.config | 5 +++
4 files changed, 149 insertions(+)
commit bc20ebfeb58ee9d876e2f675651bdb9afa07fdeb
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Thu Apr 6 15:05:39 2017 -0700
Finish x86 support.
android/Makefile | 4 ++++
android/jni/Application.mk | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
commit dcec00c4ef9240324ef3c4b9a4d5ab7c670c1984
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Thu Apr 6 13:49:55 2017 -0700
Add new redeploy target plus fix bcl staging.
android/Makefile | 4 ++++
android/managed/Makefile | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
commit 5d6db27c2a3039271138f9f8c58a72262211793d
Author: Bernhard Urban <bernhard.urban@xamarin.com>
Date: Thu Mar 30 18:26:24 2017 -0400
[readme] add todo item for android
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9ebd7bed3a5e66ccae2819e4c1045a1714a4274b
Author: Bernhard Urban <bernhard.urban@xamarin.com>
Date: Thu Mar 30 17:39:49 2017 -0400
fix default make target
Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
commit f307dd3ef39733f528f1ef816741d2a9f4017f7a
Author: Bernhard Urban <bernhard.urban@xamarin.com>
Date: Thu Mar 30 17:37:11 2017 -0400
[sdks] use $(NDK_DIR) from paths.mk
sdks/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 83f470fcd7b039fd7945ec939c314bc18d2829ad
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Thu Mar 30 16:58:45 2017 -0400
More todos
README.md | 1 +
1 file changed, 1 insertion(+)
commit d5a3d38a848860f5c4ba320c0ca6d26d52eff635
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Thu Mar 30 16:58:28 2017 -0400
Add x86 and x86_64
android/jni/Application.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3c51f005173a021d1bf6e8ecea22bc3b5fda08ba
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Thu Mar 30 16:55:45 2017 -0400
Fix the mono submodule.
external/mono | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e293d61090c9e8eb3a113a0d34be7ddd1e2c3597
Author: Bernhard Urban <bernhard.urban@xamarin.com>
Date: Wed Mar 29 18:36:29 2017 -0400
[readme] add links to specific NDK
README.md | 6 ++++++
1 file changed, 6 insertions(+)
commit 0985f1c448641484de6eac249f9cb9af1f1973b5
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Wed Mar 29 16:32:47 2017 -0400
fix x86/x86_64 packaging.
README.md | 1 +
sdks/Makefile | 13 +++----------
sdks/android.erb | 13 +++++++++++++
3 files changed, 17 insertions(+), 10 deletions(-)
commit c0b9498d9afdaea48f474d31358a284b31d621e5
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Wed Mar 29 15:31:37 2017 -0400
Add x86 and x86-84 to sdks.
sdks/Makefile | 15 +++++++++++++--
sdks/android-template.rb | 33 +++++++++++++++++++++++++++++++++
sdks/android.erb | 4 ++--
3 files changed, 48 insertions(+), 4 deletions(-)
commit 53778f4d473798123cf06896ffd2082517afc08d
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Wed Mar 29 11:40:18 2017 -0400
small updates
Makefile | 7 ++++++-
README.md | 5 +++++
2 files changed, 11 insertions(+), 1 deletion(-)
commit 531603b66b630f3a46d1173124e202867f22460b
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Wed Mar 29 11:33:08 2017 -0400
Add Android app.
android/AndroidManifest.xml | 17 +
android/Makefile | 56 ++
android/build.xml | 92 ++++
android/jni/Android.mk | 36 ++
android/jni/Application.mk | 2 +
android/jni/runtime-bootstrap.c | 588 +++++++++++++++++++++
android/res/layout/main.xml | 22 +
android/res/values/strings.xml | 4 +
.../src/org/mono/android/main/AndroidRunner.java | 136 +++++
9 files changed, 953 insertions(+)
commit 2ae7f04e5fec696c83e47e8d938d9c9a3804beb8
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Wed Mar 29 11:05:30 2017 -0400
Add C# test runner, build scripts and the needed machine.config.
Makefile | 55 +------
android/machine.config | 278 ++++++++++++++++++++++++++++++++++++
android/managed/Makefile | 80 +++++++++++
android/managed/fake-monodroid.cs | 80 +++++++++++
android/managed/main.cs | 106 ++++++++++++++
android/managed/mini-test-runner.cs | 74 ++++++++++
6 files changed, 621 insertions(+), 52 deletions(-)
commit ded22bbf4a496e5e4a5fc9feb1f615698101718b
Author: Rodrigo Kumpera <kumpera@users.noreply.github.com>
Date: Tue Mar 28 13:59:42 2017 -0400
update readme
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit f32b490b520da12a68f14ca6adfb00cb06b6733e
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Tue Mar 28 00:26:00 2017 -0400
Initial set of scripts to build Android runtimes.
.gitmodules | 4 +++
Makefile | 57 +++++++++++++++++++++++++++++++
README.md | 23 +++++++++++++
external/mono | 1 +
paths.mk | 5 +++
sdks/Makefile | 83 +++++++++++++++++++++++++++++++++++++++++++++
sdks/android-template.rb | 58 +++++++++++++++++++++++++++++++
sdks/android.erb | 88 ++++++++++++++++++++++++++++++++++++++++++++++++
8 files changed, 319 insertions(+)
commit c61c02f2f30e513c3f2c471892158958e9a042ca
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Wed May 3 12:22:18 2017 -0700
Build offsets & cross compilers, requires tip of kumpera/mono/naked-mono-goes-ios. Ready for cleanup-a-ton.
sdks/ios.mk | 36 +++++++++++++++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
commit 9b0f4522b96f7f9f91837859ad422e7a5c4300fb
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Tue May 2 19:56:22 2017 -0700
add cross64.
sdks/ios.mk | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
commit 1b03dc6552dd08b1690374e6b73d89a085b59a2e
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Tue May 2 19:55:30 2017 -0700
add cross compilers. cross offset generation missing.
sdks/ios.mk | 52 ++++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 48 insertions(+), 4 deletions(-)
commit 1697337e706220185568eedf52b73e236521576a
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Tue May 2 17:38:52 2017 -0700
add device64
sdks/ios.mk | 115 ++++++++++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 92 insertions(+), 23 deletions(-)
commit 39f5ce7332d2d2cb7f9ca187f5d88f092f030d3c
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Tue May 2 13:18:15 2017 -0700
missing files.
ios/MonoTestRunner/main.cs | 106 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 106 insertions(+)
commit e3acb9682de0cf11ceda0ab38649c39fc7518b41
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Tue May 2 13:15:53 2017 -0700
some IO stuff
ios/MonoTestRunner/Makefile | 15 ++++--
.../MonoTestRunner/Base.lproj/Main.storyboard | 41 +++++++++++++++--
ios/MonoTestRunner/MonoTestRunner/ViewController.m | 18 ++++++++
.../MonoTestRunner/runtime-bootstrap.c | 12 +++--
.../MonoTestRunner/runtime-bootstrap.h | 1 +
.../MonoTestRunner/runtime-objc-helpers.m | 53 +++++++++++++++++++++-
6 files changed, 129 insertions(+), 11 deletions(-)
commit 5c83e9bb5bfdae13ff632d620b4d2a9896c83be3
Author: Rodrigo Kumpera <kumpera@gmail.com>
Date: Thu Apr 20 15:41:43 2017 -0700
Skeleton support for iOS. Sim only, not part of regular build.
ios/MonoTestRunner/Makefile | 32 ++
.../MonoTestRunner.xcodeproj/project.pbxproj | 373 +++++++++++++++++++++
ios/MonoTestRunner/MonoTestRunner/AppDelegate.h | 17 +
ios/MonoTestRunner/MonoTestRunner/AppDelegate.m | 51 +++
.../AppIcon.appiconset/Contents.json | 93 +++++
.../MonoTestRunner/Assets.xcassets/Contents.json | 6 +
.../Base.lproj/LaunchScreen.storyboard | 27 ++
.../MonoTestRunner/Base.lproj/Main.storyboard | 26 ++
ios/MonoTestRunner/MonoTestRunner/Info.plist | 45 +++
ios/MonoTestRunner/MonoTestRunner/ViewController.h | 15 +
ios/MonoTestRunner/MonoTestRunner/ViewController.m | 32 ++
ios/MonoTestRunner/MonoTestRunner/main.m | 16 +
.../MonoTestRunner/runtime-bootstrap.c | 269 +++++++++++++++
.../MonoTestRunner/runtime-bootstrap.h | 16 +
.../MonoTestRunner/runtime-objc-helpers.m | 44 +++
sdks/Makefile | 10 +-
sdks/ios.mk | 177 ++++++++++
17 files changed, 1245 insertions(+), 4 deletions(-)
```
|
|
* add tests to net_4_x.sln
* remove redundant string.Format
|
|
win32getdeps and win32setup don't apply anymore.
|
|
similar to utils/ etc. (#5297)
|
|
mscorlib.dll etc will be platform specific in the future. This also
means that we need to adapt monolite since it'll become platform
specific once we start the divergence.
monolite is essentially a repackaging of the "build" profile which
means we need to turn that profile into multi-platform profile
like net_4_x. We'll still have a symlink from build -> build-darwin
and the monolite which is downloaded or packaged in the tarball
is expanded into mcs/lib/monolite-<platform> depending on the platform
you're building on.
I had to move the get-monolite-latest target from the top-level
Makefile.am into mcs/class/Makefile so it has access to HOST_PLATFORM,
but it arguably should've been there anyway before.
|
|
If you're building with monolite currently the build system
checks for the existence of mcs/class/lib/monolite and just
uses it in that case.
It becomes a problem when bumping corlib version since if you
pull the update and try to build it'll use the old monolite
and you'll hit the "corlib version not in sync" error.
By making the monolite directory include the version this can
be avoided and everything works out of the box.
Also removed the confusing "You need Mono version 4.8 or better"
message since we actually require a newer version in
basic-profile-check.cs now and keeping them in sync is error prone.
|
|
This makes it possible to version the runtime<->corlib interface
for each version branch independently and fixes the problem
of monolite getting overwritten by changes in different branches
when corlib version is still the same.
We're moving definition of the corlib version into configure.ac
so we can more easily bake the Mono version into it.
|
|
|
|
It'd not be recognized as a shell file so it'd get CRLF line
endings on Windows which doesn't work. Also added a shebang.
Also remove get-cygwin-deps.sh, it is long outdated.
Correct instructions are on the Mono website.
|
|
Should help fix the package builds on Jenkins.
|
|
|
|
|
|
|
|
[mobile_static] Update jenkins build script for mobile_static profile
|
|
(#3159)
[library.make] Make resource usage declarative in the class libraries
|
|
|
|
|
|
don't seem to compile.
|
|
* [runtime] Move 'pedump' to tools/pedump, build tools by default.
* Add missing file.
* [runtime] Mark mono_opcodes[] with MONO_API.
* [runtime] Build monograph when sgen is supported instead of boehm.
* [runtime] Link monograph against the static runtime libraries.
* [runtime] Use the same SUBDIRS/DIST_SUBDIRS for the CROSS_COMPILING case.
|
|
This ensures all the right files are packaged in the tarball.
|
|
Since referencesource is no longer a submodule under external/ after https://github.com/mono/mono/pull/2962
it didn't get included in the tarball anymore.
We need to add it again to fix the tarball build.
|
|
toplevel net_4_x.sln
|
|
|