Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-12[ci] Move apidiff and csproj diff out from run-test-default.shAlexander Köplinger
Due to new Jenkins job layering.
2018-11-12Add common "test" target for precompiling test assemblies (#11622)Alexander Köplinger
So we can precompile all tests across the repo using a simple "make test" in the root.
2018-11-08[sdks] Document one more build settingMarek Safar
2018-11-06[ci] Fix Windows .msi buildAlexander Köplinger
2018-11-06[runtime] Enable usage of Runtime team sentry server (#11532)Alexander Kyte
2018-11-06[ci] Add jenkins script for testing fullaot + interp (#11553)Vlad Brezae
For now, run the runtime suite and a few bcl tests.
2018-11-02[ci] Switch to new syntax of Azure Storage pluginAlexander Köplinger
2018-11-01[ci babysitter] Add more output around timeout killing machinery (#11463)Bernhard Urban
2018-10-25[wasm] Improve build reliability. (#11349)Rodrigo Kumpera
* [wasm] Fix wasm toolchain bootstraping * [wasm] Move the provision step to happen before the build.
2018-10-23[crash] Add mono_crash uploader for Sentry (#10840)Alexander Kyte
* [crash] Report which thread was crashing * [crash] Added upload-to-sentry tool * [crash] Add sentry uploader step to telemetry
2018-10-22[ci] run regression tests with AOT (#11092)Bernhard Urban
2018-10-18[pipeline] Ensure only 1 build per-product is executed per-node (#11247)Ludovic Henry
2018-10-18[ci] Move OSX .pkg build to a separate bot poolAlexander Köplinger
Allows us to better utilize the bockbuild cache.
2018-10-17Upstream a few test related commits from my Helix work (#11197)Alexander Köplinger
* [bcl] Run System.Windows.Forms.DataVisualization tests * [bcl] Run Mono.Messaging.* tests * [bcl] Use correct label for mdoc tests * [runtime] Skip verifying an xunit-binaries assembly
2018-10-16[sdks] Add Groovy script to build the SDKs archives for the products (#11137)Ludovic Henry
2018-10-16[WIP] [wasm] AOT work. (#11071)Zoltan Varga
* [runtime] Fix the signature of some native type tests. * [runtime] Add stubs for the ves_icall_System_Net_NetworkInformation_MacOsIPInterfaceProperties_ParseRouteInfo_internal () icall, needed for AOT. * [wasm] Print a native stack trace on asserts. * [wasm] Avoid mmaps with zero length, it leads to an exception under emscripten. * [bcl] Preserve CustomAttributeData:.ctor (), its called from the runtime. * [wasm] Print out full test names in the test runner. * [wasm] Preserve System.Threading.WasmRuntim. * [wasm] Rename config.js to mono-config.js * [wasm] Add targets to build aot versions of the test suites. * [wasm] Exit with a nonzero exit code in case of a failure. * [wasm] Disable crash reporting. * [wasm] Use mono headers for public functions. * [wasm] Enable building AOT tests on CI. * [wasm] Run some AOT test suites on CI. * [runtime] Make MonoBundledAssembly.size non-const. * [wasm] Add a --setenv=VARIABLE=VALUE argument to runtime-tests.js which allows the setting of environment variables. * [wasm] Update cross compiler executable name. * [wasm] Remove unused aot-driver.js file, runtime-tests.js has the same functionality. * [wasm] Run mini tests with AOT on CI. * [wasm] Error out if the linker fails. * [wasm] Fix building the AOT tests from another directory. * [wasm] Use a matching Mono.Cecil.dll for the linker. * [wasm] Fix running aot tests on CI. * Revert "[sdks] Switch the invocation of the offsets too to 64 bit on osx. (#10903)" This reverts commit 2989a83f23bc46ce5d44486bc33e0dc6d627270d. This seems to cause failures on linux+webassembly.
2018-10-08[sdks] Build Android SDKs archive in Debug configuration on master builds ↵Ludovic Henry
(#11007) * [sdks] Build Android SDKs archive in Debug configuration on master builds * [sdks] Drop `product-` prefix from Android and iOS SDKs CI_TAGS parameters
2018-10-05Bump msbuild to track xplat-master (#10339)Ankit Jain
2018-10-05[aot] Add clangxx option to --aot (#10779)Rodrigo Kumpera
* [aot] Add clangxx option to --aot that removes the hardcoded clang++ in our aot compiler. * [mini] Make --aot addictive. * Update CI script for bitcode.
2018-10-04[ci] Always pass sha1 from Mac to Windows packaging buildAlexander Köplinger
Before we only did this for PR builds but it turns out it's needed for normal master/branch builds too. In situations where there are two Mac builds at roughly the same time the downstream Windows builds would otherwise both refer to the same/latest commit since they just checkout the latest ref on the branch. Now we reset the Windows build to the sha1 which is passed to it.
2018-10-03[sdks] Use `make --output-sync=recurse` on CI (#10939)Ludovic Henry
When building the SDKs on CI, the output is very scrambled. There are simultaneously outputs from making multiple runtimes, uncompressing some tar archives, cloning some repos, building various BCL profiles, etc. This makes it quite hard to easily understand what's going wrong when the build fails. By using `--output-sync=recurse`, we make sure that even if many targets are executed in parallel, the output is still as if it was executed sequentially.
2018-10-02[sdks] Build llvm-llvm{,win}{32.64} on Linux on CI as well (#10937)Ludovic Henry
2018-10-02[ci] Remove workaround for libtiff issueAlexander Köplinger
We recently updated libtiff, let's see if this is still required
2018-10-02[packaging] Remove installation of openssl via brew on macOS (#10874)Alexander Köplinger
We're now using an msbuild version which uses .NET Core 2.x which no longer needs openssl.
2018-10-02[sdks] Create archive targets for pre-building on CI (#10882)Ludovic Henry
* [sdks] Remove redundant --enable-cxx * [sdks] Shorten `-m32`/`-m64` parameters detection for runtimes * [sdks] Build BCL profiles without configure flags * [sdks] Add BclTemplate to build BCL profiles This is to avoid building all the profiles in a single `sdks/out/bcl` directory which will be shared between android, ios and wasm. * [sdks] Create archive targets for pre-building on CI * [sdks] Use archive-{android,ios,wasm} on CI * [sdks] Run archive-llvm-llvm{,win}{32,64} on CI
2018-09-28Merge pull request #10862 from akoeplinger/bcl-tests-embedded-resourcesAlexander Köplinger
Switch NUnit BCL tests to use embedded test resources instead of reading from the repo Right now a lot of our tests expect to be able to read resources directly from the repository, e.g. `File.Open ("../../resources/some-file.txt")` In order to run these tests in a standalone, clean environment without access to the source repo we need to change that. The most straightforward way to achieve that is to embed all the resources inside of the test assemblies and extract/read them from there during test execution time. The new TestResourceHelper helper class extracts all embedded test resources to a temporary directory and cleans them up when the test runner process exits. This allows us to make relatively small changes to the tests as opposed to rewriting them all to read directly from the embedded resource stream (which isn't even possible in all cases).
2018-09-28Don't run WebMatrix.Data tests on WindowsAlexander Köplinger
We don't have the sqlite3 library there.
2018-09-28[wasm] Cross compile the AOT compiler for windows. (#10691)Rodrigo Kumpera
* [wasm] Add wasm-cross-win. * [wasm] Fix dependencies between make targets
2018-09-27[WebMatrix.Data] Switch tests to use embedded test resourcesAlexander Köplinger
2018-09-26[wasm] AOT fixes (#10706)Zoltan Varga
* [wasm] Fix linker changes. * Revert "[wasm] Enable the mini test suite under AOT. (#10670)" This reverts commit 9cb832ff2a3c09058b8c220bbd021f1177c2b7aa. Revert this, it doesn't work yet. * [wasm] Run AOT tests on CI. * Fix the CI label. * [wasm] Disable the aot test on CI, it doesn't yet run on linux. * [wasm] Fix the computation of code_start/code_end for wasm. * [llvm] Avoid passing a dummy extra args to wrappers which don't need it. * [wasm] Enable gshared. * [llvm] Fix the build. * [llvm] Avoid passing a dummy arg to string:memcpy/bzero. * [wasm] Enable exception catching. * [wasm] Enable explicit division by zero checks. * [wasm] Patch emscripten with the patch from https://github.com/kripken/emscripten/pull/7182. * [wasm] Use '.' instead of source in the ninja build scripts since they might be ran with sh/dash instead of bash. * [wasm] Reenable check-aot on CI. * [wasm] Run emcc using bash -c since the emsdk_env.sh scripts contains bash-ishms. * [wasm] Don't error out if the emscripten patch is already applied. * [wasm] Fix do-aot-sample. * [wasm] Disable AOT test on CI, it still doesn't work. * [llvm] Add support for OP_RCNEQ. * [jit] Make some tests in builtin-types.cs static. * [wasm] Fix the return value of mono_wasm_exec_regression (). * [wasm] Make aot-sample uses mini_tests.dll.
2018-09-25[sdks] Add a 64 bit arm32 cross compiler build. (#10778)Zoltan Varga
2018-09-24[ci][cxx][sdks] C++ support for SDKs. (#10701)Jay Krell
* [ci][cxx][sdks] C++ support for SDKs. * Remove cplusplus support, only cxx. * [cxx][sdks] Provide isinf and isnan. https://jenkins.mono-project.com/job/test-mono-pull-request-amd64-osx-products-sdks-android-cxx/1/parsed_console/log.html /Users/builder/jenkins/workspace/test-mono-pull-request-amd64-osx-products-sdks-android-cxx/mono/mini/jit-icalls.c:994:14: error: 'isinf' was not declared in this scope if (isinf (v) || isnan (v)) /Users/builder/jenkins/workspace/test-mono-pull-request-amd64-osx-products-sdks-android-cxx/mono/mini/jit-icalls.c:994:27: error: 'isnan' was not declared in this scope if (isinf (v) || isnan (v)) * Change target card mask from gpointer to mgreg_t. Consider in future target_gsize instead, though if registers are larger than pointers (x32, arm64_32), ok. Change inst_imm from mgreg_t to target_mgreg_t. https://jenkins.mono-project.com/job/test-mono-pull-request-wasm-cxx/1/parsed_console/log.html /mnt/jenkins/workspace/test-mono-pull-request-wasm-cxx/mono/mini/mini-runtime.c:3657:24: error: cast from 'gpointer {aka void*}' to 'mgreg_t {aka int}' loses precision [-fpermissive] g_assert ((((mgreg_t)arg) & 1) == 0); ^ ^~~~ /mnt/jenkins/workspace/test-mono-pull-request-wasm-cxx/mono/mini/mini-runtime.c:3658:30: error: cast from 'gpointer {aka void*}' to 'mgreg_t {aka int}' loses precision [-fpermissive] arg = (gpointer)(((mgreg_t)arg) | 1); In file included from /mnt/jenkins/workspace/test-mono-pull-request-wasm-cxx/mono/mini/method-to-ir.c:75:0: /mnt/jenkins/workspace/test-mono-pull-request-wasm-cxx/mono/mini/method-to-ir.c: In function 'void mini_emit_write_barrier(MonoCompile*, MonoInst*, MonoInst*)': /mnt/jenkins/workspace/test-mono-pull-request-wasm-cxx/mono/mini/ir-emit.h:703:39: error: cast from 'gpointer {aka void*}' to 'mgreg_t {aka int}' loses precision [-fpermissive] inst->inst_imm = (mgreg_t)(imm); \ ^ /mnt/jenkins/workspace/test-mono-pull-request-wasm-cxx/mono/mini/method-to-ir.c:2989:4: note: in expansion of macro 'MONO_EMIT_NEW_BIALU_IMM' MONO_EMIT_NEW_BIALU_IMM (cfg, OP_PAND_IMM, offset_reg, offset_reg, card_table_mask); ^~~~~~~~~~~~~~~~~~~~~~~ * [cxx][sdks] Move include out of extern "C" where it never belongs. https://jenkins.mono-project.com/job/test-mono-pull-request-amd64-osx-products-sdks-android-cxx/4/parsed_console/log.html template<typename _Tp, typename _Up, typename _Vp, ^ /Users/builder/android-toolchain/mxe-b9cbb53/lib/gcc/x86_64-w64-mingw32.static/5.4.0/include/c++/ext/type_traits.h:205:3: error: template with C linkage template<typename _Tp, typename _Up, typename _Vp, typename _Wp, ^ In file included from /Users/builder/jenkins/workspace/test-mono-pull-request-amd64-osx-products-sdks-android-cxx/mono/utils/mono-compiler.h:31:0, from /Users/builder/jenkins/workspace/test-mono-pull-request-amd64-osx-products-sdks-android-cxx/mono/utils/dlmalloc.h:33, from /Users/builder/jenkins/workspace/test-mono-pull-request-amd64-osx-products-sdks-android-cxx/mono/utils/dlmalloc.c:27: /Users/builder/android-toolchain/mxe-b9cbb53/lib/gcc/x86_64-w64-mingw32.static/5.4.0/include/c++/cmath: In function 'constexpr float std::abs(float)': /Users/builder/android-toolchain/mxe-b9cbb53/lib/gcc/x86_64-w64-mingw32.static/5.4.0/include/c++/cmath:87:16: error: conflicting declaration of C function 'constexpr float std::abs(float)' abs(float __x) * Expand cmath to wasm. https://jenkins.mono-project.com/job/test-mono-pull-request-wasm-cxx/5/parsed_console/log.html /mnt/jenkins/workspace/test-mono-pull-request-wasm-cxx/mono/mini/mini-llvm.c:4189:6: error: 'isnan' was not declared in this scope if (isnan (val)) ^~~~~ * Provide cmath std::isnan for WebAssembly C++. * Provide cmath std::isfinite for Android C++. * Add cmath std::isunordered for Android /Users/builder/jenkins/workspace/test-mono-pull-request-amd64-osx-products-sdks-android-cxx/mono/mini/interp/interp.c:3282:14: error: use of undeclared identifier 'isunordered'; did you mean 'std::isunordered'? CONDBR_S(!isunordered (sp [0].data.f, sp [1].data.f) && sp[0].data.f <= sp[1].data.f) ^~~~~~~~~~~ std::isunordered * Add cmath std::isinf for Android. https://jenkins.mono-project.com/job/test-mono-pull-request-amd64-osx-products-sdks-android-cxx/10/parsed_console/log.html /Users/builder/jenkins/workspace/test-mono-pull-request-amd64-osx-products-sdks-android-cxx/mono/mini/interp/interp.c:3751:8: error: use of undeclared identifier 'isinf' if (isinf (sp [-1].data.f)) * "using std::isinf" sometimes breaks on Android, sometimes fixes Android, because Android sometimes has global isinf. /Users/builder/jenkins/workspace/test-mono-pull-request-amd64-osx-products-sdks-android-cxx/mono/mini/interp/interp.c:92:12: error: target of using declaration conflicts with declaration already in scope using std::isinf; ^ /Users/builder/android-toolchain/toolchains/arm64-v8a-clang/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../include/c++/4.9.x/cmath:604:3: note: target of using declaration isinf(double __x) ^ /Users/builder/android-toolchain/toolchains/arm64-v8a-clang/bin/../sysroot/usr/include/math.h:234:6: note: conflicting declaration int (isinf)(double) __pure2; There are still some errors in new lanes (WebAssembly works, Android does not, iOS not sure), to be addressed shortly, possibly by redoing some of the cmath stuff.
2018-09-21[sdks] Run Android tests on CI (#10577)Ludovic Henry
It's assuming a device or emulator is already attached or running. On our CI, a new emulator is automatically started at the beginning of the job and shutdown at the end of it.
2018-09-12[ci] do not hardcode CPU count (#10560)Bernhard Urban
getconf should work on both, macOS and linux. Fixes https://github.com/mono/mono/issues/10506
2018-09-11[wasm] Ongoing AOT work. (#10541)Zoltan Varga
* [wasm] Rename 'wasm-aot' to 'wasm-cross' for consistency with the other SDKs. * [wasm] Use the separate libmono-ee-interp.a library for linking in the interpreter. * [wasm] Unify interp and aot runtimes. * [wasm] Avoid cleaning the emscripten toolchain when cleaning the runtime or cross compilers. * [wasm] Use the sdk llvm targets to build the cross compiler, so it can use a downloaded llvm instead of building its own. * [offset-tool] Add WASM support. * [wasm] Generate offsets file for wasm. * [wasm] Switch packager.exe to use Mono.Options, add a --mono-sdkdir option to specify the path to the mono sdk. * [wasm] Emit a ninja build file from the packager when the --builddir argument is given. * [wasm] Auto generate the aot registration code by generating a driver-gen.c file and including it into driver.c. * [wasm] Add emcc link step to the ninja build script. * zoltan's changes. * [wasm] Fix merge conflicts from picking Zoltan's patches. * [sdks] Fix the wasm build so the package target doesn't build 394839840 llvms. * [wasm] Fix mono_arch_create_specific_trampoline to work with the AOT compiler reverse lookup of icalls * [wasm] Don't set minimum memory size, let it dynamically grow. * [wasm] Remove old aot targets. Now do-aot-sample does the whole magic. * [wasm] Attept at making the offsets-tool work on linux. * [wasm] Cleanup the hacks early in this PR. * [wasm] Fix rebase issue. * Fix rebase * Fix rebase * [llvm] Only emit the dummy arg when targeting wasm.
2018-09-11[cxx] Jenkins support for Windows C++. (#10515)Jay Krell
2018-09-08[ci] run tests if building with C++ (#10519)Aleksey Kliger (λgeek)
2018-09-07Fix Mono Windows cross compiler using mono LLVM release_60 branch. (#10413)Johan Lorensson
* Fix Mono Windows cross compiler using mono LLVM release_60 branch. For scenario where llvm-config.exe can't be run (none WSL/CygWin build target) Build will fallback to hard coded libraries not working with mono LLVM release_60 branch. Added an exact mirror of what llvm-config.exe is returning for different components on mono LLVM master and mono LLVM release_60 branch. The selected codegen libraries (passed in as extra_libs) was not handled in any cases so added them into the build script as well. * Split parameter between lvm codegen libs and llvm extra libs. Need to explicit pass -lz in case where configure have detected zlib availability and llvm-config.exe can't be executed. In cases where zlib is not available, default in mingw installs, this check make sure link step won't fail due to missing library. * Fix inversion of aarch64codegen libs. * Enable package-android-cross-{arm,arm64,x86,x86_64}-win builds on CI. * Fix incorrect checks when compiling Windows cross compiler. Windows cross compiler could have a target that is !TARGET_WIN32 but still running on a Windows host, so check needs to look at !HOST_WIN32 to determine if Unix source files can be included or not.
2018-09-05[tests] Bump timeout for System.Numerics with interpreterVlad Brezae
New tests were included recently
2018-09-05[ci] Fixup last commit to run-test-mac-sdk.shAlexander Köplinger
Actually for this we shouldn't pass CFLAGS etc at all since that is handled by bockbuild.
2018-09-05[ci] Fix run-test-mac-sdk.sh buildAlexander Köplinger
0dbcdd5c2812570b96876718f9f8e5f2b4c97177 added CFLAGS etc in front of the command but that's not something the TESTCMD can execute. We need to pass those variables to the whole process.
2018-09-04[sdks] Add cross-{arm,arm64,x86,x86_64}{,-win} runtimes for XA + Unify ↵Ludovic Henry
provisioning of LLVM for both Android and iOS. (#10445) * [sdks] Add CrossRuntimeTemplate * [sdks] Add cross-{arm,arm64,x86,x86_64}{,-win} runtimes for XA * [sdks] Use CrossRuntimeTemplate for iOS * [sdks] Factor various variables for RuntimeTemplate * [sdks] Use MonoRuntime template for desktop-x86_64 * [sdks] Unify provisioning of LLVM for both Android and iOS. A global CFLAGS would be set in `run-jenkins.sh`, and that would screw up with LLVM. The global CFLAGS makes sense as long as we are only building Mono, but that's not the case with LLVM anymore. * [sdks] Remove android-armeabi, it's been removed from XA already and the target has been deprecated in the NDK
2018-08-29Bump target requirement to OSX 10.9 Mavericks (#10286)Katelyn Gadd
Fixes #9581
2018-08-24[wasm] Make the wasm sdk not depends on desktop sdk.Rodrigo Kumpera
The issue was that packager.exe was using Mono.Cecil from net_4_x, which is only built/installed if the desktop sdk is built. We replace Finally, we change the CI script to disable desktop as well to ensure we don't regress in that scenario.
2018-08-16[runtime] Add verbose/non-private crashes on CIAlexander Kyte
2018-08-15[interp] Fix missing InvalidProgramException (#10095)Vlad Brezae
* [interp] Throw proper exception instead of warning Fix code causing wrong stack state. * [interp] Compile method for errors when needed Delegate creation doesn't require compiling the method. * [interp] Enable System.Core xunit tests
2018-08-14[ci] Bump timeout for bockbuild in run-test-mac-sdk.shAlexander Köplinger
2018-08-03[interp] Run tests for entire bcl (#9648)Vlad Brezae
2018-07-29[cxx] Build/CI support for C++. (#9731)Jay Krell
* [cxx] Build/CI support for C++. configure -enable-cplusplus and CI_TAGS=cplusplus https://jenkins.mono-project.com//job/test-mono-mainline-linux-cplusplus/ * [cxx] Rename CPLUSPLUS/cplusplus to CXX/cxx. * [cxx] Add C++ build support to mini. * [cxx] Jenkins/CI support for cxx not just cplusplus.
2018-07-21[linker] Move BCL size diff to nightly jobAlexander Köplinger
It was too annoying on every PR