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
2019-05-03Add support for cygwin and WSL in helper build scripts.lateralusX
2019-02-18Correct access permissions to include "user execute" for run-msbuild.sh. ↵bwadswor
(#13042) Correct access permissions for run-msbuild.sh. Adding "user execute" seems to fix the following build error. With this change I'm able to build on windows in Cygwin. without, I see the below error: ``` $ make -j4 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /cygdrive/c/mono/mono/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged Git submodules updated successfully make all-recursive make[1]: Entering directory '/cygdrive/c/mono/mono' Making all in msvc make[2]: Entering directory '/cygdrive/c/mono/mono/msvc' Building Mono runtime using Visual Studio. ../msvc/run-msbuild.sh "build" "i686" **/bin/sh: ../msvc/run-msbuild.sh: Permission denied** make[2]: *** [Makefile:614: all-local] Error 126 make[2]: Leaving directory '/cygdrive/c/mono/mono/msvc' make[1]: *** [Makefile:583: all-recursive] Error 1 make[1]: Leaving directory '/cygdrive/c/mono/mono' make: *** [Makefile:513: all] Error 2 ```
2019-02-01Add support for Windows x64 winaot, winaot_llvm builds/tests on CI. (#12601)Johan Lorensson
Add support for building Windows x64 fullaot version of winaot profile that can be run on CI. Initial changes also add execution of mini regression tests on CI. More tests will be added going forward and when having full pass rate. Add support for building Windows x64 fullaot+llvm version of winaot profile that can be run on CI. Initial changes also add execution of mini regression tests on CI. More tests will be added going forward and when having full pass rate. In order to get deterministic build results and working build on CI, we need to setup a correct build environment for the MSVC builds. Since MSVC build is currently run from cygwin, there are environment problems, both general but also in our CI environment, since we add cygwin bin folder to system path (needed by Jenkins plugin). When running more complex cmake builds like BTLS and LLVM, this will cause problems picking up incorrect tools, failing builds on CI. Another problem is the AOT compilation using MSVC toolchain. In the past CI used some "hard coded paths" to make sure clang.exe and link.exe was found. This is not optimal and won't work when including LLVM as part of full AOT since link.exe will need access to more of the full build environment setup by VS development environments (like platform libraries). In order to get a better build environment on CI this commit includes and enhance a couple of build scripts used to run msbuild.exe and mono-sgen.exe (as AOT compiler) in a VS development environment, isolate that build process from cygwin environment. The build scripts will locate installed VS tooling, VS2015 build tools or VS dev env, VS2017 build tools or VS dev env and use corresponding development environment scripts as part of running msbuild.exe and mono-sgen.exe in AOT mode. In order to make sure mono-sgen.exe as AOT compiler is run through these scripts an additional environment variable MONO_EXECUTABLE_WRAPPER is introduced and used in mono-wrapper when set. Without this indirection there will be problems on CI tests since the environment is using MONO_EXECUTABLE and pass that into for example test driver that run child processes of mono-sgen.exe, meaning that we can't use scripts for MONO_EXECUTABLE, but splitting the MONO_EXECUTABLE to represent mono runtime and have a MONO_EXECUTABLE_WRAPPER that could be a launch script solves this issue. This commit also includes several smaller fixes made to the generic fullaot build infrastructure. Fix additional msbuild arguments. Add Mono.SIMD assembly to winaot profile. Run msbuild.exe as part of .bat file.
2018-10-29Add option to integrate msvc build into regular make build. (#11343)Johan Lorensson
* 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.