76 Commits
Author SHA1 Message Date
Alexander Köplinger f46191114b [bcl] Add nunit exclude categories for monotouch/monodroid profiles (#14695)
We didn't set all the categories that the products used in our profiles.

Now that the products can consume the exclude categories from mono we
need to unify the values.

Removed ValueAdd since it's not used anymore and combined MacNotWorking
into NotOnMac.
2019-05-29 16:58:55 +02:00
Alexander Köplinger 07c58ee2ed [bcl] Write newline-separated nunit/xunit excludes file for sdks archive (#14681)
During XI integration we noticed that just using the verbatim commandline
-exclude or -notrait is not ideal since XI uses the nunit/xunit APIs to
pass that information and not the command line parser.

Instead we now write the exclude categories/traits as a newline-separated file.
2019-05-28 18:49:26 +02:00
Marek Safar dc9bc9e0e6 Enables SRE for wasm 2019-01-23 11:17:47 +01:00
Marek Safar 2101be92eb [corlib] Update aot testing profile to run more tests 2018-11-06 10:27:55 +01:00
Marek Safar 6bcccccb82 [corlib] Control SRE using its own define 2018-10-03 08:38:19 +02:00
Marek Safar 0302d9d152 [System.Core] Removes no longer needed reference (#10827)
* [System.Core] Removes no longer needed reference

* [csproj] Update project files
2018-09-27 12:10:27 +02:00
Filip Navara 0f0e31842f System.IO.Pipes from CoreFX (#9573)
Rework of #5448, contributes to #7143.

The anonymous pipes were tested on macOS, build was tested only on few configurations (hoping to solve some issue through Jenkins builds). Named pipe tests get stuck on macOS, but it may be unrelated Xunit issue and needs some proper debugging.

@Therzok, do you know of anything else that is missing for parallel MSBuild? Do you have some test environment for it by chance?
2018-07-24 10:19:18 +02:00
Egor Bogatov cae8dd6dbd [System.Core] Use corefx System.Linq tests (~25k tests) (#5515) 2017-12-19 23:03:59 +01:00
Bernhard Urban 746a3d0214 [corlib] rename NotWorkingInterpreter and InterpreterNotWorking categories (#6225) 2017-12-14 00:52:49 +01:00
Alexander Köplinger 5ef930b5f8 [bcl] Build some assemblies with -warnaserror (#5295)
* [bcl] Build some assemblies with -warnaserror

This ensures that we keep the build warning free.

We'll only opt-in a few assemblies that already have zero warnings.
We also only apply this when using csc as mcs might raise different warnings.

For now just opt-in assemblies in the net_4_x profile.
2017-11-24 14:05:39 +01:00
Alexander Köplinger bf8cc86306 [bcl] Clean up FRAMEWORK_VERSION 4.0 and 2.0 checks (#5356)
We don't build those profiles anymore, we have a net_4_x configuration instead.
2017-08-11 16:22:02 +02:00
Marek Safar fd5bcaa48b [build] Use multiple inputs in profiled aot 2017-01-28 04:49:28 -05:00
Alexander Köplinger 10dd36e3a8 [System.Core] Fix infinite loop in csproj-local target
This was introduced in 9d5de96b0f since
we would now call the csproj-local target without `intermediate`
being set which results in an infinite loop.

Overriding the target doesn't seem to be necessary anymore, so remove it.
2017-01-04 22:32:53 +01:00
Marek Safar b674f24074 [System.Core] LINQ from corefx 2016-12-21 10:07:54 +01:00
Marek Safar 9d5de96b0f [System.Core] SLE from CoreFX including interpreter 2016-12-19 14:19:30 +01:00
Marek Safar 47a6f56439 [bcl] Clean up some warnings 2016-11-29 19:16:02 +01:00
Alexander Köplinger 9f5b8c4cf2 Rename the mobile_static profile to aot_only
We decided it's a better name since we're using the profile to
test FullAOT scenarios on desktop (as opposed to the mobile profiles).

While doing the rename I saw that a lot of the #ifdefs were using
MOBILE_STATIC even though the code should actually be included/excluded
in all FullAOT scenarios, e.g. System.Reflection.Emit. I replaced those
cases with FULL_AOT_RUNTIME instead.

For cases where code is specific to this profile, I added a new
AOT_ONLY_DESKTOP define.
2016-11-24 17:40:54 +01:00
Marek Safar 79fa40e7f2 Remove referencesource submodule and move sources to mcs/class/referencesource
This simplified PR workflow and makes branching easier
2016-05-03 13:34:32 +02:00
Marek Safar 4f8c66cd7c [System.Core] Add CommonCrypto dependencies 2016-04-22 10:30:09 +02:00
Marek Safar ab47527e0f [bcl] Redo referencesource resource string integration to not depend on mcs 2016-03-04 13:44:16 +01:00
Rolf Bjarne Kvinge 05ef9eddfe Remove profile-specific logic from makefiles.
Instead use variables defined in each profile's profile-specific makefile.
2015-09-11 18:06:15 +02:00
Rolf Bjarne Kvinge 97f919f7b7 Add a monotouch_watch profile. 2015-06-25 13:28:11 +02:00
Zoltan Varga 13685c2326 [build] Add the assemblies in LIB_REFS to LIB_MCS_FLAGS automatically to reduce duplication. 2015-03-02 14:03:56 -05:00
Zoltan Varga 37983f7fc3 [build] Add dependency information for class libraries using a LIB_REFS variable which lists the assemblies a given assembly depends on to build. 2015-02-26 22:27:27 -05:00
Marek Safar 04c5ac7f7e [system.core] Switch to dynamic visitor from reference sources and remove unused files 2015-02-23 17:03:43 +01:00
Marek Safar 8e90a963d6 Use more resource text strings from reference sources 2015-02-20 11:16:18 +01:00
Marcos Henrich 8473c6db7e Moved android-dump-tzdata make target to corlib.
Reason: All TimeZoneInfo related files are now all in corlib directory.
2015-02-10 10:32:30 +00:00
Jonathan Pryor 52eceb5460 [System.Core/Android] Update TimeZone database self test.
The `make tzi.exe` target had bitrotted, and the
`make android-dump-tzdata` target generated inadvertent/unintentional
errors.  Fix the makefile so that things build and run.
2015-02-02 15:20:39 -05:00
Marek Safar 9425cb5055 [system.core] Replace PLINQ implementation with .net version 2014-11-22 13:36:41 +01:00
Jonathan Pryor ac1dcc6ade [System.Core/Android] Update TimeZone database self test.
Add Makefile rules to automagically download the TimeZone database
from the Android target $(ADB_TARGET), and build the tzi.exe app.

	$ make android-dump-tzdata ADB_TARGET=-d
	# downloads timezone data into ./android/tzdb.
	# dumps timezone data into ./android/tzdata
	# builds ./tzi.exe

	# Show adjustment rules for a given timezone dump
	$ mono tzi.exe -i=tzdata/Asia/Amman

Add `tzi.exe -R` option to show the TimeZoneInfo.GetAdjustmentRules()
output for all encountered timezones.

Add `tzi.exe -o=PATH` option to dump the TimeZone data to disk for
interrogation.

Add `tzi.exe -i=PATH` option to read in the specified TimeZone data
file and dump the rules contained therein.

Update usage comments.
2014-10-30 12:42:37 -04:00
Michael Hutchinson 2804d6af37 Fix mobile and mobile_static profiles
And bring them to parity with monodroid and monotouch
2014-09-16 19:14:20 -04:00
Miguel de Icaza b8799913fa [vsbuild] Update Makefiles to not generate the VS metadata for the 'basic' profile 2014-05-20 22:31:49 -04:00
Miguel de Icaza 28df1505c6 [build] Record extra library builds for our Visual Studio input files
Added local targets (csproj-local) to all the assemblies that have
staged builds to dump their build information for the underlying
dependencies.

This information is needed to create the new Visual Studio csproj
files.

This commit also updates the collected build metadata from running:

     make update-csproj
     make package-inputs

As described in msvc/scripts/README
2014-05-19 22:55:00 -04:00
Miguel de Icaza 9adb22769b [build] Prevent cyclic targets from being built in parallel
Since we are invoking make recursively to satisfy the dependencies
for any of the cyclic components, we need to inform make to not try
to parallelize any work on any of the cyclic dependencies, otherwise
multiple builds will execute building the same binary, and the result
will be truncated outputs.

For example, System's Makefile would launch all the parallel builds for
the dependencies:

        $(secxml_libdir)/System.dll             \
        $(the_libdir_base)System.Xml.dll        \
        $(the_libdir_base)Mono.Security.dll     \
        $(bare_libdir)/System.dll

They could be launched in parallel, and in turn the makefiles on those
directories might try simultaneously to invoke recursively a component
that has not been built yet.

So we use .NOTPARALLEL to flag all the cyclic dependencies on a given
directory to instruct make to not run those in parallel.
2014-05-09 11:27:53 -04:00
Miguel de Icaza 7dcf097763 [System.Core] Add explicit cycle dependency tracking to System.Core
This patch is a continuation of the previous work on System to remove
the multi-stage build configuration in Mono's class libraries and avoid
the overwriting of assemblies in a multi-stage build setup.
2014-05-09 11:27:53 -04:00
Rolf Bjarne Kvinge c3b8b74340 Fix monotouch's repl support to build Mono.CSharp (and its dependencies) as well. 2014-03-31 16:58:32 +02:00
Marek Safar f2eab9919d [dlr] Handle more expressions in interpreter 2014-01-26 11:35:09 +01:00
Aaron Bockover a66f333246 profiles: define xammac (Xamarin.Mac) profile
Based on the Mobile profile and modeled after
the MonoDroid profile.
2014-01-16 14:16:59 -05:00
Marek Safar 9939588f48 [System.Core] Update MonoTouch System.Linq.Expression to be 4.5 compatible 2014-01-10 10:46:45 +01:00
Rodrigo Kumpera b0406462f6 [build]Bring some sanity to the monotouch profiles.
monotouch is now the static profile and it does define FULL_AOT_RUNTIME globally.
2013-08-06 19:00:03 -04:00
Marek Safar 60f6141221 Clean up for mobile profiles 2012-10-17 16:13:49 +01:00
Marek Safar c14d3585bd Update to the latest dlr 2012-06-08 09:40:15 +01:00
Miguel de Icaza ee8ad64dc5 Include System.IO.MemoryMappedFiles in the MOBILE profile 2011-12-02 13:15:37 -05:00
Marek Safar dd9b92a100 Install 4.0 profile as developers package and make 4.5 profile default gac target for 4.x 2011-09-26 12:08:01 +01:00
Marek Safar 49b0253a7f Switch to single mcs compiler for all managed code build 2010-12-16 09:59:39 +00:00
Jb Evain 804b3d42d0 Enable the System.Core build for monodroid 2010-09-08 18:48:28 +02:00
Rolf Bjarne Kvinge 754903d2cf In class/System.Core:
2010-06-18  Rolf Bjarne Kvinge  <[email protected]>

	* System.Core/Dummy.cs:
	* moonlight_raw_System.Core.dll.sources: Add an internal dummy class to create
	the System.Core namespace.

	* Makefile:
	* moonlight_raw_System.Core.dll.sources: Include the dlr in Moonlight.

In class/System.Core/System.Linq:
2010-06-18  Rolf Bjarne Kvinge  <[email protected]>

	* EnumerableQuery.cs:
	* EnumerableQuery_T.cs:
	* EnumerableExecutor.cs:
	* EnumerableExecutor_T.cs: Include in Moonlight.

	* Enumerable.cs: Moonlight too needs Zip.

In class/System.Core/System.Runtime.CompilerServices:
2010-06-18  Rolf Bjarne Kvinge  <[email protected]>

	* ExecutionScope.cs: This class exists in Moonlight, but isn't supported.

	* StrongBox_T.cs:
	* DynamicAttribute.cs: Include in Moonlight.

svn path=/trunk/mcs/; revision=159111
2010-06-17 23:46:55 +00:00
Jb Evain 689cf3e9fb 2010-05-25 Jb Evain <[email protected]>
* Makefile: define INSIDE_SYSCORE.


svn path=/trunk/mcs/; revision=157844
2010-05-25 13:23:10 +00:00
Jb Evain b3f3ef56c8 rename net_2_1 to moonlight
svn path=/trunk/mcs/; revision=153638
2010-03-16 08:32:37 +00:00
Geoff Norton 0c6927538b Fix the MonoTouch build on trunk
svn path=/trunk/mcs/; revision=152134
2010-02-20 19:03:27 +00:00