mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 12:31:30 -10:00
Compare commits
364
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dea2155250 | ||
|
|
24f744c3f6 | ||
|
|
51a3c93f67 | ||
|
|
c25829a70c | ||
|
|
6fa66df1f4 | ||
|
|
bdce6068d5 | ||
|
|
acdffe0309 | ||
|
|
07015fd910 | ||
|
|
5aa30f3694 | ||
|
|
caf9aa67ea | ||
|
|
4470507328 | ||
|
|
7a0dc52051 | ||
|
|
b347566e9e | ||
|
|
a5dd51794b | ||
|
|
9084021ec5 | ||
|
|
c539bc85a5 | ||
|
|
c36f6ea841 | ||
|
|
3d13ecb2a3 | ||
|
|
ea894217d8 | ||
|
|
a732f407df | ||
|
|
61c90987e6 | ||
|
|
6e687ce127 | ||
|
|
fd1a5f9774 | ||
|
|
7af7dbd8f3 | ||
|
|
81f52c33d6 | ||
|
|
e2f72b6c8c | ||
|
|
c71a7a89df | ||
|
|
42be45dd00 | ||
|
|
83697635fe | ||
|
|
2bdbf5493e | ||
|
|
50fb364c8e | ||
|
|
978ff77890 | ||
|
|
fce5a7458e | ||
|
|
8a242fd70b | ||
|
|
9619892e00 | ||
|
|
0be1ca56fe | ||
|
|
29f7f156a1 | ||
|
|
6d5b971d74 | ||
|
|
d3cb1d9fba | ||
|
|
7e58945567 | ||
|
|
46883f869f | ||
|
|
b820ad666d | ||
|
|
8a14b3abb6 | ||
|
|
9567aae062 | ||
|
|
cbd2c28ecb | ||
|
|
08786789fb | ||
|
|
c88eaaf586 | ||
|
|
c0c8702250 | ||
|
|
b2bdb148f9 | ||
|
|
5ae0087991 | ||
|
|
2c9aa85949 | ||
|
|
0f3b50adc7 | ||
|
|
e90de6c7a6 | ||
|
|
493bd3313c | ||
|
|
8cc61957c8 | ||
|
|
526fe0538c | ||
|
|
b13663f353 | ||
|
|
113ea7ee81 | ||
|
|
b914c41c57 | ||
|
|
43b6145b58 | ||
|
|
50e81ed6e5 | ||
|
|
3ed2bba673 | ||
|
|
e760180737 | ||
|
|
7ea416f081 | ||
|
|
c4a5dbcf3d | ||
|
|
221ffc8788 | ||
|
|
3203a7af84 | ||
|
|
56e9666c58 | ||
|
|
eae2997490 | ||
|
|
3169b44554 | ||
|
|
14f694dd39 | ||
|
|
7f9b992d0f | ||
|
|
e7878d1519 | ||
|
|
f7f9901f59 | ||
|
|
83897d4af1 | ||
|
|
60ecc9e78d | ||
|
|
e889217524 | ||
|
|
248d8d619b | ||
|
|
23c6a4d451 | ||
|
|
8ca772d7f9 | ||
|
|
5e7c20ad81 | ||
|
|
0d11d8fc87 | ||
|
|
f9a448b3f5 | ||
|
|
092b3853a3 | ||
|
|
681f6fdb09 | ||
|
|
b3cdd867e6 | ||
|
|
58bf51edfc | ||
|
|
2ab95d2712 | ||
|
|
15cd426925 | ||
|
|
2a42049110 | ||
|
|
6f089db7b0 | ||
|
|
5cffec7a22 | ||
|
|
da0255c3e0 | ||
|
|
d0fc1a66e2 | ||
|
|
d9e045251d | ||
|
|
ca04bb1fb6 | ||
|
|
cda0cfb695 | ||
|
|
c282bdc62b | ||
|
|
ffa0cc887f | ||
|
|
2c13a959c0 | ||
|
|
6269e4d954 | ||
|
|
fdd6526d3b | ||
|
|
f099ee2406 | ||
|
|
72397bd7f8 | ||
|
|
04c5c37a6f | ||
|
|
e571108acf | ||
|
|
5200955033 | ||
|
|
8ed20455a5 | ||
|
|
934a577a94 | ||
|
|
b919768e1a | ||
|
|
700a14a684 | ||
|
|
4553aa5572 | ||
|
|
57e9c464fa | ||
|
|
28f1e4e0d2 | ||
|
|
25689d5d5a | ||
|
|
5110c09830 | ||
|
|
0cb79a3854 | ||
|
|
7e087da798 | ||
|
|
753c3237d9 | ||
|
|
28bfe7cee2 | ||
|
|
2cac09666c | ||
|
|
f9087fc43a | ||
|
|
4697b3a8ea | ||
|
|
104b14ecf9 | ||
|
|
e10df7ebf6 | ||
|
|
39cddf8a68 | ||
|
|
0982d3a325 | ||
|
|
10a4bf2efa | ||
|
|
6c583a2b7f | ||
|
|
e29bed4063 | ||
|
|
b1a5a05ad1 | ||
|
|
be6f705c08 | ||
|
|
37dea728dd | ||
|
|
775c9b819c | ||
|
|
b48c3afbae | ||
|
|
f4f6441b3d | ||
|
|
7b7fe93bca | ||
|
|
226a68909a | ||
|
|
ddc8aae311 | ||
|
|
79260d2d07 | ||
|
|
3044c4a61d | ||
|
|
1c2ae72289 | ||
|
|
bc6fbd6bcc | ||
|
|
5792758c46 | ||
|
|
696b0f5467 | ||
|
|
6a93bb2af6 | ||
|
|
6d0f3fd4ca | ||
|
|
df2b5d5286 | ||
|
|
5e4c9ee41e | ||
|
|
f1417d0c92 | ||
|
|
7adea6681b | ||
|
|
a3d81eb0f1 | ||
|
|
78f3e813ed | ||
|
|
fabb10ad11 | ||
|
|
94c5c521e6 | ||
|
|
900d99ee7b | ||
|
|
5ad28260db | ||
|
|
affcfa72d7 | ||
|
|
8f4becb13d | ||
|
|
cb66512665 | ||
|
|
99642da77c | ||
|
|
88ef4cd570 | ||
|
|
70ddfd4bcc | ||
|
|
1229e7daf1 | ||
|
|
8b237bc4b7 | ||
|
|
bd3d8b8c6f | ||
|
|
c12a9b1d93 | ||
|
|
472a9f26ed | ||
|
|
eabe712b8b | ||
|
|
08daf31bbe | ||
|
|
3ded86ad40 | ||
|
|
2a38031d9a | ||
|
|
af7e67f956 | ||
|
|
6abedb9098 | ||
|
|
27af6d7a9f | ||
|
|
2123795fb8 | ||
|
|
61a52200c1 | ||
|
|
06906ae1b4 | ||
|
|
7ee4cabfd4 | ||
|
|
93a97ee240 | ||
|
|
8f24658bda | ||
|
|
20452351dc | ||
|
|
80331bb7da | ||
|
|
cc7f45676f | ||
|
|
a3984aa406 | ||
|
|
32ddacbc61 | ||
|
|
f76f0c9ea1 | ||
|
|
99f4d913c6 | ||
|
|
1ac151d24b | ||
|
|
1889e9581a | ||
|
|
7c372ff816 | ||
|
|
2dc98e990f | ||
|
|
eb62294a70 | ||
|
|
da95f710cd | ||
|
|
6d0c2144a9 | ||
|
|
e9d06820c7 | ||
|
|
f8b819f184 | ||
|
|
d0b2dacbe4 | ||
|
|
361cbb0e82 | ||
|
|
aa705e5619 | ||
|
|
fa603f3bee | ||
|
|
95dd6ea1a4 | ||
|
|
24d6fe6b76 | ||
|
|
13e9655f41 | ||
|
|
20cab4607b | ||
|
|
a066fc66dc | ||
|
|
8be53f2294 | ||
|
|
0fba6804b3 | ||
|
|
c9a2f7eb14 | ||
|
|
f62d078e95 | ||
|
|
54252be418 | ||
|
|
4fc78ba4ea | ||
|
|
e1eee09270 | ||
|
|
8ba00d695d | ||
|
|
0c783ab8b1 | ||
|
|
97361f5f9c | ||
|
|
24caf69a58 | ||
|
|
bcfd0bdb59 | ||
|
|
7d1411194d | ||
|
|
e32eb2915e | ||
|
|
d408ecc25c | ||
|
|
edc150aab7 | ||
|
|
c36db18826 | ||
|
|
3ff4bc57ea | ||
|
|
c9843e2c89 | ||
|
|
10cd9adccd | ||
|
|
d7834ea50f | ||
|
|
55e2293039 | ||
|
|
1ebc5c39a4 | ||
|
|
6f310cda67 | ||
|
|
fe4e400292 | ||
|
|
5a919fe1e7 | ||
|
|
6680200ef3 | ||
|
|
1b475c438a | ||
|
|
996785933b | ||
|
|
2dbd0a3ad8 | ||
|
|
479353e65f | ||
|
|
3e7a5e370b | ||
|
|
2528cd4333 | ||
|
|
9b36ff0bbf | ||
|
|
3d266d3e19 | ||
|
|
b51d4bf5c0 | ||
|
|
e3e7d6fd04 | ||
|
|
62fc0d1475 | ||
|
|
d6d9b1ae83 | ||
|
|
ab8a3912c0 | ||
|
|
7b7d32bedc | ||
|
|
c887be36d2 | ||
|
|
cdad88da7b | ||
|
|
0935e38357 | ||
|
|
0d5c493022 | ||
|
|
3a4ccc0796 | ||
|
|
fed6c32e36 | ||
|
|
2b87f361c2 | ||
|
|
c1dd76aec2 | ||
|
|
ab1ca6f689 | ||
|
|
4de3932df4 | ||
|
|
00bb13f6a5 | ||
|
|
c38a877b2e | ||
|
|
c55c4a72d8 | ||
|
|
55c27b7f53 | ||
|
|
486b49025b | ||
|
|
845c8aed57 | ||
|
|
7fffb9c388 | ||
|
|
30fb9e2618 | ||
|
|
3581d0d32a | ||
|
|
b4f3a19ad8 | ||
|
|
ff4967bdf5 | ||
|
|
16db9f5d02 | ||
|
|
c620a32251 | ||
|
|
c2b27112b4 | ||
|
|
5d4a9b0207 | ||
|
|
b0d8d4ef4e | ||
|
|
3b834d2a46 | ||
|
|
098b1bdddb | ||
|
|
8ce2b6b548 | ||
|
|
00698f7408 | ||
|
|
9a9caf7494 | ||
|
|
143c6c2209 | ||
|
|
c6f235cd88 | ||
|
|
c8e62dada8 | ||
|
|
6d20855af2 | ||
|
|
c3af5bc992 | ||
|
|
2ada13b646 | ||
|
|
44c5a48b97 | ||
|
|
8ec4b50c19 | ||
|
|
7450e5985f | ||
|
|
49fbaad9d3 | ||
|
|
567eead66e | ||
|
|
ed6134ef61 | ||
|
|
a314396709 | ||
|
|
3b4b25dadc | ||
|
|
765d709d24 | ||
|
|
42c253731a | ||
|
|
a5d2e11456 | ||
|
|
8a2fd1e276 | ||
|
|
c044190b79 | ||
|
|
65c1997913 | ||
|
|
856aa24078 | ||
|
|
bd693bbc41 | ||
|
|
9c4da07fc1 | ||
|
|
d27243324f | ||
|
|
6f824e0b6f | ||
|
|
e3da710362 | ||
|
|
cc612cb4d0 | ||
|
|
dd63bc4cda | ||
|
|
c8c225f066 | ||
|
|
6e3d2eb291 | ||
|
|
a12ee3f98d | ||
|
|
feba93a5de | ||
|
|
9958261a8a | ||
|
|
8db00dcc40 | ||
|
|
b7c654d26d | ||
|
|
3002249dab | ||
|
|
840801ecb9 | ||
|
|
4a655c66f7 | ||
|
|
f4a3cbdaed | ||
|
|
e8b9107c3f | ||
|
|
edec9a54af | ||
|
|
5ac529a182 | ||
|
|
d6c6e7b6de | ||
|
|
48cc848a43 | ||
|
|
d8e3d0e959 | ||
|
|
6b97b22c3b | ||
|
|
a33fb26f89 | ||
|
|
6767d24b3f | ||
|
|
1301b2697c | ||
|
|
0453803999 | ||
|
|
c59dc39170 | ||
|
|
0c9216e5a4 | ||
|
|
4ef57bc080 | ||
|
|
b728d181e0 | ||
|
|
06ec2cc12e | ||
|
|
e0789c921c | ||
|
|
a35eef3a6a | ||
|
|
726c4a3f18 | ||
|
|
c0025d2188 | ||
|
|
745f4356c2 | ||
|
|
f5c88fb0fc | ||
|
|
e7e3420219 | ||
|
|
b1ee8a55ff | ||
|
|
13038ab9eb | ||
|
|
7192da2671 | ||
|
|
a8c94d1d17 | ||
|
|
cd7496d658 | ||
|
|
0d21061d41 | ||
|
|
150fa242fb | ||
|
|
fe1a1784f4 | ||
|
|
ae9f1d7f7a | ||
|
|
c88dea2f39 | ||
|
|
e06fe98fa0 | ||
|
|
3ebd1cfd57 | ||
|
|
c937b46879 | ||
|
|
b05d49ffaa | ||
|
|
1b8ba5d892 | ||
|
|
e07d3c2fe3 | ||
|
|
87033ea0ac | ||
|
|
9df06f7f5d | ||
|
|
f3106df8ba | ||
|
|
2c9e57560e | ||
|
|
9ecc046d41 | ||
|
|
0c9641f7dc | ||
|
|
e35814198d | ||
|
|
48e3e32add |
No files matched your search
@@ -38,7 +38,6 @@ obj/
|
||||
[Rr]elease*/
|
||||
Ankh.NoLoad
|
||||
*.gpState
|
||||
.vscode/
|
||||
|
||||
# Tooling
|
||||
_ReSharper*/
|
||||
|
||||
-11
@@ -35,14 +35,3 @@
|
||||
[submodule "external/buildtools"]
|
||||
path = external/buildtools
|
||||
url = git://github.com/mono/buildtools.git
|
||||
[submodule "external/cecil-legacy"]
|
||||
path = external/cecil-legacy
|
||||
url = git://github.com/mono/cecil.git
|
||||
branch = mono-legacy-0.9.5
|
||||
[submodule "external/boringssl"]
|
||||
path = external/boringssl
|
||||
url = git://github.com/mono/boringssl.git
|
||||
branch = mono
|
||||
[submodule "external/corefx"]
|
||||
path = external/corefx
|
||||
url = git://github.com/mono/corefx.git
|
||||
+9
-17
@@ -4,16 +4,17 @@ AM_CFLAGS = $(WERROR_CFLAGS)
|
||||
|
||||
MONOTOUCH_SUBDIRS = $(libgc_dir) eglib/src mono
|
||||
|
||||
# Some tools might not build when cross-compiling
|
||||
if CROSS_COMPILING
|
||||
tools_dir =
|
||||
else
|
||||
tools_dir = tools
|
||||
endif
|
||||
|
||||
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples $(tools_dir) msvc $(docs_dir) acceptance-tests llvm
|
||||
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples msvc $(docs_dir) acceptance-tests
|
||||
# Keep in sync with SUBDIRS
|
||||
DIST_SUBDIRS = m4 po $(libgc_dir) eglib mono ikvm-native support data runtime scripts man samples tools msvc docs acceptance-tests llvm
|
||||
## 'tools' is not normally built
|
||||
DIST_SUBDIRS = m4 po $(libgc_dir) eglib mono ikvm-native support data runtime scripts man samples tools msvc docs acceptance-tests
|
||||
else
|
||||
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples msvc $(docs_dir) acceptance-tests
|
||||
# Keep in sync with SUBDIRS
|
||||
## 'tools' is not normally built
|
||||
DIST_SUBDIRS = m4 po $(libgc_dir) eglib mono ikvm-native support data runtime scripts man samples tools msvc docs acceptance-tests
|
||||
endif
|
||||
|
||||
all: update_submodules
|
||||
|
||||
@@ -67,14 +68,6 @@ get-monolite-latest:
|
||||
cd $(mcslib) && { (wget -O- $(monolite_url) || curl $(monolite_url)) | gzip -d | tar xf - ; }
|
||||
cd $(mcslib) && mv -f monolite-* monolite
|
||||
|
||||
if BITCODE
|
||||
BITCODE_CHECK=yes
|
||||
endif
|
||||
|
||||
.PHONY: check-ci
|
||||
check-ci:
|
||||
MONO_LLVMONLY=$(BITCODE_CHECK) $(srcdir)/scripts/ci/run-test-$(TEST_PROFILE).sh
|
||||
|
||||
.PHONY: validate do-build-mono-mcs mcs-do-clean mcs-do-tests
|
||||
validate: do-build-mono-mcs
|
||||
$(MAKE) mcs-do-tests
|
||||
@@ -160,7 +153,6 @@ package-inputs:
|
||||
read libou; echo " <library_output>$$libou</library_output>"; \
|
||||
read fx_ver; echo " <fx_version>$$fx_ver</fx_version>"; \
|
||||
read profile; echo " <profile>$$profile</profile>"; \
|
||||
read resxt; echo " <resources>$$resxt</resources>"; \
|
||||
read resp; echo " <response>$$resp</response>"; \
|
||||
echo " </project>") >> msvc/scripts/order.xml; \
|
||||
done
|
||||
|
||||
@@ -15,22 +15,19 @@ The Mono project is part of the [.NET Foundation](http://www.dotnetfoundation.or
|
||||
6. [Configuration Options](#configuration-options)
|
||||
7. [Working with Submodules](#working-with-submodules)
|
||||
|
||||
### Build Status
|
||||
**Build Status**
|
||||
|
||||
| OS | Architecture | Status |
|
||||
|--------------|--------------------|------------------------------|
|
||||
| Ubuntu 14.04 | amd64 | [![ubuntu-1404-amd64][1]][2] |
|
||||
| Ubuntu 14.04 | i386 | [![ubuntu-1404-i386][3]][4] |
|
||||
| Debian 8 | armel | [![debian-8-armel][5]][6] |
|
||||
| Debian 8 | armhf | [![debian-8-armhf][7]][8] |
|
||||
| Debian 8 | arm64 | [![debian-8-arm64][9]][10] |
|
||||
| OS X | amd64 | [![osx-amd64][11]][12] |
|
||||
| OS X | i386 | [![osx-i386][13]][14] |
|
||||
| Windows | amd64 | [![windows-amd64][15]][16] |
|
||||
| Windows | i386 | [![windows-amd64][17]][18] |
|
||||
| CentOS | s390x (cs) | [![centos-s390x][19]][20] |
|
||||
Officially supported architectures:
|
||||
|
||||
_(cs) = community supported architecture_
|
||||
| ubuntu-1404-amd64 | ubuntu-1404-i386 | debian-8-armel | debian-8-armhf | debian-8-arm64 | windows-amd64 |
|
||||
|------------------------------|-----------------------------|---------------------------|---------------------------|-----------------------------|----------------------------|
|
||||
| [![ubuntu-1404-amd64][1]][2] | [![ubuntu-1404-i386][3]][4] | [![debian-8-armel][5]][6] | [![debian-8-armhf][7]][8] | [![debian-8-arm64][9]][10] | [![windows-amd64][11]][12] |
|
||||
|
||||
Community supported architectures:
|
||||
|
||||
| centos-s390x |
|
||||
|---------------------------|
|
||||
| [![centos-s390x][13]][14] |
|
||||
|
||||
[1]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=ubuntu-1404-amd64/badge/icon
|
||||
[2]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=ubuntu-1404-amd64
|
||||
@@ -42,16 +39,10 @@ _(cs) = community supported architecture_
|
||||
[8]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-8-armhf/
|
||||
[9]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-8-arm64/badge/icon
|
||||
[10]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-8-arm64/
|
||||
[11]: https://jenkins.mono-project.com/job/test-mono-mainline/label=osx-amd64/badge/icon
|
||||
[12]: https://jenkins.mono-project.com/job/test-mono-mainline/label=osx-amd64/
|
||||
[13]: https://jenkins.mono-project.com/job/test-mono-mainline/label=osx-i386/badge/icon
|
||||
[14]: https://jenkins.mono-project.com/job/test-mono-mainline/label=osx-i386/
|
||||
[15]: https://jenkins.mono-project.com/job/z/label=w64/badge/icon
|
||||
[16]: https://jenkins.mono-project.com/job/z/label=w64/
|
||||
[17]: https://jenkins.mono-project.com/job/z/label=w32/badge/icon
|
||||
[18]: https://jenkins.mono-project.com/job/z/label=w32/
|
||||
[19]: https://jenkins.mono-project.com/job/z/label=centos-s390x/badge/icon
|
||||
[20]: https://jenkins.mono-project.com/job/z/label=centos-s390x
|
||||
[11]: https://ci.appveyor.com/api/projects/status/1e61ebdfpbiei58v/branch/master?svg=true
|
||||
[12]: https://ci.appveyor.com/project/ajlennon/mono-817/branch/master
|
||||
[13]: https://jenkins.mono-project.com/job/z/label=centos-s390x/badge/icon
|
||||
[14]: https://jenkins.mono-project.com/job/z/label=centos-s390x
|
||||
|
||||
Compilation and Installation
|
||||
============================
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
ACCEPTANCE_TESTS_PATH=external
|
||||
BENCHMARKER_PATH=$(ACCEPTANCE_TESTS_PATH)/benchmarker
|
||||
ROSLYN_PATH=$(ACCEPTANCE_TESTS_PATH)/roslyn
|
||||
CORECLR_PATH=$(ACCEPTANCE_TESTS_PATH)/coreclr
|
||||
MSTESTSUITE_PATH=$(ACCEPTANCE_TESTS_PATH)/ms-test-suite
|
||||
@@ -15,11 +14,10 @@ MCS = $(RUNTIME) $(mcs_topdir)/class/lib/build/mcs.exe
|
||||
ILASM = $(RUNTIME) $(CLASS)/ilasm.exe
|
||||
|
||||
include versions.mk
|
||||
include profiler-stress.mk
|
||||
include roslyn.mk
|
||||
include coreclr.mk
|
||||
include ms-test-suite.mk
|
||||
|
||||
check-full: check-profiler-stress check-roslyn check-coreclr check-ms-test-suite
|
||||
check-full: check-roslyn check-coreclr check-ms-test-suite
|
||||
|
||||
clean-local: clean-local-coreclr
|
||||
@@ -18,17 +18,9 @@
|
||||
{
|
||||
"name": "ms-test-suite",
|
||||
"url": "[email protected]:xamarin/ms-test-suite.git",
|
||||
"rev": "eb7cd709549bffe170653a50805f1593d66ea81e",
|
||||
"rev": "840653918efed24f00f5e166094f06354cae7255",
|
||||
"remote-branch": "origin/master",
|
||||
"branch": "master",
|
||||
"directory": "ms-test-suite"
|
||||
},
|
||||
{
|
||||
"name": "benchmarker",
|
||||
"url": "git://github.com/xamarin/benchmarker.git",
|
||||
"rev": "97f618cd585af549dd861b7c142656c496f6a89b",
|
||||
"remote-branch": "origin/master",
|
||||
"branch": "master",
|
||||
"directory": "benchmarker"
|
||||
}
|
||||
]
|
||||
]
|
||||
@@ -262,7 +262,9 @@ CORECLR_TEST_CS_SRC= \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/intrinsic/pow/pow2.cs \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/intrinsic/pow/pow3.cs \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/lifetime/lifetime1.cs \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/lifetime/lifetime2.cs \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/localloc/localloc3.cs \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/newarr/newarr.cs \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/shift/int16.cs \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/shift/int32.cs \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/shift/int64.cs \
|
||||
@@ -1277,6 +1279,7 @@ CORECLR_TEST_CS_SRC= \
|
||||
$(CORECLR_PATH)/tests/src/baseservices/exceptions/regressions/whidbeybeta2/349379/349379.cs \
|
||||
$(CORECLR_PATH)/tests/src/baseservices/exceptions/regressions/whidbeybeta2/366085/366085.cs \
|
||||
$(CORECLR_PATH)/tests/src/baseservices/exceptions/regressions/whidbeym3.3/106011/106011.cs \
|
||||
$(CORECLR_PATH)/tests/src/baseservices/exceptions/sharedexceptions/emptystacktrace/oomexception01.cs \
|
||||
$(CORECLR_PATH)/tests/src/baseservices/exceptions/simple/finally.cs \
|
||||
$(CORECLR_PATH)/tests/src/baseservices/exceptions/unittests/returnfromcatch.cs \
|
||||
$(CORECLR_PATH)/tests/src/baseservices/regression/v1/threads/functional/threadpool/cs_threadpoolnullchecks/cs_threadpoolnullchecks.cs \
|
||||
@@ -4000,15 +4003,6 @@ CORECLR_DISABLED_TEST_CS_SRC += \
|
||||
# this test makes no sense, the expected pattern is the English one for all cultures
|
||||
CORECLR_DISABLED_TEST_CS_SRC += $(CORECLR_PATH)/tests/src/Regressions/coreclr/0584/test584.cs
|
||||
|
||||
# Requires precise stack scanning
|
||||
CORECLR_DISABLED_TEST_CS_SRC += \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/lifetime/lifetime2.cs
|
||||
|
||||
# Depends on small array behavior of .net. Mono supports objects > 2Gb on 64bits and the following tests verify for that
|
||||
CORECLR_DISABLED_TEST_CS_SRC += \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/newarr/newarr.cs \
|
||||
$(CORECLR_PATH)/tests/src/baseservices/exceptions/sharedexceptions/emptystacktrace/oomexception01.cs
|
||||
|
||||
CORECLR_TEST_IL_SRC = \
|
||||
$(CORECLR_PATH)/tests/src/JIT/BBT/Scenario4/Not-Int32.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/Convert/implicitConv.il \
|
||||
@@ -4079,6 +4073,7 @@ CORECLR_TEST_IL_SRC = \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/array-il/simple3.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/importer/badendfinally.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/importer/badtailcall.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/importer/byrefsubbyref1.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/importer/calli2.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/importer/ceeillegal.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/importer/ldelemnullarr2.il \
|
||||
@@ -4092,12 +4087,14 @@ CORECLR_TEST_IL_SRC = \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/importer/volatilldind.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/importer/volatilstind.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/arrgetlen.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/lcliimpl.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/ldsshrstsfld.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/ldvirtftncalli.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/ovfldiv2.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/ovflrem2.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/stfldstatic1.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/stfldstatic2.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/subbyref.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/switchdefaultonly1.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/switchdefaultonly2.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/switchdefaultonly3.il \
|
||||
@@ -5121,21 +5118,6 @@ CORECLR_DISABLED_TEST_IL_SRC += \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b28901/b28901.il \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Regression/clr-x64-JIT/v2.1/b173569/b173569.il
|
||||
|
||||
|
||||
# Bad test that tries an implicit cast from int32 to byref
|
||||
CORECLR_DISABLED_TEST_IL_SRC += \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/importer/byrefsubbyref1.il
|
||||
|
||||
# Bad test that tries to implicit cast from bytef to int32
|
||||
CORECLR_DISABLED_TEST_IL_SRC += \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/subbyref.il
|
||||
|
||||
# Bad test that tries to assign a byref to a class to a byref of an interface that class implements
|
||||
# This is unsafe because the byref is mutable and would allow you to store the wrong type on that cell.
|
||||
CORECLR_DISABLED_TEST_IL_SRC += \
|
||||
$(CORECLR_PATH)/tests/src/JIT/Directed/coverage/oldtests/lcliimpl.il
|
||||
|
||||
|
||||
# find all CoreCLR *.il test files that aren't mentioned in this file
|
||||
CORECLR_DEFINED_IL_SRC = $(CORECLR_TEST_IL_SRC) $(CORECLR_DISABLED_TEST_IL_SRC)
|
||||
CORECLR_UPSTREAM_IL_SRC=$(shell find "$(CORECLR_PATH)/tests" -iname "*.il")
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
check-ms-test-suite:
|
||||
@if $(MAKE) validate-ms-test-suite RESET_VERSIONS=1; then \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/conformance build MCS="$(MCS) -debug -t:library -warn:1 -r:nunit.framework" && \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/conformance build MCS="$(MCS) -t:library -warn:1 -r:nunit.framework" && \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/conformance run NUNIT-CONSOLE="$(RUNTIME) $(CLASS)/nunit-console.exe -nologo -exclude=MonoBug,BadTest" NUNIT_XML_RESULT=$(abs_top_builddir)/acceptance-tests/TestResult-ms-test-suite-conformance.xml || EXIT_CODE=1; \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/systemruntimebringup build MCS="$(MCS) -debug -warn:1" && \
|
||||
$(MAKE) -C $(MSTESTSUITE_PATH)/systemruntimebringup run MONO="$(RUNTIME)" || EXIT_CODE=1; \
|
||||
exit $$EXIT_CODE; \
|
||||
else \
|
||||
echo "*** [ms-test-suite] Getting the repository failed, you probably don't have access to this Xamarin-internal resource. Skipping."; \
|
||||
fi
|
||||
fi
|
||||
@@ -1,13 +0,0 @@
|
||||
SYS_REFS = \
|
||||
System.dll \
|
||||
System.Core.dll \
|
||||
System.Data.dll \
|
||||
System.Runtime.Serialization.dll \
|
||||
System.Xml.dll \
|
||||
System.Xml.Linq.dll \
|
||||
Mono.Posix.dll
|
||||
|
||||
check-profiler-stress:
|
||||
@$(MAKE) validate-benchmarker RESET_VERSIONS=1
|
||||
cd profiler-stress && $(MCS) -target:exe $(addprefix -r:, $(SYS_REFS)) -out:runner.exe @runner.exe.sources
|
||||
cd profiler-stress && $(RUNTIME) runner.exe
|
||||
@@ -1,278 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
using System.Xml;
|
||||
using Mono.Unix.Native;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
// Shut up CLS compliance warnings from Json.NET.
|
||||
[assembly: CLSCompliant (true)]
|
||||
|
||||
namespace Mono.Profiling.Tests.Stress {
|
||||
|
||||
// https://github.com/xamarin/benchmarker/blob/master/tools/libdbmodel/Benchmark.cs
|
||||
sealed class Benchmark {
|
||||
|
||||
public string Name { get; set; }
|
||||
public string TestDirectory { get; set; }
|
||||
public bool OnlyExplicit { get; set; }
|
||||
public string[] CommandLine { get; set; }
|
||||
public string[] ClientCommandLine { get; set; }
|
||||
public string[] AOTAssemblies { get; set; }
|
||||
|
||||
public static Benchmark Load (string file)
|
||||
{
|
||||
return JsonConvert.DeserializeObject<Benchmark> (File.ReadAllText (file));
|
||||
}
|
||||
}
|
||||
|
||||
sealed class TestResult {
|
||||
|
||||
public Benchmark Benchmark { get; set; }
|
||||
public ProcessStartInfo StartInfo { get; set; }
|
||||
public Stopwatch Stopwatch { get; set; } = new Stopwatch ();
|
||||
public int? ExitCode { get; set; }
|
||||
public StringBuilder StandardOutput { get; set; } = new StringBuilder ();
|
||||
public StringBuilder StandardError { get; set; } = new StringBuilder ();
|
||||
}
|
||||
|
||||
static class Program {
|
||||
|
||||
static readonly TimeSpan _timeout = TimeSpan.FromHours (6);
|
||||
|
||||
static string FilterInvalidXmlChars (string text) {
|
||||
return Regex.Replace (text, @"[^\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]", string.Empty);
|
||||
}
|
||||
|
||||
static int Main ()
|
||||
{
|
||||
var depDir = Path.Combine ("..", "external", "benchmarker");
|
||||
var benchDir = Path.Combine (depDir, "benchmarks");
|
||||
var testDir = Path.Combine (depDir, "tests");
|
||||
|
||||
var benchmarks = Directory.EnumerateFiles (benchDir, "*.benchmark")
|
||||
.Select (Benchmark.Load)
|
||||
.Where (b => !b.OnlyExplicit && b.ClientCommandLine == null)
|
||||
.OrderBy (b => b.Name)
|
||||
.ToArray ();
|
||||
|
||||
var monoPath = Path.GetFullPath (Path.Combine ("..", "..", "runtime", "mono-wrapper"));
|
||||
var classDir = Path.GetFullPath (Path.Combine ("..", "..", "mcs", "class", "lib", "net_4_x"));
|
||||
|
||||
var rand = new Random ();
|
||||
var cpus = Environment.ProcessorCount;
|
||||
|
||||
var results = new List<TestResult> (benchmarks.Length);
|
||||
|
||||
var sw = Stopwatch.StartNew ();
|
||||
|
||||
for (var i = 0; i < benchmarks.Length; i++) {
|
||||
var bench = benchmarks [i];
|
||||
|
||||
var sampleFreq = rand.Next (0, 1001);
|
||||
var sampleMode = rand.Next (0, 2) == 1 ? "real" : "process";
|
||||
var maxSamples = rand.Next (0, cpus * 2000 + 1);
|
||||
var heapShotFreq = rand.Next (0, 11);
|
||||
var maxFrames = rand.Next (0, 33);
|
||||
var allocMode = rand.Next (0, 2) == 1 ? "alloc" : "noalloc";
|
||||
|
||||
var profOptions = $"sample=cycles/{sampleFreq},sampling-{sampleMode},maxsamples={maxSamples},heapshot={heapShotFreq}gc,maxframes={maxFrames},{allocMode},output=/dev/null";
|
||||
|
||||
var info = new ProcessStartInfo {
|
||||
UseShellExecute = false,
|
||||
WorkingDirectory = Path.Combine (testDir, bench.TestDirectory),
|
||||
FileName = monoPath,
|
||||
Arguments = $"--debug --profile=log:{profOptions} " + string.Join (" ", bench.CommandLine),
|
||||
RedirectStandardOutput = true,
|
||||
RedirectStandardError = true,
|
||||
};
|
||||
|
||||
info.EnvironmentVariables.Clear ();
|
||||
info.EnvironmentVariables.Add ("MONO_PATH", classDir);
|
||||
|
||||
var progress = $"({i + 1}/{benchmarks.Length})";
|
||||
|
||||
Console.ForegroundColor = ConsoleColor.Blue;
|
||||
Console.WriteLine ($"[{sw.Elapsed.ToString ("G")}] {progress} Running {bench.Name} with profiler options: {profOptions}");
|
||||
Console.ResetColor ();
|
||||
|
||||
var result = new TestResult {
|
||||
Benchmark = bench,
|
||||
StartInfo = info,
|
||||
};
|
||||
|
||||
using (var proc = new Process ()) {
|
||||
proc.StartInfo = info;
|
||||
|
||||
proc.OutputDataReceived += (sender, args) => {
|
||||
if (args.Data != null)
|
||||
result.StandardOutput.AppendLine (args.Data);
|
||||
};
|
||||
|
||||
proc.ErrorDataReceived += (sender, args) => {
|
||||
if (args.Data != null)
|
||||
result.StandardError.AppendLine (args.Data);
|
||||
};
|
||||
|
||||
result.Stopwatch.Start ();
|
||||
|
||||
proc.Start ();
|
||||
|
||||
proc.BeginOutputReadLine ();
|
||||
proc.BeginErrorReadLine ();
|
||||
|
||||
if (!proc.WaitForExit ((int) _timeout.TotalMilliseconds)) {
|
||||
// Force a thread dump.
|
||||
Syscall.kill (proc.Id, Signum.SIGQUIT);
|
||||
Thread.Sleep (1000);
|
||||
|
||||
try {
|
||||
proc.Kill ();
|
||||
} catch (Exception) {
|
||||
}
|
||||
} else
|
||||
result.ExitCode = proc.ExitCode;
|
||||
|
||||
result.Stopwatch.Stop ();
|
||||
}
|
||||
|
||||
var resultStr = result.ExitCode == null ? "timed out" : $"exited with code: {result.ExitCode}";
|
||||
|
||||
Console.ForegroundColor = result.ExitCode != 0 ? ConsoleColor.Red : ConsoleColor.Green;
|
||||
Console.WriteLine ($"[{sw.Elapsed.ToString ("G")}] {progress} {bench.Name} took {result.Stopwatch.Elapsed.ToString ("G")} and {resultStr}");
|
||||
Console.ResetColor ();
|
||||
|
||||
if (result.ExitCode != 0) {
|
||||
Console.ForegroundColor = ConsoleColor.Red;
|
||||
Console.WriteLine ("===== stdout =====");
|
||||
Console.ResetColor ();
|
||||
|
||||
Console.WriteLine (result.StandardOutput.ToString ());
|
||||
|
||||
Console.ForegroundColor = ConsoleColor.Red;
|
||||
Console.WriteLine ("===== stderr =====");
|
||||
Console.ResetColor ();
|
||||
|
||||
Console.WriteLine (result.StandardError.ToString ());
|
||||
}
|
||||
|
||||
results.Add (result);
|
||||
}
|
||||
|
||||
sw.Stop ();
|
||||
|
||||
var successes = results.Count (r => r.ExitCode == 0);
|
||||
var failures = results.Count (r => r.ExitCode != null && r.ExitCode != 0);
|
||||
var timeouts = results.Count (r => r.ExitCode == null);
|
||||
|
||||
var settings = new XmlWriterSettings {
|
||||
NewLineOnAttributes = true,
|
||||
Indent = true,
|
||||
};
|
||||
|
||||
using (var writer = XmlWriter.Create ("TestResult-profiler-stress.xml", settings)) {
|
||||
writer.WriteStartDocument ();
|
||||
writer.WriteComment ("This file represents the results of running a test suite");
|
||||
|
||||
writer.WriteStartElement ("test-results");
|
||||
writer.WriteAttributeString ("name", "profiler-stress-tests.dummy");
|
||||
writer.WriteAttributeString ("total", results.Count.ToString ());
|
||||
writer.WriteAttributeString ("failures", failures.ToString ());
|
||||
writer.WriteAttributeString ("not-run", "0");
|
||||
writer.WriteAttributeString ("date", DateTime.Now.ToString ("yyyy-MM-dd"));
|
||||
writer.WriteAttributeString ("time", DateTime.Now.ToString ("HH:mm:ss"));
|
||||
|
||||
writer.WriteStartElement ("environment");
|
||||
writer.WriteAttributeString ("nunit-version", "2.4.8.0");
|
||||
writer.WriteAttributeString ("clr-version", Environment.Version.ToString ());
|
||||
writer.WriteAttributeString ("os-version", Environment.OSVersion.ToString ());
|
||||
writer.WriteAttributeString ("platform", Environment.OSVersion.Platform.ToString ());
|
||||
writer.WriteAttributeString ("cwd", Environment.CurrentDirectory);
|
||||
writer.WriteAttributeString ("machine-name", Environment.MachineName);
|
||||
writer.WriteAttributeString ("user", Environment.UserName);
|
||||
writer.WriteAttributeString ("user-domain", Environment.UserDomainName);
|
||||
writer.WriteEndElement ();
|
||||
|
||||
writer.WriteStartElement ("culture-info");
|
||||
writer.WriteAttributeString ("current-culture", CultureInfo.CurrentCulture.Name);
|
||||
writer.WriteAttributeString ("current-uiculture", CultureInfo.CurrentUICulture.Name);
|
||||
writer.WriteEndElement ();
|
||||
|
||||
writer.WriteStartElement ("test-suite");
|
||||
writer.WriteAttributeString ("name", "profiler-stress-tests.dummy");
|
||||
writer.WriteAttributeString ("success", (failures + timeouts == 0).ToString ());
|
||||
writer.WriteAttributeString ("time", ((int) sw.Elapsed.TotalSeconds).ToString ());
|
||||
writer.WriteAttributeString ("asserts", (failures + timeouts).ToString ());
|
||||
writer.WriteStartElement ("results");
|
||||
|
||||
writer.WriteStartElement ("test-suite");
|
||||
writer.WriteAttributeString ("name", "MonoTests");
|
||||
writer.WriteAttributeString ("success", (failures + timeouts == 0).ToString ());
|
||||
writer.WriteAttributeString ("time", ((int) sw.Elapsed.TotalSeconds).ToString ());
|
||||
writer.WriteAttributeString ("asserts", (failures + timeouts).ToString ());
|
||||
writer.WriteStartElement ("results");
|
||||
|
||||
writer.WriteStartElement ("test-suite");
|
||||
writer.WriteAttributeString ("name", "profiler-stress");
|
||||
writer.WriteAttributeString ("success", (failures + timeouts == 0).ToString ());
|
||||
writer.WriteAttributeString ("time", ((int) sw.Elapsed.TotalSeconds).ToString ());
|
||||
writer.WriteAttributeString ("asserts", (failures + timeouts).ToString ());
|
||||
writer.WriteStartElement ("results");
|
||||
|
||||
foreach (var result in results) {
|
||||
var timeoutStr = result.ExitCode == null ? "_timeout" : string.Empty;
|
||||
|
||||
writer.WriteStartElement ("test-case");
|
||||
writer.WriteAttributeString ("name", $"MonoTests.profiler-stress.{result.Benchmark.Name}{timeoutStr}");
|
||||
writer.WriteAttributeString ("executed", "True");
|
||||
writer.WriteAttributeString ("success", (result.ExitCode == 0).ToString ());
|
||||
writer.WriteAttributeString ("time", ((int) result.Stopwatch.Elapsed.TotalSeconds).ToString ());
|
||||
writer.WriteAttributeString ("asserts", result.ExitCode == 0 ? "0" : "1");
|
||||
|
||||
if (result.ExitCode != 0) {
|
||||
writer.WriteStartElement ("failure");
|
||||
|
||||
writer.WriteStartElement ("message");
|
||||
writer.WriteCData (FilterInvalidXmlChars (result.StandardOutput.ToString ()));
|
||||
writer.WriteEndElement ();
|
||||
|
||||
writer.WriteStartElement ("stack-trace");
|
||||
writer.WriteCData (FilterInvalidXmlChars (result.StandardError.ToString ()));
|
||||
writer.WriteEndElement ();
|
||||
|
||||
writer.WriteEndElement ();
|
||||
}
|
||||
|
||||
writer.WriteEndElement ();
|
||||
}
|
||||
|
||||
writer.WriteEndElement ();
|
||||
writer.WriteEndElement ();
|
||||
|
||||
writer.WriteEndElement ();
|
||||
writer.WriteEndElement ();
|
||||
|
||||
writer.WriteEndElement ();
|
||||
writer.WriteEndElement ();
|
||||
|
||||
writer.WriteEndElement ();
|
||||
|
||||
writer.WriteEndDocument ();
|
||||
}
|
||||
|
||||
var failureStr = failures + timeouts != 0 ? $" ({failures} failures, {timeouts} timeouts)" : string.Empty;
|
||||
|
||||
Console.ForegroundColor = failures + timeouts != 0 ? ConsoleColor.Red : ConsoleColor.Green;
|
||||
Console.WriteLine ($"[{sw.Elapsed.ToString ("G")}] Finished with {successes}/{results.Count} passing tests{failureStr}");
|
||||
Console.ResetColor ();
|
||||
|
||||
return failures + timeouts;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,156 +0,0 @@
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonBinaryType.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonBinaryWriter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonReader.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonToken.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonType.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonWriter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonObjectId.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/BinaryConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/DataSetConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/DataTableConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/CustomCreationConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/DateTimeConverterBase.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/EntityKeyMemberConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/ExpandoObjectConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/KeyValuePairConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/BsonObjectIdConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/RegexConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/StringEnumConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/ConstructorHandling.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/VersionConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/DateFormatHandling.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/DateTimeZoneHandling.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Formatting.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonConstructorAttribute.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonPosition.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JPropertyKeyedCollection.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DynamicProxy.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JPath.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JRaw.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Required.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonDynamicContract.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonFormatterConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonISerializableContract.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonLinqContract.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonPrimitiveContract.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/DynamicValueProvider.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/ErrorEventArgs.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JPropertyDescriptor.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/DefaultReferenceResolver.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/PreserveReferencesHandling.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/IJsonLineInfo.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonArrayAttribute.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonContainerAttribute.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/DefaultValueHandling.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonConverterAttribute.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonObjectAttribute.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonSerializerSettings.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonValidatingReader.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/IJEnumerable.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JTokenEqualityComparer.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/MemberSerialization.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/ObjectCreationHandling.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/IsoDateTimeConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/JavaScriptDateTimeConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonTextReader.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonPropertyAttribute.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonIgnoreAttribute.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonTextWriter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonWriterException.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonReaderException.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonConverter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonConverterCollection.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonReader.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonConvert.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonSerializationException.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonSerializer.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/Extensions.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JConstructor.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JContainer.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JEnumerable.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JObject.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JArray.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JTokenReader.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JTokenWriter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JToken.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JProperty.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JTokenType.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JValue.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/Extensions.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaException.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaModel.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaModelBuilder.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaNodeCollection.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaNode.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaResolver.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaWriter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/UndefinedSchemaIdHandling.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/ValidationEventArgs.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/ValidationEventHandler.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/CamelCasePropertyNamesContractResolver.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/DefaultSerializationBinder.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/ErrorContext.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/IContractResolver.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/IValueProvider.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonArrayContract.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonContract.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonDictionaryContract.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonProperty.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonPropertyCollection.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/MissingMemberHandling.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/NullValueHandling.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/ReferenceLoopHandling.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchema.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaBuilder.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaConstants.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/IReferenceResolver.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaType.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonObjectContract.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonSerializerInternalBase.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonSerializerProxy.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonStringContract.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonTypeReflector.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/CachedAttributeGetter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/LateBoundMetadataTypeAttribute.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/ReflectionValueProvider.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/OnErrorAttribute.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/Base64Encoder.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DynamicProxyMetaObject.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DynamicUtils.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DynamicWrapper.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DynamicReflectionDelegateFactory.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/ObjectConstructor.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ILGeneratorExtensions.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ReflectionDelegateFactory.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/LateBoundReflectionDelegateFactory.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/MethodCall.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/StringReference.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ThreadSafeStore.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/TypeNameHandling.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/BidirectionalDictionary.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ConvertUtils.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/CollectionWrapper.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DateTimeUtils.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DictionaryWrapper.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/EnumUtils.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/EnumValue.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/EnumValues.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/JavaScriptUtils.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonToken.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonWriter.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/StringBuffer.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/CollectionUtils.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ListWrapper.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/MathUtils.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/MiscellaneousUtils.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ReflectionUtils.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/StringUtils.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/TypeExtensions.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ValidationUtils.cs
|
||||
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/WriteState.cs
|
||||
runner.cs
|
||||
@@ -4,11 +4,17 @@ check-roslyn:
|
||||
sed -i -e 's/\\4.5-api"/\\4.5"/g' $$PREFIX/lib/mono/xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml; \
|
||||
export MSBuildExtensionsPath=$$PREFIX/lib/mono/xbuild; \
|
||||
MONO_DOTNET_PORTABLE_DIR=$$PREFIX/lib/mono/xbuild-frameworks/.NETPortable/; \
|
||||
if [ ! -d "$$MONO_DOTNET_PORTABLE_DIR/v4.6" ]; then \
|
||||
MONO_NUGET_TARGETS_DIR=$$PREFIX/lib/mono/xbuild/Microsoft/NuGet/; \
|
||||
MONO_PORTABLE_TARGETS_DIR=$$PREFIX/lib/mono/xbuild/Microsoft/Portable/v5.0; \
|
||||
if [ ! -d "$$MONO_DOTNET_PORTABLE_DIR/v5.0" ]; then \
|
||||
mkdir -p $$MONO_DOTNET_PORTABLE_DIR; \
|
||||
mkdir -p $$MONO_NUGET_TARGETS_DIR; \
|
||||
mkdir -p $$MONO_PORTABLE_TARGETS_DIR; \
|
||||
curl -SL "http://download.mono-project.com/third-party/RoslynBuildDependencies.zip" > /tmp/RoslynBuildDependencies.zip; \
|
||||
unzip -o /tmp/RoslynBuildDependencies.zip -d /tmp/RoslynBuildDependencies; \
|
||||
cp -r /tmp/RoslynBuildDependencies/PortableReferenceAssemblies/* $$MONO_DOTNET_PORTABLE_DIR; \
|
||||
cp /tmp/RoslynBuildDependencies/NuGetTargets/* $$MONO_NUGET_TARGETS_DIR; \
|
||||
cp /tmp/RoslynBuildDependencies/PortableTargets/* $$MONO_PORTABLE_TARGETS_DIR; \
|
||||
fi; \
|
||||
cd $(ROSLYN_PATH); \
|
||||
sed -i -e 'N; s/bootstrapArg=".*\n.*"/bootstrapArg=""/g' cibuild.sh; \
|
||||
|
||||
@@ -3,35 +3,28 @@
|
||||
SUBMODULES_CONFIG_FILE = $(top_srcdir)/acceptance-tests/SUBMODULES.json
|
||||
include $(top_srcdir)/scripts/submodules/versions.mk
|
||||
|
||||
$(eval $(call ValidateVersionTemplate,benchmarker,BENCHMARKER))
|
||||
$(eval $(call ValidateVersionTemplate,roslyn,ROSLYN))
|
||||
$(eval $(call ValidateVersionTemplate,coreclr,CORECLR))
|
||||
$(eval $(call ValidateVersionTemplate,ms-test-suite,MSTESTSUITE))
|
||||
|
||||
# Bump the given submodule to the revision given by the REV make variable
|
||||
# If COMMIT is 1, commit the change
|
||||
bump-benchmarker: __bump-benchmarker
|
||||
bump-roslyn: __bump-version-roslyn
|
||||
bump-coreclr: __bump-version-coreclr
|
||||
bump-ms-test-suite: __bump-version-ms-test-suite
|
||||
|
||||
# Bump the given submodule to the branch given by the BRANCH/REMOTE_BRANCH make variables
|
||||
# If COMMIT is 1, commit the change
|
||||
bump-branch-benchmarker: __bump-branch-benchmarker
|
||||
bump-branch-roslyn: __bump-branch-roslyn
|
||||
bump-branch-coreclr: __bump-branch-coreclr
|
||||
bump-branch-ms-test-suite: __bump-branch-ms-test-suite
|
||||
|
||||
# Bump the given submodule to its current GIT version
|
||||
# If COMMIT is 1, commit the change
|
||||
bump-current-benchmarker: __bump-current-benchmarker
|
||||
bump-current-roslyn: __bump-current-version-roslyn
|
||||
bump-current-coreclr: __bump-current-version-coreclr
|
||||
bump-current-ms-test-suite: __bump-current-version-ms-test-suite
|
||||
|
||||
commit-bump-benchmarker:
|
||||
$(MAKE) bump-benchmarker COMMIT=1
|
||||
|
||||
commit-bump-roslyn:
|
||||
$(MAKE) bump-roslyn COMMIT=1
|
||||
|
||||
@@ -41,9 +34,6 @@ commit-bump-coreclr:
|
||||
commit-bump-ms-test-suite:
|
||||
$(MAKE) bump-ms-test-suite COMMIT=1
|
||||
|
||||
commit-bump-current-benchmarker:
|
||||
$(MAKE) bump-current-benchmarker COMMIT=1
|
||||
|
||||
commit-bump-current-roslyn:
|
||||
$(MAKE) bump-current-roslyn COMMIT=1
|
||||
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
#
|
||||
# Appveyor configuration file for CI build of Mono on Windows (under Cygwin)
|
||||
#
|
||||
# For further details see http://www.appveyor.com
|
||||
#
|
||||
|
||||
#
|
||||
# Custom environment variables
|
||||
#
|
||||
environment:
|
||||
global:
|
||||
CYG_ROOT: C:\cygwin
|
||||
CYG_MIRROR: http://cygwin.mirror.constant.com
|
||||
CYG_CACHE: C:\cygwin\var\cache\setup
|
||||
CYG_BASH: C:\cygwin\bin\bash
|
||||
|
||||
#
|
||||
# Cache Cygwin files to speed up build
|
||||
#
|
||||
cache:
|
||||
- '%CYG_CACHE%'
|
||||
|
||||
#
|
||||
# Do a shallow clone of the repo to speed up build
|
||||
#
|
||||
clone_depth: 1
|
||||
|
||||
#
|
||||
# Initialisation prior to pulling the Mono repository
|
||||
# Attempt to ensure we don't try to convert line endings to Win32 CRLF as this will cause build to fail
|
||||
#
|
||||
init:
|
||||
- git config --global core.autocrlf input
|
||||
|
||||
#
|
||||
# Install needed build dependencies
|
||||
#
|
||||
install:
|
||||
- ps: 'Start-FileDownload "http://cygwin.com/setup-x86.exe" -FileName "setup-x86.exe"'
|
||||
- 'setup-x86.exe --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages autoconf,automake,bison,gcc-core,gcc-g++,mingw-runtime,mingw-binutils,mingw-gcc-core,mingw-gcc-g++,mingw-pthreads,mingw-w32api,libtool,make,python,gettext-devel,gettext,intltool,libiconv,pkg-config,git,curl,libxslt > NUL 2>&1'
|
||||
- '%CYG_BASH% -lc "cygcheck -dc cygwin"'
|
||||
|
||||
# Cygwin build script
|
||||
#
|
||||
# NOTES:
|
||||
#
|
||||
# The stdin/stdout file descriptor appears not to be valid for the Appveyor
|
||||
# build which causes failures as certain functions attempt to redirect
|
||||
# default file handles. Ensure a dummy file descriptor is opened with 'exec'.
|
||||
#
|
||||
build_script:
|
||||
- 'echo Building...'
|
||||
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; ./autogen.sh --prefix=/usr/local --host=i686-pc-mingw32"'
|
||||
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; make get-monolite-latest"'
|
||||
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; make -j2"'
|
||||
- 'echo Installing...'
|
||||
- 'mkdir %APPVEYOR_BUILD_FOLDER%\install'
|
||||
- '%CYG_BASH% -lc "export CYGWIN=winsymlinks:native; mount \"$APPVEYOR_BUILD_FOLDER\install\" /usr/local; cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; make install; umount /usr/local"'
|
||||
|
||||
#
|
||||
# Disable tests for now
|
||||
#
|
||||
test: off
|
||||
|
||||
#
|
||||
# Only build the master branch
|
||||
#
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
#
|
||||
# NOTE: Currently this is the Mono installation tree. In future we will create an installation package artifact.
|
||||
# It has to be relative to the project path. Thus we have installed to within the build tree.
|
||||
#
|
||||
artifacts:
|
||||
- path: install
|
||||
name: mono-binaries
|
||||
type: zip
|
||||
+2
-3
@@ -160,9 +160,8 @@ if test -d $srcdir/eglib; then
|
||||
echo Done running eglib/autogen.sh ...
|
||||
fi
|
||||
|
||||
if test x$MONO_EXTRA_CONFIGURE_FLAGS != x; then
|
||||
echo "MONO_EXTRA_CONFIGURE_FLAGS is $MONO_EXTRA_CONFIGURE_FLAGS"
|
||||
fi
|
||||
|
||||
echo "MONO_EXTRA_CONFIGURE_FLAGS is $MONO_EXTRA_CONFIGURE_FLAGS"
|
||||
|
||||
conf_flags="$MONO_EXTRA_CONFIGURE_FLAGS --enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
|
||||
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
@echo off
|
||||
cd mcs\jay
|
||||
vcbuild jay.vcxproj
|
||||
cd msvc\scripts
|
||||
csc prepare.cs
|
||||
prepare.exe ..\..\mcs core
|
||||
msbuild net_4_x.sln
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
(cd mcs/jay; make)
|
||||
(cd msvc/scripts/; make prepare.exe; mono prepare.exe ../../mcs core)
|
||||
(cd msvc/scripts/; make prepare.exe; mono prepare.exe `pwd`/mcs core)
|
||||
msbuild net_4_x.sln
|
||||
+145
-478
@@ -1,8 +1,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
#AC_PREREQ([2.62])
|
||||
|
||||
# when bumping version number below, keep it in sync with man/mono.1 too
|
||||
AC_INIT(mono, [4.9.0],
|
||||
AC_INIT(mono, [4.6.0],
|
||||
[http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono])
|
||||
|
||||
AC_CONFIG_SRCDIR([README.md])
|
||||
@@ -52,8 +51,6 @@ CPPFLAGS_FOR_LIBGC=$CPPFLAGS
|
||||
CFLAGS_FOR_LIBGC=$CFLAGS
|
||||
CPPFLAGS_FOR_EGLIB=$CPPFLAGS
|
||||
CFLAGS_FOR_EGLIB=$CFLAGS
|
||||
CPPFLAGS_FOR_BTLS=$CPPFLAGS
|
||||
CFLAGS_FOR_BTLS=$CFLAGS
|
||||
|
||||
# libgc uses some deprecated APIs
|
||||
CFLAGS_FOR_LIBGC="$CFLAGS -Wno-deprecated-declarations"
|
||||
@@ -68,11 +65,7 @@ AC_SUBST(libmono_cflags)
|
||||
AC_SUBST(libmono_ldflags)
|
||||
|
||||
# Variable to have relocatable .pc files (lib, or lib64)
|
||||
# realpath isn't always available, and requires that all but the tip of the provided
|
||||
# path exists. Fall back to the old behaviour, but realpath allows depth >1
|
||||
# e.g. Debian puts Mono in /usr/bin and libs in /usr/lib/x86_64-linux-gnu/ which is
|
||||
# too deep for the old method to work
|
||||
reloc_libdir=`realpath --relative-to=${prefix} ${libdir} 2> /dev/null || basename ${libdir}`
|
||||
reloc_libdir=`basename ${libdir}`
|
||||
AC_SUBST(reloc_libdir)
|
||||
|
||||
# Set to yes if Unix sockets cannot be created in an anonymous namespace
|
||||
@@ -117,7 +110,6 @@ case "$host" in
|
||||
libgc_threads=win32
|
||||
with_sigaltstack=no
|
||||
with_tls=pthread
|
||||
with_sgen_default_concurrent=yes
|
||||
LN_S=cp
|
||||
# This forces libgc to use the DllMain based thread registration code on win32
|
||||
libgc_configure_args="$libgc_configure_args --enable-win32-dllmain=yes"
|
||||
@@ -133,7 +125,6 @@ case "$host" in
|
||||
libgc_threads=pthreads
|
||||
with_sigaltstack=no
|
||||
use_sigposix=yes
|
||||
with_sgen_default_concurrent=yes
|
||||
;;
|
||||
*-*-kfreebsd*-gnu)
|
||||
CPPFLAGS="$CPPFLAGS -DGC_FREEBSD_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -DTHREAD_LOCAL_ALLOC -pthread"
|
||||
@@ -144,7 +135,6 @@ case "$host" in
|
||||
need_link_unlink=yes
|
||||
with_sigaltstack=no
|
||||
use_sigposix=yes
|
||||
with_sgen_default_concurrent=yes
|
||||
;;
|
||||
*-*-*freebsd*)
|
||||
if test "x$PTHREAD_CFLAGS" = "x"; then
|
||||
@@ -168,7 +158,6 @@ case "$host" in
|
||||
libgc_threads=pthreads
|
||||
use_sigposix=yes
|
||||
has_dtrace=yes
|
||||
with_sgen_default_concurrent=yes
|
||||
;;
|
||||
*-*-*openbsd*)
|
||||
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE -DGC_OPENBSD_THREADS -DPLATFORM_BSD -D_REENTRANT -DUSE_MMAP"
|
||||
@@ -183,7 +172,6 @@ case "$host" in
|
||||
libgc_threads=pthreads
|
||||
with_sigaltstack=no
|
||||
use_sigposix=yes
|
||||
with_sgen_default_concurrent=yes
|
||||
;;
|
||||
*-*-linux-android*)
|
||||
platform_android=yes
|
||||
@@ -247,7 +235,6 @@ case "$host" in
|
||||
disable_munmap=yes
|
||||
;;
|
||||
esac
|
||||
with_sgen_default_concurrent=yes
|
||||
;;
|
||||
*-*-nacl*)
|
||||
CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP"
|
||||
@@ -320,10 +307,8 @@ case "$host" in
|
||||
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC $BROKEN_DARWIN_FLAGS"
|
||||
CPPFLAGS_FOR_EGLIB="$CPPFLAGS_FOR_EGLIB $BROKEN_DARWIN_CPPFLAGS"
|
||||
CFLAGS_FOR_EGLIB="$CFLAGS_FOR_EGLIB $BROKEN_DARWIN_FLAGS"
|
||||
with_sgen_default_concurrent=yes
|
||||
;;
|
||||
x*64-*-darwin*)
|
||||
with_sgen_default_concurrent=yes
|
||||
;;
|
||||
arm*-darwin*)
|
||||
has_dtrace=no
|
||||
@@ -359,10 +344,6 @@ if test x$target_win32 = xyes; then
|
||||
AC_DEFINE(TARGET_WIN32, 1, [Target Platform is Win32])
|
||||
fi
|
||||
|
||||
# Defined for all targets/platforms using classic Windows API support.
|
||||
AC_DEFINE(HAVE_CLASSIC_WINAPI_SUPPORT, 1, [Use classic Windows API support])
|
||||
AC_DEFINE(HAVE_UWP_WINAPI_SUPPORT, 0, [Don't use UWP Windows API support])
|
||||
|
||||
AC_SUBST(extra_runtime_ldflags)
|
||||
AM_CONDITIONAL(HOST_WIN32, test x$host_win32 = xyes)
|
||||
AM_CONDITIONAL(TARGET_WIN32, test x$target_win32 = xyes)
|
||||
@@ -371,18 +352,6 @@ AM_CONDITIONAL(PLATFORM_DARWIN, test x$host_darwin = xyes)
|
||||
AM_CONDITIONAL(PLATFORM_SIGPOSIX, test x$use_sigposix = xyes)
|
||||
AM_CONDITIONAL(PLATFORM_ANDROID, test x$platform_android = xyes)
|
||||
|
||||
if test -z "$PLATFORM_DARWIN_TRUE"; then :
|
||||
PLATFORM_AOT_SUFFIX=.dylib
|
||||
fi
|
||||
|
||||
if test -z "$PLATFORM_LINUX_TRUE"; then :
|
||||
PLATFORM_AOT_SUFFIX=.so
|
||||
fi
|
||||
|
||||
AC_SUBST(PLATFORM_AOT_SUFFIX)
|
||||
|
||||
## PLATFORM_AOT_SUFFIX not so simple for windows :-)
|
||||
|
||||
AC_CHECK_TOOL(CC, gcc, gcc)
|
||||
AC_PROG_CC
|
||||
AC_CHECK_TOOL(CXX, g++, g++)
|
||||
@@ -550,9 +519,6 @@ if test x"$GCC" = xyes; then
|
||||
# We rely on signed overflow to behave
|
||||
CFLAGS="$CFLAGS -fwrapv"
|
||||
|
||||
# We rely on zero length arrays in structs
|
||||
CFLAGS="$CFLAGS -Wno-zero-length-array"
|
||||
|
||||
CFLAGS="$CFLAGS -DMONO_DLL_EXPORT"
|
||||
if test x"$disable_visibility_hidden" = xno; then
|
||||
# Don't export any symbols by default
|
||||
@@ -760,202 +726,6 @@ AC_ARG_ENABLE(system-aot, [ --enable-system-aot Enable the Ahead-Of-Time compi
|
||||
|
||||
DISABLED_FEATURES=none
|
||||
|
||||
#
|
||||
# Set the build profiles and options before things which use them
|
||||
#
|
||||
|
||||
AC_ARG_WITH(profile4_x, [ --with-profile4=yes,no If you want to install the 4.x FX (defaults to yes)], [], [with_profile4_x=default])
|
||||
AC_ARG_WITH(monodroid, [ --with-monodroid=yes,no If you want to build the MonoDroid assemblies (defaults to no)], [], [with_monodroid=default])
|
||||
AC_ARG_WITH(monotouch, [ --with-monotouch=yes,no If you want to build the Xamarin.iOS assemblies (defaults to no)], [], [with_monotouch=default])
|
||||
AC_ARG_WITH(monotouch_watch, [ --with-monotouch_watch=yes,no If you want to build the Xamarin.WatchOS assemblies (defaults to no)],[], [with_monotouch_watch=default])
|
||||
AC_ARG_WITH(monotouch_tv, [ --with-monotouch_tv=yes,no If you want to build the Xamarin.TVOS assemblies (defaults to no)], [], [with_monotouch_tv=default])
|
||||
AC_ARG_WITH(bitcode, [ --with-bitcode=yes,no If bitcode is enabled (defaults to no)], [], [with_bitcode=default])
|
||||
AC_ARG_WITH(xammac, [ --with-xammac=yes,no If you want to build the Xamarin.Mac assemblies (defaults to no)], [], [with_xammac=default])
|
||||
AC_ARG_WITH(mobile_static, [ --with-mobile_static=yes,no If you want to build the mobile_static assemblies (defaults to no)], [], [with_mobile_static=default])
|
||||
|
||||
AC_ARG_WITH(runtime_preset, [ --with-runtime_preset=net_4_x,all,mobile_static,bitcode_mobile_static Which default profile to build (defaults to net_4_x)], [], [with_runtime_preset=net_4_x])
|
||||
|
||||
dnl
|
||||
dnl Profile defaults
|
||||
dnl
|
||||
TEST_PROFILE=default
|
||||
enable_llvm_default=no
|
||||
|
||||
INVARIANT_AOT_OPTIONS=nimt-trampolines=900,ntrampolines=8000,nrgctx-fetch-trampolines=256,ngsharedvt-trampolines=2800
|
||||
|
||||
if test x$cross_compiling = xyes -o x$enable_mcs_build = xno; then
|
||||
DISABLE_MCS_DOCS_default=yes
|
||||
with_profile4_x_default=no
|
||||
with_monodroid_default=no
|
||||
with_monotouch_default=no
|
||||
with_monotouch_watch_default=no
|
||||
with_monotouch_tv_default=no
|
||||
with_xammac_default=no
|
||||
with_mobile_static_default=no
|
||||
with_bitcode_default=no
|
||||
with_cooperative_gc_default=no
|
||||
elif test x$with_runtime_preset = xnet_4_x; then
|
||||
with_cooperative_gc_default=no
|
||||
with_profile4_x_default=yes
|
||||
with_monodroid_default=no
|
||||
with_monotouch_default=no
|
||||
with_monotouch_watch_default=no
|
||||
with_monotouch_tv_default=no
|
||||
with_xammac_default=no
|
||||
with_mobile_static_default=no
|
||||
with_bitcode_default=no
|
||||
elif test x$with_runtime_preset = xall; then
|
||||
with_cooperative_gc_default=no
|
||||
with_profile4_x_default=yes
|
||||
with_monodroid_default=yes
|
||||
with_monotouch_default=yes
|
||||
with_monotouch_watch_default=yes
|
||||
with_monotouch_tv_default=yes
|
||||
with_xammac_default=yes
|
||||
with_mobile_static_default=no
|
||||
with_bitcode_default=no
|
||||
elif test x$with_runtime_preset = xmobile_static; then
|
||||
DISABLE_MCS_DOCS_default=yes
|
||||
with_cooperative_gc_default=no
|
||||
with_profile4_x_default=no
|
||||
with_monodroid_default=no
|
||||
with_monotouch_default=no
|
||||
with_monotouch_watch_default=no
|
||||
with_monotouch_tv_default=no
|
||||
with_xammac_default=no
|
||||
with_mobile_static_default=yes
|
||||
with_bitcode_default=no
|
||||
with_cooperative_gc_default=no
|
||||
TEST_PROFILE=mobile_static
|
||||
|
||||
mono_feature_disable_com='yes'
|
||||
mono_feature_disable_remoting='yes'
|
||||
mono_feature_disable_reflection_emit_save='yes'
|
||||
mono_feature_disable_reflection_emit='yes'
|
||||
mono_feature_disable_appdomains='yes'
|
||||
|
||||
AOT_BUILD_FLAGS="-O=gsharedvt --aot=full,$INVARIANT_AOT_OPTIONS"
|
||||
AOT_RUN_FLAGS="--full-aot"
|
||||
elif test x$with_runtime_preset = xbitcode_mobile_static; then
|
||||
DISABLE_MCS_DOCS_default=yes
|
||||
with_profile4_x_default=no
|
||||
with_monodroid_default=no
|
||||
with_monotouch_default=no
|
||||
with_monotouch_watch_default=no
|
||||
with_monotouch_tv_default=no
|
||||
with_xammac_default=no
|
||||
with_mobile_static_default=yes
|
||||
with_bitcode_default=yes
|
||||
with_cooperative_gc_default=yes
|
||||
TEST_PROFILE=mobile_static
|
||||
enable_llvm_default=yes
|
||||
|
||||
mono_feature_disable_com='yes'
|
||||
mono_feature_disable_remoting='yes'
|
||||
mono_feature_disable_reflection_emit_save='yes'
|
||||
mono_feature_disable_reflection_emit='yes'
|
||||
mono_feature_disable_appdomains='yes'
|
||||
|
||||
AOT_BUILD_FLAGS="--aot=llvmonly,$INVARIANT_AOT_OPTIONS"
|
||||
AOT_RUN_FLAGS="--llvmonly"
|
||||
else
|
||||
with_profile4_x_default=yes
|
||||
with_monodroid_default=no
|
||||
with_monotouch_default=no
|
||||
with_monotouch_watch_default=no
|
||||
with_monotouch_tv_default=no
|
||||
with_bitcode_default=no
|
||||
with_xammac_default=no
|
||||
with_mobile_static_default=no
|
||||
with_cooperative_gc_default=no
|
||||
fi
|
||||
|
||||
if test "x$AOT_BUILD_FLAGS" != "x"; then :
|
||||
AC_SUBST(AOT_BUILD_FLAGS)
|
||||
AC_SUBST(AOT_RUN_FLAGS)
|
||||
# For llvmonlycheck + fullaotcheck
|
||||
AC_SUBST(INVARIANT_AOT_OPTIONS)
|
||||
fi
|
||||
|
||||
AC_SUBST(TEST_PROFILE)
|
||||
|
||||
if test "x$with_profile4_x" = "xdefault"; then
|
||||
with_profile4_x=$with_profile4_x_default
|
||||
fi
|
||||
if test "x$with_monodroid" = "xdefault"; then
|
||||
with_monodroid=$with_monodroid_default
|
||||
fi
|
||||
if test "x$with_monotouch" = "xdefault"; then
|
||||
with_monotouch=$with_monotouch_default
|
||||
fi
|
||||
if test "x$with_monotouch_watch" = "xdefault"; then
|
||||
with_monotouch_watch=$with_monotouch_watch_default
|
||||
fi
|
||||
if test "x$with_monotouch_tv" = "xdefault"; then
|
||||
with_monotouch_tv=$with_monotouch_tv_default
|
||||
fi
|
||||
if test "x$with_bitcode" = "xdefault"; then
|
||||
with_bitcode=$with_bitcode_default
|
||||
fi
|
||||
if test "x$with_xammac" = "xdefault"; then
|
||||
with_xammac=$with_xammac_default
|
||||
fi
|
||||
if test "x$with_mobile_static" = "xdefault"; then
|
||||
with_mobile_static=$with_mobile_static_default
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(INSTALL_4_x, [test "x$with_profile4_x" = "xyes"])
|
||||
AM_CONDITIONAL(INSTALL_MONODROID, [test "x$with_monodroid" != "xno"])
|
||||
AM_CONDITIONAL(INSTALL_MONOTOUCH, [test "x$with_monotouch" != "xno"])
|
||||
AM_CONDITIONAL(INSTALL_MONOTOUCH_WATCH, [test "x$with_monotouch_watch" != "xno"])
|
||||
AM_CONDITIONAL(INSTALL_MONOTOUCH_TV, [test "x$with_monotouch_tv" != "xno"])
|
||||
AM_CONDITIONAL(BITCODE, test "x$with_bitcode" = "xyes")
|
||||
AM_CONDITIONAL(INSTALL_XAMMAC, [test "x$with_xammac" != "xno"])
|
||||
AM_CONDITIONAL(INSTALL_MOBILE_STATIC, [test "x$with_mobile_static" != "xno"])
|
||||
|
||||
AC_SUBST(INSTALL_MOBILE_STATIC)
|
||||
|
||||
default_profile=net_4_x
|
||||
if test -z "$INSTALL_MONODROID_TRUE"; then :
|
||||
default_profile=monodroid
|
||||
fi
|
||||
if test -z "$INSTALL_MONOTOUCH_TRUE"; then :
|
||||
default_profile=monotouch
|
||||
fi
|
||||
if test -z "$INSTALL_XAMMAC_TRUE"; then :
|
||||
default_profile=xammac
|
||||
fi
|
||||
if test -z "$INSTALL_MOBILE_STATIC_TRUE"; then :
|
||||
default_profile=mobile_static
|
||||
fi
|
||||
if test -z "$INSTALL_4_x_TRUE"; then :
|
||||
default_profile=net_4_x
|
||||
fi
|
||||
DEFAULT_PROFILE=$default_profile
|
||||
AC_SUBST(DEFAULT_PROFILE)
|
||||
|
||||
#
|
||||
# End build profile configuration
|
||||
#
|
||||
|
||||
if test x$USE_NLS = xprofile_default; then
|
||||
|
||||
if test x$host_darwin = xyes; then
|
||||
# We make the default value for USE_NLS
|
||||
# "no" on OSX because it isn't available on most
|
||||
# default OSX installs. The most common configurations will
|
||||
# all disable it, so this saves us typing.
|
||||
USE_NLS=no
|
||||
AC_SUBST([USE_NLS])
|
||||
AC_MSG_RESULT([$USE_NLS])
|
||||
else
|
||||
USE_NLS=yes
|
||||
AC_SUBST([USE_NLS])
|
||||
AC_MSG_RESULT([$USE_NLS])
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(minimal, [ --enable-minimal=LIST drop support for LIST subsystems.
|
||||
LIST is a comma-separated list from: aot, profiler, decimal, pinvoke, debug, appdomains, verifier,
|
||||
reflection_emit, reflection_emit_save, large_code, logging, com, ssa, generics, attach, jit, simd, soft_debug, perfcounters, normalization, assembly_remapping, shared_perfcounters, remoting,
|
||||
@@ -1174,6 +944,20 @@ AC_COMPILE_IFELSE([
|
||||
AC_MSG_RESULT(no)
|
||||
])
|
||||
|
||||
AC_MSG_CHECKING(for deprecated __attribute__)
|
||||
AC_TRY_COMPILE([
|
||||
int doit (void) __attribute__ ((deprecated));
|
||||
int doit (void) { return 0; }
|
||||
], [
|
||||
return 0;
|
||||
], [
|
||||
have_deprecated=yes
|
||||
AC_MSG_RESULT(yes)
|
||||
], [
|
||||
have_deprecated=no
|
||||
AC_MSG_RESULT(no)
|
||||
])
|
||||
|
||||
dnl
|
||||
dnl Boehm GC configuration
|
||||
dnl
|
||||
@@ -1183,76 +967,72 @@ AC_ARG_WITH(libgc, [ --with-gc=included,none Controls the Boehm GC config, d
|
||||
AC_ARG_ENABLE(boehm, [ --disable-boehm Disable the Boehm GC.], support_boehm=$enableval,support_boehm=${support_boehm:-yes})
|
||||
AM_CONDITIONAL(SUPPORT_BOEHM, test x$support_boehm = xyes)
|
||||
|
||||
if test "x$support_boehm" = "xyes"; then
|
||||
|
||||
AC_ARG_ENABLE(parallel-mark, [ --enable-parallel-mark Enables Boehm GC Parallel Marking], enable_parallel_mark=$enableval, enable_parallel_mark=$parallel_mark)
|
||||
if test x$enable_parallel_mark = xyes; then
|
||||
libgc_configure_args="$libgc_configure_args --enable-parallel-mark"
|
||||
fi
|
||||
|
||||
gc_msg=""
|
||||
LIBGC_CPPFLAGS=
|
||||
LIBGC_LIBS=
|
||||
LIBGC_STATIC_LIBS=
|
||||
libgc_dir=
|
||||
case "x$libgc" in
|
||||
xincluded)
|
||||
if test "x$support_boehm" = "xyes"; then
|
||||
libgc_dir=libgc
|
||||
fi
|
||||
|
||||
LIBGC_CPPFLAGS='-I$(top_srcdir)/libgc/include'
|
||||
LIBGC_LIBS='$(top_builddir)/libgc/libmonogc.la'
|
||||
LIBGC_STATIC_LIBS='$(top_builddir)/libgc/libmonogc-static.la'
|
||||
|
||||
BOEHM_DEFINES="-DHAVE_BOEHM_GC"
|
||||
|
||||
if test x$target_win32 = xyes; then
|
||||
BOEHM_DEFINES="$BOEHM_DEFINES -DGC_NOT_DLL"
|
||||
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DGC_BUILD -DGC_NOT_DLL"
|
||||
fi
|
||||
|
||||
gc_msg="Included Boehm GC with typed GC"
|
||||
if test x$enable_parallel_mark = xyes; then
|
||||
AC_DEFINE_UNQUOTED(DEFAULT_GC_NAME, "Included Boehm (with typed GC and Parallel Mark)", [GC description])
|
||||
gc_msg="$gc_msg and parallel mark"
|
||||
else
|
||||
AC_DEFINE_UNQUOTED(DEFAULT_GC_NAME, "Included Boehm (with typed GC)", [GC description])
|
||||
fi
|
||||
;;
|
||||
|
||||
xboehm|xbohem|xyes)
|
||||
AC_MSG_WARN("External Boehm is no longer supported")
|
||||
;;
|
||||
|
||||
xsgen)
|
||||
AC_MSG_WARN("Use --with-sgen instead, --with-gc= controls Boehm configuration")
|
||||
;;
|
||||
|
||||
xnone)
|
||||
AC_MSG_WARN("Compiling mono without GC.")
|
||||
AC_DEFINE_UNQUOTED(DEFAULT_GC_NAME, "none", [GC description])
|
||||
AC_DEFINE(HAVE_NULL_GC,1,[No GC support.])
|
||||
gc_msg="none"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([Invalid argument to --with-gc.])
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_ARG_WITH(large-heap, [ --with-large-heap=yes,no Enable support for GC heaps larger than 3GB (defaults to no)], [large_heap=$withval], [large_heap=no])
|
||||
if test "x$large_heap" = "xyes"; then
|
||||
CPPFLAGS="$CPPFLAGS -DLARGE_CONFIG"
|
||||
fi
|
||||
|
||||
AC_SUBST(LIBGC_CPPFLAGS)
|
||||
AC_SUBST(LIBGC_LIBS)
|
||||
AC_SUBST(LIBGC_STATIC_LIBS)
|
||||
AC_SUBST(libgc_dir)
|
||||
AC_SUBST(BOEHM_DEFINES)
|
||||
|
||||
AC_ARG_ENABLE(parallel-mark, [ --enable-parallel-mark Enables Boehm GC Parallel Marking], enable_parallel_mark=$enableval, enable_parallel_mark=$parallel_mark)
|
||||
if test x$enable_parallel_mark = xyes; then
|
||||
libgc_configure_args="$libgc_configure_args --enable-parallel-mark"
|
||||
fi
|
||||
|
||||
gc_msg=""
|
||||
LIBGC_CPPFLAGS=
|
||||
LIBGC_LIBS=
|
||||
LIBGC_STATIC_LIBS=
|
||||
libgc_dir=
|
||||
case "x$libgc" in
|
||||
xincluded)
|
||||
if test "x$support_boehm" = "xyes"; then
|
||||
libgc_dir=libgc
|
||||
fi
|
||||
|
||||
LIBGC_CPPFLAGS='-I$(top_srcdir)/libgc/include'
|
||||
LIBGC_LIBS='$(top_builddir)/libgc/libmonogc.la'
|
||||
LIBGC_STATIC_LIBS='$(top_builddir)/libgc/libmonogc-static.la'
|
||||
|
||||
BOEHM_DEFINES="-DHAVE_BOEHM_GC"
|
||||
|
||||
if test x$target_win32 = xyes; then
|
||||
BOEHM_DEFINES="$BOEHM_DEFINES -DGC_NOT_DLL"
|
||||
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DGC_BUILD -DGC_NOT_DLL"
|
||||
fi
|
||||
|
||||
gc_msg="Included Boehm GC with typed GC"
|
||||
if test x$enable_parallel_mark = xyes; then
|
||||
AC_DEFINE_UNQUOTED(DEFAULT_GC_NAME, "Included Boehm (with typed GC and Parallel Mark)", [GC description])
|
||||
gc_msg="$gc_msg and parallel mark"
|
||||
else
|
||||
AC_DEFINE_UNQUOTED(DEFAULT_GC_NAME, "Included Boehm (with typed GC)", [GC description])
|
||||
fi
|
||||
;;
|
||||
|
||||
xboehm|xbohem|xyes)
|
||||
AC_MSG_WARN("External Boehm is no longer supported")
|
||||
;;
|
||||
|
||||
xsgen)
|
||||
AC_MSG_WARN("Use --with-sgen instead, --with-gc= controls Boehm configuration")
|
||||
;;
|
||||
|
||||
xnone)
|
||||
AC_MSG_WARN("Compiling mono without GC.")
|
||||
AC_DEFINE_UNQUOTED(DEFAULT_GC_NAME, "none", [GC description])
|
||||
AC_DEFINE(HAVE_NULL_GC,1,[No GC support.])
|
||||
gc_msg="none"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([Invalid argument to --with-gc.])
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_ARG_WITH(large-heap, [ --with-large-heap=yes,no Enable support for GC heaps larger than 3GB (defaults to no)], [large_heap=$withval], [large_heap=no])
|
||||
if test "x$large_heap" = "xyes"; then
|
||||
CPPFLAGS="$CPPFLAGS -DLARGE_CONFIG"
|
||||
fi
|
||||
|
||||
AC_SUBST(LIBGC_CPPFLAGS)
|
||||
AC_SUBST(LIBGC_LIBS)
|
||||
AC_SUBST(LIBGC_STATIC_LIBS)
|
||||
AC_SUBST(libgc_dir)
|
||||
AC_SUBST(BOEHM_DEFINES)
|
||||
|
||||
dnl
|
||||
dnl End of Boehm GC Configuration
|
||||
dnl
|
||||
@@ -2670,6 +2450,12 @@ fi
|
||||
|
||||
AC_ARG_ENABLE(bcl-opt, [ --disable-bcl-opt BCL is compiled with no optimizations (allows accurate BCL debugging)], test_bcl_opt=$enableval, test_bcl_opt=yes)
|
||||
|
||||
AC_ARG_ENABLE(perf-events, [ --enable-perf-events Enable using `perf` for profiling on Linux], test_perf_events=$enableval, test_perf_events=no)
|
||||
if test "x$test_perf_events" = "xyes"; then
|
||||
AC_DEFINE(ENABLE_PERF_EVENTS, 1, [Enable using `perf` for profiling on Linux])
|
||||
AC_SUBST(ENABLE_PERF_EVENTS)
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([if big-arrays are to be enabled])
|
||||
AC_ARG_ENABLE(big-arrays, [ --enable-big-arrays Enable the allocation and indexing of arrays greater than Int32.MaxValue], enable_big_arrays=$enableval, enable_big_arrays=no)
|
||||
if test "x$enable_big_arrays" = "xyes" ; then
|
||||
@@ -2786,17 +2572,13 @@ dnl **************
|
||||
dnl *** LLVM ***
|
||||
dnl **************
|
||||
|
||||
AC_ARG_ENABLE(llvm,[ --enable-llvm Enable the LLVM back-end], enable_llvm=$enableval, enable_llvm=default)
|
||||
AC_ARG_ENABLE(llvm,[ --enable-llvm Enable the LLVM back-end], enable_llvm=$enableval, enable_llvm=no)
|
||||
AC_ARG_ENABLE(loadedllvm,[ --enable-loadedllvm Load the LLVM back-end dynamically], enable_llvm=$enableval && enable_loadedllvm=$enableval, enable_loadedllvm=no)
|
||||
AC_ARG_ENABLE(llvm-version-check,[ --enable-llvm-version-check Check that the LLVM matches the version expected by mono], enable_llvm_version_check=$enableval, enable_llvm_version_check=no)
|
||||
AC_ARG_ENABLE(llvm-runtime,[ --enable-llvm-runtime Enable runtime support for llvmonly code], enable_llvm_runtime=$enableval, enable_llvm_runtime=no)
|
||||
|
||||
AC_ARG_WITH(llvm, [ --with-llvm=<llvm prefix> Enable the LLVM back-end], enable_llvm=yes,)
|
||||
|
||||
if test "x$enable_llvm" = "xdefault"; then
|
||||
enable_llvm=$enable_llvm_default
|
||||
fi
|
||||
|
||||
if test "x$enable_llvm" = "xyes"; then
|
||||
if test "x$with_llvm" != "x"; then
|
||||
LLVM_CONFIG=$with_llvm/bin/llvm-config
|
||||
@@ -2854,12 +2636,13 @@ if test "x$enable_llvm" = "xyes"; then
|
||||
LLVM_SYSTEM_LIBS=`$LLVM_CONFIG --system-libs 2>/dev/null | grep -- -`
|
||||
llvm_jit_supported=yes
|
||||
llvm_jit_libs="jit mcjit $llvm_codegen"
|
||||
if test "x$host" != "x$target"; then
|
||||
if test $llvm_api_version -gt 100; then
|
||||
# Based on llvm 3.9, only aot is currently supported
|
||||
llvm_jit_libs="orcjit $llvm_codegen"
|
||||
elif test "x$host" != "x$target"; then
|
||||
# No need for jit libs
|
||||
llvm_jit_supported=no
|
||||
llvm_jit_libs=""
|
||||
elif test $llvm_api_version -gt 100; then
|
||||
llvm_jit_libs="orcjit $llvm_codegen"
|
||||
fi
|
||||
LLVM_LIBS=`$LLVM_CONFIG --libs analysis core bitwriter $llvm_jit_libs`
|
||||
if test "x$LLVM_LIBS" = "x"; then
|
||||
@@ -2945,8 +2728,6 @@ sizeof_register="SIZEOF_VOID_P"
|
||||
|
||||
jit_wanted=true
|
||||
boehm_supported=true
|
||||
BTLS_SUPPORTED=no
|
||||
BTLS_PLATFORM=
|
||||
case "$host" in
|
||||
mips*)
|
||||
TARGET=MIPS;
|
||||
@@ -2999,13 +2780,9 @@ case "$host" in
|
||||
;;
|
||||
linux*)
|
||||
AOT_SUPPORTED="yes"
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=i386
|
||||
;;
|
||||
darwin*)
|
||||
AOT_SUPPORTED="yes"
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=i386
|
||||
;;
|
||||
openbsd*|freebsd*|kfreebsd-gnu*)
|
||||
;;
|
||||
@@ -3021,13 +2798,9 @@ case "$host" in
|
||||
case $host_os in
|
||||
linux*)
|
||||
AOT_SUPPORTED="yes"
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=x86_64
|
||||
;;
|
||||
darwin*)
|
||||
AOT_SUPPORTED="yes"
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=x86_64
|
||||
;;
|
||||
openbsd*|freebsd*|kfreebsd-gnu*)
|
||||
;;
|
||||
@@ -3148,7 +2921,6 @@ HOST=$TARGET
|
||||
if test "x$host" != "x$target"; then
|
||||
AC_DEFINE(MONO_CROSS_COMPILE,1,[The runtime is compiled for cross-compiling mode])
|
||||
enable_mcs_build=no
|
||||
BTLS_SUPPORTED=no
|
||||
case "$target" in
|
||||
arm*-darwin*)
|
||||
TARGET=ARM;
|
||||
@@ -3434,12 +3206,10 @@ if test "x$target_mach" = "xyes"; then
|
||||
AC_DEFINE(TARGET_WATCHOS,1,[The JIT/AOT targets WatchOS])
|
||||
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_WATCHOS"
|
||||
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_WATCHOS"
|
||||
BTLS_SUPPORTED=no
|
||||
elif test "x$TARGET" = "xARM" -o "x$TARGET" = "xARM64"; then
|
||||
AC_DEFINE(TARGET_IOS,1,[The JIT/AOT targets iOS])
|
||||
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_IOS"
|
||||
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_IOS"
|
||||
BTLS_SUPPORTED=no
|
||||
else
|
||||
AC_TRY_COMPILE([#include "TargetConditionals.h"],[
|
||||
#if TARGET_IPHONE_SIMULATOR == 1 || TARGET_OS_IPHONE == 1
|
||||
@@ -3454,7 +3224,6 @@ if test "x$target_mach" = "xyes"; then
|
||||
AC_DEFINE(TARGET_IOS,1,[The JIT/AOT targets iOS])
|
||||
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC -DTARGET_IOS"
|
||||
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC -DTARGET_IOS"
|
||||
BTLS_SUPPORTED=no
|
||||
])
|
||||
fi
|
||||
AC_DEFINE(TARGET_MACH,1,[The JIT/AOT targets Apple platforms])
|
||||
@@ -3762,45 +3531,6 @@ if test ${TARGET} = unknown; then
|
||||
AC_MSG_WARN("mono has not been ported to $host: some things may not work.")
|
||||
fi
|
||||
|
||||
if test "x$platform_android" = "xyes"; then
|
||||
case "x${TARGET}" in
|
||||
xARM)
|
||||
case "x$arm_ver" in
|
||||
xARMv5)
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=android-armv5
|
||||
;;
|
||||
xARMv6)
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=android-armv6
|
||||
;;
|
||||
xARMv7)
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=android-armv7
|
||||
;;
|
||||
*)
|
||||
BTLS_SUPPORTED=no
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
xARM64)
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=android-v8a
|
||||
;;
|
||||
xX86)
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=android-x86
|
||||
;;
|
||||
xAMD64)
|
||||
BTLS_SUPPORTED=yes
|
||||
BTLS_PLATFORM=android-x64
|
||||
;;
|
||||
*)
|
||||
BTLS_SUPPORTED=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if test ${ACCESS_UNALIGNED} = no; then
|
||||
CPPFLAGS="$CPPFLAGS -DNO_UNALIGNED_ACCESS"
|
||||
fi
|
||||
@@ -3829,6 +3559,15 @@ case "x$libgc" in
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_ARG_WITH(profile4_x, [ --with-profile4=yes,no If you want to install the 4.6 FX (defaults to yes)], [], [with_profile4_x=yes])
|
||||
AC_ARG_WITH(monodroid, [ --with-monodroid=yes,no If you want to build the MonoDroid assemblies (defaults to no)], [], [with_monodroid=no])
|
||||
AC_ARG_WITH(monotouch, [ --with-monotouch=yes,no If you want to build the Xamarin.iOS assemblies (defaults to no)], [], [with_monotouch=no])
|
||||
AC_ARG_WITH(monotouch_watch, [ --with-monotouch_watch=yes,no If you want to build the Xamarin.WatchOS assemblies (defaults to no)],[], [with_monotouch_watch=no])
|
||||
AC_ARG_WITH(monotouch_tv, [ --with-monotouch_tv=yes,no If you want to build the Xamarin.TVOS assemblies (defaults to no)], [], [with_monotouch_tv=no])
|
||||
AC_ARG_WITH(bitcode, [ --with-bitcode=yes,no If bitcode is enabled (defaults to no)], [], [with_bitcode=no])
|
||||
AC_ARG_WITH(xammac, [ --with-xammac=yes,no If you want to build the Xamarin.Mac assemblies (defaults to no)], [], [with_xammac=no])
|
||||
AC_ARG_WITH(mobile_static, [ --with-mobile_static=yes,no If you want to build the mobile_static assemblies (defaults to no)], [], [with_mobile_static=no])
|
||||
|
||||
MALLOC_MEMPOOLS=no
|
||||
AC_ARG_WITH(malloc_mempools,[ --with-malloc-mempools=yes,no Use malloc for each single mempool allocation (only for runtime debugging, defaults to no)],[
|
||||
if test x$with_malloc_mempools = xyes; then
|
||||
@@ -3838,18 +3577,15 @@ AC_ARG_WITH(malloc_mempools,[ --with-malloc-mempools=yes,no Use malloc for eac
|
||||
])
|
||||
|
||||
|
||||
DISABLE_MCS_DOCS=default
|
||||
DISABLE_MCS_DOCS=no
|
||||
AC_ARG_WITH(mcs_docs,[ --with-mcs-docs=yes,no If you want to build the documentation under mcs (defaults to yes)],[
|
||||
if test x$with_mcs_docs != xyes; then
|
||||
DISABLE_MCS_DOCS=yes
|
||||
fi
|
||||
])
|
||||
if test -n "$INSTALL_4_x_TRUE"; then :
|
||||
if test x$with_profile4_x != xyes; then
|
||||
DISABLE_MCS_DOCS=yes
|
||||
fi
|
||||
if test "x$DISABLE_MCS_DOCS" = "xdefault"; then
|
||||
DISABLE_MCS_DOCS=$DISABLE_MCS_DOCS_default
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(lazy_gc_thread_creation, [ --with-lazy-gc-thread-creation=yes|no Enable lazy runtime thread creation, embedding host must do it explicitly (defaults to no)],[
|
||||
if test x$with_lazy_gc_thread_creation != xno ; then
|
||||
@@ -3857,15 +3593,11 @@ AC_ARG_WITH(lazy_gc_thread_creation, [ --with-lazy-gc-thread-creation=yes|no
|
||||
fi
|
||||
], [with_lazy_gc_thread_creation=no])
|
||||
|
||||
AC_ARG_WITH(cooperative_gc, [ --with-cooperative-gc=yes|no Enable cooperative stop-the-world garbage collection (sgen only) (defaults to no)], [], [with_cooperative_gc=default])
|
||||
|
||||
if test x$with_cooperative_gc = xdefault; then
|
||||
with_cooperative_gc=$with_cooperative_gc_default
|
||||
fi
|
||||
|
||||
if test x$with_cooperative_gc != xno; then
|
||||
AC_DEFINE(USE_COOP_GC,1,[Enable cooperative stop-the-world garbage collection.])
|
||||
fi
|
||||
AC_ARG_WITH(cooperative_gc, [ --with-cooperative-gc=yes|no Enable cooperative stop-the-world garbage collection (sgen only) (defaults to no)],[
|
||||
if test x$with_cooperative_gc != xno ; then
|
||||
AC_DEFINE(USE_COOP_GC,1,[Enable cooperative stop-the-world garbage collection.])
|
||||
fi
|
||||
], [with_cooperative_gc=no])
|
||||
|
||||
AM_CONDITIONAL([ENABLE_COOP], [test x$with_cooperative_gc != xno])
|
||||
|
||||
@@ -3923,88 +3655,20 @@ else
|
||||
fi
|
||||
AC_SUBST(LIBMONO_LA)
|
||||
|
||||
dnl **************
|
||||
dnl *** Btls ***
|
||||
dnl **************
|
||||
|
||||
AC_ARG_ENABLE(btls, [ --disable-btls Disable the BoringTls provider], enable_btls=$enableval, enable_btls=$BTLS_SUPPORTED)
|
||||
AC_ARG_WITH(btls_android_ndk, [ --with-btls-android-ndk Android NDK for BoringTls])
|
||||
|
||||
AM_CONDITIONAL(BTLS, test x$enable_btls = xyes)
|
||||
|
||||
btls_android=no
|
||||
if test "x$enable_btls" = "xyes"; then
|
||||
AC_PATH_PROG(CMAKE, [cmake], [no], [$PATH:/Applications/CMake.app/Contents/bin:/usr/local/bin])
|
||||
if test "x$CMAKE" = "xno"; then
|
||||
AC_MSG_ERROR("cmake not found")
|
||||
fi
|
||||
|
||||
BTLS_ROOT=`cd $srcdir && pwd`/external/boringssl
|
||||
AC_SUBST(BTLS_ROOT)
|
||||
|
||||
btls_arch=
|
||||
btls_cflags=
|
||||
BTLS_CMAKE_ARGS=
|
||||
|
||||
case "$BTLS_PLATFORM" in
|
||||
i386)
|
||||
btls_arch=i386
|
||||
btls_cflags="-m32"
|
||||
case $host_os in
|
||||
darwin*)
|
||||
btls_cflags="$btls_cflags -arch i386"
|
||||
esac
|
||||
;;
|
||||
x86_64)
|
||||
btls_arch=x86_64
|
||||
;;
|
||||
android-armv5)
|
||||
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"armeabi\" -DANDROID_NATIVE_API_LEVEL=12"
|
||||
;;
|
||||
android-armv6)
|
||||
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"armeabi\" -DANDROID_NATIVE_API_LEVEL=12"
|
||||
;;
|
||||
android-armv7)
|
||||
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"armeabi-v7a\" -DANDROID_NATIVE_API_LEVEL=12"
|
||||
;;
|
||||
android-v8a)
|
||||
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"arm64-v8a\" -DANDROID_NATIVE_API_LEVEL=12"
|
||||
;;
|
||||
android-x86)
|
||||
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"x86\" -DANDROID_NATIVE_API_LEVEL=12"
|
||||
;;
|
||||
android-x64)
|
||||
BTLS_CMAKE_ARGS="-DANDROID_ABI=\"x86_64\" -DANDROID_NATIVE_API_LEVEL=12"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR(Invalid BTLS platform)
|
||||
esac
|
||||
|
||||
if test "x$platform_android" = "xyes"; then
|
||||
btls_android=yes
|
||||
BTLS_CMAKE_ARGS="$BTLS_CMAKE_ARGS -DCMAKE_TOOLCHAIN_FILE=$BTLS_ROOT/util/android-cmake/android.toolchain.cmake"
|
||||
if test "x$with_btls_android_ndk" != "x"; then
|
||||
BTLS_CMAKE_ARGS="$BTLS_CMAKE_ARGS -DANDROID_NDK=\"$with_btls_android_ndk\""
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$btls_arch" != "x"; then
|
||||
BTLS_CMAKE_ARGS="$BTLS_CMAKE_ARGS -DBTLS_ARCH=\"$btls_arch\""
|
||||
fi
|
||||
|
||||
BTLS_CFLAGS="$CPPFLAGS_FOR_BTLS $btls_cflags"
|
||||
AC_SUBST(BTLS_ARCH)
|
||||
AC_SUBST(BTLS_CFLAGS)
|
||||
AC_SUBST(BTLS_PLATFORM)
|
||||
AC_SUBST(BTLS_CMAKE_ARGS)
|
||||
|
||||
AC_DEFINE(HAVE_BTLS, 1, [BoringTls is supported])
|
||||
else
|
||||
enable_btls=no
|
||||
dnl
|
||||
dnl Consistency settings
|
||||
dnl
|
||||
if test x$cross_compiling = xyes -o x$enable_mcs_build = xno; then
|
||||
DISABLE_MCS_DOCS=yes
|
||||
with_profile4_x=no
|
||||
with_monodroid=no
|
||||
with_monotouch=no
|
||||
with_monotouch_watch=no
|
||||
with_monotouch_tv=no
|
||||
with_xammac=no
|
||||
with_mobile_static=no
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(BTLS_ANDROID, test x$btls_android = xyes)
|
||||
|
||||
if test x$DISABLE_MCS_DOCS = xyes; then
|
||||
docs_dir=""
|
||||
else
|
||||
@@ -4017,6 +3681,15 @@ AM_CONDITIONAL(BUILD_MCS, [test x$cross_compiling = xno && test x$enable_mcs_bui
|
||||
|
||||
libmono_ldflags="$libmono_ldflags $LIBS"
|
||||
|
||||
AM_CONDITIONAL(INSTALL_4_x, [test "x$with_profile4_x" = xyes])
|
||||
AM_CONDITIONAL(INSTALL_MONODROID, [test "x$with_monodroid" != "xno"])
|
||||
AM_CONDITIONAL(INSTALL_MONOTOUCH, [test "x$with_monotouch" != "xno"])
|
||||
AM_CONDITIONAL(INSTALL_MONOTOUCH_WATCH, [test "x$with_monotouch_watch" != "xno"])
|
||||
AM_CONDITIONAL(INSTALL_MONOTOUCH_TV, [test "x$with_monotouch_tv" != "xno"])
|
||||
AM_CONDITIONAL(BITCODE, test "x$with_bitcode" = "xyes")
|
||||
AM_CONDITIONAL(INSTALL_XAMMAC, [test "x$with_xammac" != "xno"])
|
||||
AM_CONDITIONAL(INSTALL_MOBILE_STATIC, [test "x$with_mobile_static" != "xno"])
|
||||
|
||||
AM_CONDITIONAL(MIPS_GCC, test ${TARGET}${ac_cv_prog_gcc} = MIPSyes)
|
||||
AM_CONDITIONAL(MIPS_SGI, test ${TARGET}${ac_cv_prog_gcc} = MIPSno)
|
||||
AM_CONDITIONAL(SPARC, test x$TARGET = xSPARC)
|
||||
@@ -4071,6 +3744,22 @@ else
|
||||
fi
|
||||
AC_SUBST(mono_cfg_dir)
|
||||
|
||||
default_profile=net_4_x
|
||||
if test -z "$INSTALL_MONODROID_TRUE"; then :
|
||||
default_profile=monodroid
|
||||
fi
|
||||
if test -z "$INSTALL_MONOTOUCH_TRUE"; then :
|
||||
default_profile=monotouch
|
||||
fi
|
||||
if test -z "$INSTALL_XAMMAC_TRUE"; then :
|
||||
default_profile=xammac
|
||||
fi
|
||||
if test -z "$INSTALL_4_x_TRUE"; then :
|
||||
default_profile=net_4_x
|
||||
fi
|
||||
DEFAULT_PROFILE=$default_profile
|
||||
AC_SUBST(DEFAULT_PROFILE)
|
||||
|
||||
AC_CONFIG_FILES([po/mcs/Makefile.in])
|
||||
|
||||
AC_CONFIG_FILES([runtime/mono-wrapper],[chmod +x runtime/mono-wrapper])
|
||||
@@ -4237,11 +3926,9 @@ AC_OUTPUT([
|
||||
Makefile
|
||||
mono-uninstalled.pc
|
||||
acceptance-tests/Makefile
|
||||
llvm/Makefile
|
||||
scripts/mono-find-provides
|
||||
scripts/mono-find-requires
|
||||
mono/Makefile
|
||||
mono/btls/Makefile
|
||||
mono/utils/Makefile
|
||||
mono/metadata/Makefile
|
||||
mono/dis/Makefile
|
||||
@@ -4305,7 +3992,6 @@ tools/Makefile
|
||||
tools/locale-builder/Makefile
|
||||
tools/sgen/Makefile
|
||||
tools/monograph/Makefile
|
||||
tools/pedump/Makefile
|
||||
runtime/Makefile
|
||||
msvc/Makefile
|
||||
po/Makefile
|
||||
@@ -4376,10 +4062,6 @@ fi
|
||||
echo "PLATFORM = darwin" >> $mcs_topdir/build/config.make
|
||||
fi
|
||||
|
||||
if test "x$PLATFORM_AOT_SUFFIX" != "x"; then
|
||||
echo "PLATFORM_AOT_SUFFIX = $PLATFORM_AOT_SUFFIX" >> $mcs_topdir/build/config.make
|
||||
fi
|
||||
|
||||
if test x$AOT_SUPPORTED = xyes -a x$enable_system_aot = xdefault; then
|
||||
enable_system_aot=yes
|
||||
fi
|
||||
@@ -4402,26 +4084,12 @@ fi
|
||||
echo "BCL_OPTIMIZE = 1" >> $srcdir/$mcsdir/build/config.make
|
||||
fi
|
||||
|
||||
if test "x$AOT_BUILD_FLAGS" != "x" ; then
|
||||
echo "AOT_RUN_FLAGS=$AOT_RUN_FLAGS" >> $srcdir/$mcsdir/build/config.make
|
||||
echo "AOT_BUILD_FLAGS=$AOT_BUILD_FLAGS" >> $srcdir/$mcsdir/build/config.make
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
)
|
||||
|
||||
libgdiplus_msg=${libgdiplus_loc:-assumed to be installed}
|
||||
|
||||
btls_platform_string=
|
||||
if test x$enable_btls = xyes; then
|
||||
if test x$btls_android = xyes; then
|
||||
btls_platform_string=" (android:$BTLS_PLATFORM)"
|
||||
else
|
||||
btls_platform_string=" ($BTLS_PLATFORM)"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "
|
||||
mcs source: $mcsdir
|
||||
|
||||
@@ -4437,7 +4105,7 @@ echo "
|
||||
LLVM Back End: $enable_llvm (dynamically loaded: $enable_loadedllvm)
|
||||
|
||||
Libraries:
|
||||
.NET 4.x: $with_profile4_x
|
||||
.NET 4.6: $with_profile4_x
|
||||
Xamarin.Android: $with_monodroid
|
||||
Xamarin.iOS: $with_monotouch
|
||||
Xamarin.WatchOS: $with_monotouch_watch
|
||||
@@ -4447,7 +4115,6 @@ echo "
|
||||
JNI support: $jdk_headers_found
|
||||
libgdiplus: $libgdiplus_msg
|
||||
zlib: $zlib_msg
|
||||
BTLS: $enable_btls$btls_platform_string
|
||||
$disabled
|
||||
"
|
||||
if test x$with_static_mono = xno -a "x$host_win32" != "xyes"; then
|
||||
|
||||
@@ -40,8 +40,9 @@
|
||||
<p>The output of the SCC analysis is passed to the
|
||||
`cross_references()` callback. It is expected to set the
|
||||
`is_alive` flag on those strongly connected components that it
|
||||
wishes to be kept alive. The value of `is_alive` will be
|
||||
ignored on any SCCs which lack bridges.
|
||||
wishes to be kept alive. Only bridged objects will be
|
||||
reported to the callback, i.e., non-bridged objects are
|
||||
removed from the callback graph.
|
||||
|
||||
<p>In monodroid each bridged object has a corresponding Java
|
||||
mirror object. In the bridge callback it reifies the Mono
|
||||
@@ -62,7 +63,7 @@
|
||||
|
||||
<div class="mapi-header">
|
||||
enum {
|
||||
SGEN_BRIDGE_VERSION = 5
|
||||
SGEN_BRIDGE_VERSION = 4
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
|
||||
+1
-14
@@ -130,10 +130,6 @@ AM_CONDITIONAL(TARGET_WIN32, test x$OS = xWIN32)
|
||||
AM_CONDITIONAL(PLATFORM_DARWIN, test x$platform_darwin = xyes)
|
||||
AM_CONDITIONAL(PLATFORM_ANDROID, test x$platform_android = xyes)
|
||||
|
||||
# Defined for all targets/platforms using classic Windows API support.
|
||||
AC_DEFINE(HAVE_CLASSIC_WINAPI_SUPPORT, 1, [Use classic Windows API support])
|
||||
AC_DEFINE(HAVE_UWP_WINAPI_SUPPORT, 0, [Don't use UWP Windows API support])
|
||||
|
||||
AC_CHECK_SIZEOF(int)
|
||||
AC_CHECK_SIZEOF(void *)
|
||||
AC_CHECK_SIZEOF(long)
|
||||
@@ -142,15 +138,6 @@ AC_CHECK_FUNCS(strlcpy stpcpy strtok_r rewinddir vasprintf)
|
||||
AC_CHECK_FUNCS(getrlimit)
|
||||
AC_CHECK_FUNCS(fork execv execve)
|
||||
|
||||
AC_ARG_WITH([overridable-allocators], [ --with-overridable-allocators allow g_*alloc/g_free to call custom allocators set via g_mem_set_vtable])
|
||||
|
||||
if test x$with_overridable_allocators = xyes; then
|
||||
AC_DEFINE(ENABLE_OVERRIDABLE_ALLOCATORS,1,[Overridable allocator support enabled])
|
||||
AC_MSG_NOTICE([Overridable allocator support enabled])
|
||||
else
|
||||
AC_MSG_NOTICE([Overridable allocator support disabled])
|
||||
fi
|
||||
|
||||
#
|
||||
# Mono currently supports 10.6, but strndup is not available prior to 10.7; avoiding
|
||||
# the detection of strndup on OS X so Mono built on 10.7+ still runs on 10.6. This can be
|
||||
@@ -164,7 +151,7 @@ elif test x$target_ios = xno; then
|
||||
AC_CHECK_FUNCS(strndup getpwuid_r)
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(NEED_VASPRINTF, test x$ac_cv_func_vasprintf = xno || test x$with_overridable_allocators = xyes)
|
||||
AM_CONDITIONAL(NEED_VASPRINTF, test x$ac_cv_func_vasprintf = xno )
|
||||
AM_ICONV()
|
||||
AC_SEARCH_LIBS(sqrtf, m)
|
||||
|
||||
|
||||
+11
-1
@@ -11,6 +11,14 @@ unix_files = \
|
||||
gdate-unix.c gdir-unix.c gfile-unix.c gmisc-unix.c \
|
||||
gmodule-unix.c gtimer-unix.c
|
||||
|
||||
# some unices and windows do not have an implementation of vasprintf
|
||||
# used by eglib, use provided implementation instead
|
||||
if NEED_VASPRINTF
|
||||
vasprintf_files = vasprintf.c
|
||||
else
|
||||
vaprinttf_files = foo.c
|
||||
endif
|
||||
|
||||
if HOST_WIN32
|
||||
os_files = $(win_files)
|
||||
else
|
||||
@@ -24,6 +32,7 @@ libeglib_la_SOURCES = \
|
||||
garray.c \
|
||||
gbytearray.c \
|
||||
gerror.c \
|
||||
vasprintf.h \
|
||||
ghashtable.c \
|
||||
giconv.c \
|
||||
gmem.c \
|
||||
@@ -46,7 +55,8 @@ libeglib_la_SOURCES = \
|
||||
gutf8.c \
|
||||
gunicode.c \
|
||||
unicode-data.h \
|
||||
$(os_files)
|
||||
$(os_files) \
|
||||
$(vasprintf_files)
|
||||
|
||||
libeglib_la_CFLAGS = -g -Wall -D_FORTIFY_SOURCE=2
|
||||
|
||||
|
||||
+6
-4
@@ -28,8 +28,10 @@
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include <config.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include "vasprintf.h"
|
||||
|
||||
GError *
|
||||
g_error_new (gpointer domain, gint code, const char *format, ...)
|
||||
{
|
||||
@@ -40,7 +42,7 @@ g_error_new (gpointer domain, gint code, const char *format, ...)
|
||||
err->code = code;
|
||||
|
||||
va_start (args, format);
|
||||
if (g_vasprintf (&err->message, format, args) == -1)
|
||||
if (vasprintf (&err->message, format, args) == -1)
|
||||
err->message = g_strdup_printf ("internal: invalid format string %s", format);
|
||||
va_end (args);
|
||||
|
||||
@@ -55,7 +57,7 @@ g_error_vnew (gpointer domain, gint code, const char *format, va_list ap)
|
||||
err->domain = domain;
|
||||
err->code = code;
|
||||
|
||||
if (g_vasprintf (&err->message, format, ap) == -1)
|
||||
if (vasprintf (&err->message, format, ap) == -1)
|
||||
err->message = g_strdup_printf ("internal: invalid format string %s", format);
|
||||
|
||||
return err;
|
||||
@@ -75,7 +77,7 @@ g_error_free (GError *error)
|
||||
{
|
||||
g_return_if_fail (error != NULL);
|
||||
|
||||
g_free (error->message);
|
||||
free (error->message);
|
||||
g_free (error);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
#include <direct.h>
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
#include <io.h>
|
||||
@@ -69,26 +68,6 @@ int mkstemp (char *tmp_template)
|
||||
return fd;
|
||||
}
|
||||
|
||||
gchar *
|
||||
g_mkdtemp (char *tmp_template)
|
||||
{
|
||||
gunichar2* utf16_template;
|
||||
|
||||
utf16_template = u8to16 (tmp_template);
|
||||
|
||||
utf16_template = _wmktemp(utf16_template);
|
||||
if (utf16_template && *utf16_template) {
|
||||
if (_wmkdir (utf16_template) == 0){
|
||||
char *ret = u16to8 (utf16_template);
|
||||
g_free (utf16_template);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
g_free (utf16_template);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4701)
|
||||
#endif
|
||||
|
||||
+1
-4
@@ -199,11 +199,8 @@ g_iconv (GIConv cd, gchar **inbytes, gsize *inbytesleft,
|
||||
} else {
|
||||
outleftptr = NULL;
|
||||
}
|
||||
#if defined(__NetBSD__)
|
||||
return iconv (cd->cd, (const gchar **)inbytes, inleftptr, outbytes, outleftptr);
|
||||
#else
|
||||
|
||||
return iconv (cd->cd, inbytes, inleftptr, outbytes, outleftptr);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
+6
-15
@@ -1,5 +1,6 @@
|
||||
#ifndef __GLIB_H
|
||||
#define __GLIB_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -8,7 +9,6 @@
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma include_alias(<eglib-config.h>, <eglib-config.hw>)
|
||||
#endif
|
||||
@@ -126,7 +126,6 @@ void g_free (void *ptr);
|
||||
gpointer g_realloc (gpointer obj, gsize size);
|
||||
gpointer g_malloc (gsize x);
|
||||
gpointer g_malloc0 (gsize x);
|
||||
gpointer g_calloc (gsize n, gsize x);
|
||||
gpointer g_try_malloc (gsize x);
|
||||
gpointer g_try_realloc (gpointer obj, gsize size);
|
||||
|
||||
@@ -139,7 +138,7 @@ gpointer g_try_realloc (gpointer obj, gsize size);
|
||||
#define g_alloca(size) alloca (size)
|
||||
|
||||
gpointer g_memdup (gconstpointer mem, guint byte_size);
|
||||
static inline gchar *g_strdup (const gchar *str) { if (str) { return (gchar*) g_memdup (str, (guint)strlen (str) + 1); } return NULL; }
|
||||
static inline gchar *g_strdup (const gchar *str) { if (str) {return strdup (str);} return NULL; }
|
||||
gchar **g_strdupv (gchar **str_array);
|
||||
|
||||
typedef struct {
|
||||
@@ -147,9 +146,11 @@ typedef struct {
|
||||
gpointer (*realloc) (gpointer mem, gsize n_bytes);
|
||||
void (*free) (gpointer mem);
|
||||
gpointer (*calloc) (gsize n_blocks, gsize n_block_bytes);
|
||||
gpointer (*try_malloc) (gsize n_bytes);
|
||||
gpointer (*try_realloc) (gpointer mem, gsize n_bytes);
|
||||
} GMemVTable;
|
||||
|
||||
void g_mem_set_vtable (GMemVTable* vtable);
|
||||
#define g_mem_set_vtable(x)
|
||||
|
||||
struct _GMemChunk {
|
||||
guint alloc_size;
|
||||
@@ -222,11 +223,11 @@ gint g_printf (gchar const *format, ...);
|
||||
gint g_fprintf (FILE *file, gchar const *format, ...);
|
||||
gint g_sprintf (gchar *string, gchar const *format, ...);
|
||||
gint g_snprintf (gchar *string, gulong n, gchar const *format, ...);
|
||||
gint g_vasprintf (gchar **ret, const gchar *fmt, va_list ap);
|
||||
#define g_vprintf vprintf
|
||||
#define g_vfprintf vfprintf
|
||||
#define g_vsprintf vsprintf
|
||||
#define g_vsnprintf vsnprintf
|
||||
#define g_vasprintf vasprintf
|
||||
|
||||
gsize g_strlcpy (gchar *dest, const gchar *src, gsize dest_size);
|
||||
gchar *g_stpcpy (gchar *dest, const char *src);
|
||||
@@ -887,12 +888,6 @@ gboolean g_file_test (const gchar *filename, GFileTest test);
|
||||
#define g_ascii_strtod strtod
|
||||
#define g_ascii_isalnum isalnum
|
||||
|
||||
#ifdef WIN32
|
||||
gchar *g_mkdtemp (gchar *tmpl);
|
||||
#else
|
||||
#define g_mkdtemp mkdtemp
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Pattern matching
|
||||
*/
|
||||
@@ -1068,10 +1063,6 @@ glong g_utf8_pointer_to_offset (const gchar *str, const gchar *pos);
|
||||
#define _EGLIB_MINOR 0
|
||||
|
||||
#define GLIB_CHECK_VERSION(a,b,c) ((a < _EGLIB_MAJOR) || (a == _EGLIB_MAJOR && (b < _EGLIB_MIDDLE || (b == _EGLIB_MIDDLE && c <= _EGLIB_MINOR))))
|
||||
|
||||
#define G_HAVE_API_SUPPORT(x) (x)
|
||||
#define G_UNSUPPORTED_API "%s:%d: '%s' not supported.", __FILE__, __LINE__
|
||||
#define g_unsupported_api(name) G_STMT_START { g_warning (G_UNSUPPORTED_API, name); } G_STMT_END
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
+1
-1
@@ -367,7 +367,7 @@ g_markup_parse_context_parse (GMarkupParseContext *context,
|
||||
if (context->parser.end_element != NULL && context->state == START_ELEMENT){
|
||||
context->parser.end_element (context, ename, context->user_data, error);
|
||||
if (error != NULL && *error != NULL){
|
||||
g_free (ename);
|
||||
free (ename);
|
||||
goto fail;
|
||||
}
|
||||
}
|
||||
|
||||
+13
-47
@@ -25,45 +25,15 @@
|
||||
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
|
||||
#if defined (ENABLE_OVERRIDABLE_ALLOCATORS)
|
||||
|
||||
static GMemVTable sGMemVTable = { malloc, realloc, free, calloc };
|
||||
|
||||
void
|
||||
g_mem_set_vtable (GMemVTable* vtable)
|
||||
{
|
||||
sGMemVTable.calloc = vtable->calloc ? vtable->calloc : calloc;
|
||||
sGMemVTable.realloc = vtable->realloc ? vtable->realloc : realloc;
|
||||
sGMemVTable.malloc = vtable->malloc ? vtable->malloc : malloc;
|
||||
sGMemVTable.free = vtable->free ? vtable->free : free;
|
||||
}
|
||||
|
||||
#define G_FREE_INTERNAL sGMemVTable.free
|
||||
#define G_REALLOC_INTERNAL sGMemVTable.realloc
|
||||
#define G_CALLOC_INTERNAL sGMemVTable.calloc
|
||||
#define G_MALLOC_INTERNAL sGMemVTable.malloc
|
||||
#else
|
||||
|
||||
void
|
||||
g_mem_set_vtable (GMemVTable* vtable)
|
||||
{
|
||||
}
|
||||
|
||||
#define G_FREE_INTERNAL free
|
||||
#define G_REALLOC_INTERNAL realloc
|
||||
#define G_CALLOC_INTERNAL calloc
|
||||
#define G_MALLOC_INTERNAL malloc
|
||||
#endif
|
||||
void
|
||||
g_free (void *ptr)
|
||||
{
|
||||
if (ptr != NULL)
|
||||
G_FREE_INTERNAL (ptr);
|
||||
free (ptr);
|
||||
}
|
||||
|
||||
gpointer
|
||||
@@ -88,7 +58,7 @@ gpointer g_realloc (gpointer obj, gsize size)
|
||||
g_free (obj);
|
||||
return 0;
|
||||
}
|
||||
ptr = G_REALLOC_INTERNAL (obj, size);
|
||||
ptr = realloc (obj, size);
|
||||
if (ptr)
|
||||
return ptr;
|
||||
g_error ("Could not allocate %i bytes", size);
|
||||
@@ -100,31 +70,27 @@ g_malloc (gsize x)
|
||||
gpointer ptr;
|
||||
if (!x)
|
||||
return 0;
|
||||
ptr = G_MALLOC_INTERNAL (x);
|
||||
ptr = malloc (x);
|
||||
if (ptr)
|
||||
return ptr;
|
||||
g_error ("Could not allocate %i bytes", x);
|
||||
}
|
||||
|
||||
gpointer g_calloc (gsize n, gsize x)
|
||||
{
|
||||
gpointer ptr;
|
||||
if (!x || !n)
|
||||
return 0;
|
||||
ptr = G_CALLOC_INTERNAL (n, x);
|
||||
if (ptr)
|
||||
return ptr;
|
||||
g_error ("Could not allocate %i (%i * %i) bytes", x*n, n, x);
|
||||
}
|
||||
gpointer g_malloc0 (gsize x)
|
||||
{
|
||||
return g_calloc (1,x);
|
||||
gpointer ptr;
|
||||
if (!x)
|
||||
return 0;
|
||||
ptr = calloc(1,x);
|
||||
if (ptr)
|
||||
return ptr;
|
||||
g_error ("Could not allocate %i bytes", x);
|
||||
}
|
||||
|
||||
gpointer g_try_malloc (gsize x)
|
||||
{
|
||||
if (x)
|
||||
return G_MALLOC_INTERNAL (x);
|
||||
return malloc (x);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -132,8 +98,8 @@ gpointer g_try_malloc (gsize x)
|
||||
gpointer g_try_realloc (gpointer obj, gsize size)
|
||||
{
|
||||
if (!size) {
|
||||
G_FREE_INTERNAL (obj);
|
||||
g_free (obj);
|
||||
return 0;
|
||||
}
|
||||
return G_REALLOC_INTERNAL (obj, size);
|
||||
return realloc (obj, size);
|
||||
}
|
||||
+12
-57
@@ -26,18 +26,12 @@
|
||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include <windows.h>
|
||||
#if _MSC_VER && G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT)
|
||||
#include <shlobj.h>
|
||||
#endif
|
||||
#include <direct.h>
|
||||
#include <io.h>
|
||||
#include <assert.h>
|
||||
|
||||
const gchar *
|
||||
g_getenv(const gchar *variable)
|
||||
@@ -90,40 +84,17 @@ g_unsetenv(const gchar *variable)
|
||||
g_free(var);
|
||||
}
|
||||
|
||||
#if G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT)
|
||||
gchar*
|
||||
g_win32_getlocale(void)
|
||||
{
|
||||
LCID lcid = GetThreadLocale();
|
||||
gchar buf[19];
|
||||
gint ccBuf = GetLocaleInfoA(lcid, LOCALE_SISO639LANGNAME, buf, 9);
|
||||
gint ccBuf = GetLocaleInfo(lcid, LOCALE_SISO639LANGNAME, buf, 9);
|
||||
buf[ccBuf - 1] = '-';
|
||||
ccBuf += GetLocaleInfoA(lcid, LOCALE_SISO3166CTRYNAME, buf + ccBuf, 9);
|
||||
return g_strdup (buf);
|
||||
ccBuf += GetLocaleInfo(lcid, LOCALE_SISO3166CTRYNAME, buf + ccBuf, 9);
|
||||
return strdup(buf);
|
||||
}
|
||||
|
||||
#else /* G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT) */
|
||||
|
||||
gchar*
|
||||
g_win32_getlocale(void)
|
||||
{
|
||||
gunichar2 buf[19];
|
||||
gint ccBuf = GetLocaleInfoEx (LOCALE_NAME_USER_DEFAULT, LOCALE_SISO639LANGNAME, buf, 9);
|
||||
assert (ccBuf <= 9);
|
||||
if (ccBuf != 0) {
|
||||
buf[ccBuf - 1] = L'-';
|
||||
ccBuf = GetLocaleInfoEx (LOCALE_NAME_USER_DEFAULT, LOCALE_SISO3166CTRYNAME, buf + ccBuf, 9);
|
||||
assert (ccBuf <= 9);
|
||||
}
|
||||
|
||||
// Check for GetLocaleInfoEx failure.
|
||||
if (ccBuf == 0)
|
||||
buf[0] = L'\0';
|
||||
|
||||
return u16to8 (buf);
|
||||
}
|
||||
#endif /* G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT) */
|
||||
|
||||
gboolean
|
||||
g_path_is_absolute (const char *filename)
|
||||
{
|
||||
@@ -145,33 +116,16 @@ g_path_is_absolute (const char *filename)
|
||||
const gchar *
|
||||
g_get_home_dir (void)
|
||||
{
|
||||
/* FIXME */
|
||||
const gchar *drive = g_getenv ("HOMEDRIVE");
|
||||
const gchar *path = g_getenv ("HOMEPATH");
|
||||
gchar *home_dir = NULL;
|
||||
|
||||
#if _MSC_VER && G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT)
|
||||
PWSTR profile_path = NULL;
|
||||
HRESULT hr = SHGetKnownFolderPath (&FOLDERID_Profile, KF_FLAG_DEFAULT, NULL, &profile_path);
|
||||
if (SUCCEEDED(hr)) {
|
||||
home_dir = u16to8 (profile_path);
|
||||
CoTaskMemFree (profile_path);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!home_dir) {
|
||||
home_dir = (gchar *) g_getenv ("USERPROFILE");
|
||||
}
|
||||
|
||||
if (!home_dir) {
|
||||
const gchar *drive = g_getenv ("HOMEDRIVE");
|
||||
const gchar *path = g_getenv ("HOMEPATH");
|
||||
|
||||
if (drive && path) {
|
||||
home_dir = g_malloc (strlen (drive) + strlen (path) + 1);
|
||||
if (home_dir) {
|
||||
sprintf (home_dir, "%s%s", drive, path);
|
||||
}
|
||||
|
||||
if (drive && path) {
|
||||
home_dir = g_malloc(strlen(drive) + strlen(path) +1);
|
||||
if (home_dir) {
|
||||
sprintf(home_dir, "%s%s", drive, path);
|
||||
}
|
||||
g_free (drive);
|
||||
g_free (path);
|
||||
}
|
||||
|
||||
return home_dir;
|
||||
@@ -206,3 +160,4 @@ g_get_tmp_dir (void)
|
||||
}
|
||||
return tmp_dir;
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
#include <config.h>
|
||||
#include <glib.h>
|
||||
#include <gmodule.h>
|
||||
#include <windows.h>
|
||||
@@ -69,7 +68,6 @@ g_module_open (const gchar *file, GModuleFlags flags)
|
||||
return module;
|
||||
}
|
||||
|
||||
#if G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT)
|
||||
static gpointer
|
||||
w32_find_symbol (const gchar *symbol_name)
|
||||
{
|
||||
@@ -117,17 +115,6 @@ w32_find_symbol (const gchar *symbol_name)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#else /* G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT) */
|
||||
|
||||
static gpointer
|
||||
w32_find_symbol (const gchar *symbol_name)
|
||||
{
|
||||
g_unsupported_api ("EnumProcessModules");
|
||||
SetLastError (ERROR_NOT_SUPPORTED);
|
||||
return NULL;
|
||||
}
|
||||
#endif /* G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT) */
|
||||
|
||||
gboolean
|
||||
g_module_symbol (GModule *module, const gchar *symbol_name, gpointer *symbol)
|
||||
{
|
||||
@@ -147,7 +134,6 @@ g_module_symbol (GModule *module, const gchar *symbol_name, gpointer *symbol)
|
||||
}
|
||||
}
|
||||
|
||||
#if G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT)
|
||||
const gchar *
|
||||
g_module_error (void)
|
||||
{
|
||||
@@ -165,35 +151,6 @@ g_module_error (void)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#elif G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT) /* G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT) */
|
||||
|
||||
const gchar *
|
||||
g_module_error (void)
|
||||
{
|
||||
gchar* ret = NULL;
|
||||
TCHAR buf[1024];
|
||||
DWORD code = GetLastError ();
|
||||
|
||||
if (!FormatMessage (FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, NULL,
|
||||
code, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), buf, G_N_ELEMENTS(buf) - 1, NULL) )
|
||||
buf[0] = TEXT('\0');
|
||||
|
||||
ret = u16to8 (buf);
|
||||
return ret;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
const gchar *
|
||||
g_module_error (void)
|
||||
{
|
||||
g_unsupported_api ("FormatMessage");
|
||||
SetLastError (ERROR_NOT_SUPPORTED);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif /* G_HAVE_API_SUPPORT(HAVE_CLASSIC_WINAPI_SUPPORT) */
|
||||
|
||||
gboolean
|
||||
g_module_close (GModule *module)
|
||||
{
|
||||
|
||||
+8
-6
@@ -31,6 +31,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include "vasprintf.h"
|
||||
|
||||
/* The current fatal levels, error is always fatal */
|
||||
static GLogLevelFlags fatal = G_LOG_LEVEL_ERROR;
|
||||
static GLogFunc default_log_func;
|
||||
@@ -47,7 +49,7 @@ g_print (const gchar *format, ...)
|
||||
va_list args;
|
||||
|
||||
va_start (args, format);
|
||||
if (g_vasprintf (&msg, format, args) < 0)
|
||||
if (vasprintf (&msg, format, args) < 0)
|
||||
return;
|
||||
va_end (args);
|
||||
|
||||
@@ -55,7 +57,7 @@ g_print (const gchar *format, ...)
|
||||
stdout_handler = default_stdout_handler;
|
||||
|
||||
stdout_handler (msg);
|
||||
g_free (msg);
|
||||
free (msg);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -65,7 +67,7 @@ g_printerr (const gchar *format, ...)
|
||||
va_list args;
|
||||
|
||||
va_start (args, format);
|
||||
if (g_vasprintf (&msg, format, args) < 0)
|
||||
if (vasprintf (&msg, format, args) < 0)
|
||||
return;
|
||||
va_end (args);
|
||||
|
||||
@@ -73,7 +75,7 @@ g_printerr (const gchar *format, ...)
|
||||
stderr_handler = default_stderr_handler;
|
||||
|
||||
stderr_handler (msg);
|
||||
g_free (msg);
|
||||
free (msg);
|
||||
}
|
||||
|
||||
GLogLevelFlags
|
||||
@@ -105,11 +107,11 @@ g_logv (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format,
|
||||
if (!default_log_func)
|
||||
default_log_func = g_log_default_handler;
|
||||
|
||||
if (g_vasprintf (&msg, format, args) < 0)
|
||||
if (vasprintf (&msg, format, args) < 0)
|
||||
return;
|
||||
|
||||
default_log_func (log_domain, log_level, msg, default_log_func_user_data);
|
||||
g_free (msg);
|
||||
free (msg);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
+4
-39
@@ -32,17 +32,13 @@
|
||||
#include <ctype.h>
|
||||
#include <glib.h>
|
||||
|
||||
/*
|
||||
* g_strndup and g_vasprintf need to allocate memory with g_malloc if
|
||||
* ENABLE_OVERRIDABLE_ALLOCATORS is defined so that it can be safely freed with g_free
|
||||
* rather than free.
|
||||
*/
|
||||
#include "vasprintf.h"
|
||||
|
||||
/* This is not a macro, because I dont want to put _GNU_SOURCE in the glib.h header */
|
||||
gchar *
|
||||
g_strndup (const gchar *str, gsize n)
|
||||
{
|
||||
#if defined (HAVE_STRNDUP) && !defined (ENABLE_OVERRIDABLE_ALLOCATORS)
|
||||
#ifdef HAVE_STRNDUP
|
||||
return strndup (str, n);
|
||||
#else
|
||||
if (str) {
|
||||
@@ -56,37 +52,6 @@ g_strndup (const gchar *str, gsize n)
|
||||
#endif
|
||||
}
|
||||
|
||||
gint g_vasprintf (gchar **ret, const gchar *fmt, va_list ap)
|
||||
{
|
||||
#if defined (HAVE_VASPRINTF) && !defined (ENABLE_OVERRIDABLE_ALLOCATORS)
|
||||
return vasprintf (ret, fmt, ap);
|
||||
#else
|
||||
char *buf;
|
||||
int len;
|
||||
size_t buflen;
|
||||
va_list ap2;
|
||||
|
||||
#if defined(_MSC_VER) || defined(__MINGW64_VERSION_MAJOR)
|
||||
ap2 = ap;
|
||||
len = _vscprintf(fmt, ap2); // NOTE MS specific extension ( :-( )
|
||||
#else
|
||||
va_copy(ap2, ap);
|
||||
len = vsnprintf(NULL, 0, fmt, ap2);
|
||||
#endif
|
||||
|
||||
if (len >= 0 && (buf = g_malloc ((buflen = (size_t) (len + 1)))) != NULL) {
|
||||
len = vsnprintf(buf, buflen, fmt, ap);
|
||||
*ret = buf;
|
||||
} else {
|
||||
*ret = NULL;
|
||||
len = -1;
|
||||
}
|
||||
|
||||
va_end(ap2);
|
||||
return len;
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
g_strfreev (gchar **str_array)
|
||||
{
|
||||
@@ -168,7 +133,7 @@ g_strdup_vprintf (const gchar *format, va_list args)
|
||||
int n;
|
||||
char *ret;
|
||||
|
||||
n = g_vasprintf (&ret, format, args);
|
||||
n = vasprintf (&ret, format, args);
|
||||
if (n == -1)
|
||||
return NULL;
|
||||
|
||||
@@ -183,7 +148,7 @@ g_strdup_printf (const gchar *format, ...)
|
||||
int n;
|
||||
|
||||
va_start (args, format);
|
||||
n = g_vasprintf (&ret, format, args);
|
||||
n = vasprintf (&ret, format, args);
|
||||
va_end (args);
|
||||
if (n == -1)
|
||||
return NULL;
|
||||
|
||||
+3
-23
@@ -205,36 +205,16 @@ g_filename_from_utf8 (const gchar *utf8string, gssize len, gsize *bytes_read, gs
|
||||
return res;
|
||||
}
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
extern WINBASEAPI UINT WINAPI GetACP(void);
|
||||
gboolean
|
||||
g_get_charset (G_CONST_RETURN char **charset)
|
||||
{
|
||||
if (my_charset == NULL) {
|
||||
#ifdef G_OS_WIN32
|
||||
static char buf [14];
|
||||
#if G_HAVE_API_SUPPORT(HAVE_UWP_WINAPI_SUPPORT)
|
||||
CPINFOEXA cp_info;
|
||||
GetCPInfoExA (CP_ACP, 0, &cp_info);
|
||||
sprintf (buf, "CP%u", cp_info.CodePage);
|
||||
#else
|
||||
sprintf (buf, "CP%u", GetACP ());
|
||||
#endif
|
||||
my_charset = buf;
|
||||
is_utf8 = FALSE;
|
||||
}
|
||||
|
||||
if (charset != NULL)
|
||||
*charset = my_charset;
|
||||
|
||||
return is_utf8;
|
||||
}
|
||||
|
||||
#else /* G_OS_WIN32 */
|
||||
|
||||
gboolean
|
||||
g_get_charset (G_CONST_RETURN char **charset)
|
||||
{
|
||||
if (my_charset == NULL) {
|
||||
#else
|
||||
/* These shouldn't be heap allocated */
|
||||
#if defined(HAVE_LOCALCHARSET_H)
|
||||
my_charset = locale_charset ();
|
||||
@@ -242,6 +222,7 @@ g_get_charset (G_CONST_RETURN char **charset)
|
||||
my_charset = "UTF-8";
|
||||
#endif
|
||||
is_utf8 = strcmp (my_charset, "UTF-8") == 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (charset != NULL)
|
||||
@@ -249,7 +230,6 @@ g_get_charset (G_CONST_RETURN char **charset)
|
||||
|
||||
return is_utf8;
|
||||
}
|
||||
#endif /* G_OS_WIN32 */
|
||||
|
||||
gchar *
|
||||
g_locale_to_utf8 (const gchar *opsysstring, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error)
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int vasprintf(char **ret, const char *fmt, va_list ap)
|
||||
{
|
||||
char *buf;
|
||||
int len;
|
||||
size_t buflen;
|
||||
va_list ap2;
|
||||
|
||||
#if defined(_MSC_VER) || defined(__MINGW64_VERSION_MAJOR)
|
||||
ap2 = ap;
|
||||
len = _vscprintf(fmt, ap2); // NOTE MS specific extension ( :-( )
|
||||
#else
|
||||
va_copy(ap2, ap);
|
||||
len = vsnprintf(NULL, 0, fmt, ap2);
|
||||
#endif
|
||||
|
||||
if (len >= 0 && (buf = malloc ((buflen = (size_t) (len + 1)))) != NULL) {
|
||||
len = vsnprintf(buf, buflen, fmt, ap);
|
||||
*ret = buf;
|
||||
} else {
|
||||
*ret = NULL;
|
||||
len = -1;
|
||||
}
|
||||
|
||||
va_end(ap2);
|
||||
return len;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
#ifndef __VASPRINTF_H
|
||||
#define __VASPRINTF_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <config.h>
|
||||
|
||||
#ifndef HAVE_VASPRINTF
|
||||
int vasprintf(char **ret, const char *fmt, va_list ap);
|
||||
#endif
|
||||
|
||||
#endif /* __VASPRINTF_H */
|
||||
@@ -28,10 +28,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include "test.h"
|
||||
|
||||
#ifndef DRIVER_EXTERNAL_TESTS
|
||||
#include "tests.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#ifdef HAVE_GETOPT_H
|
||||
@@ -105,11 +102,7 @@ static void print_help(char *s)
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
#ifdef DRIVER_EXTERNAL_MAIN
|
||||
gint run_tests_main(gint argc, gchar **argv)
|
||||
#else
|
||||
gint main(gint argc, gchar **argv)
|
||||
#endif
|
||||
{
|
||||
gint i, j, c, iterations = 1;
|
||||
StringArray *tests_to_run = NULL;
|
||||
|
||||
+8
-1
@@ -46,6 +46,13 @@
|
||||
#include "test.h"
|
||||
|
||||
extern gint global_passed, global_tests;
|
||||
|
||||
#ifndef HAVE_VASPRINTF
|
||||
/* systen does not provide a vasprintf function, use the one
|
||||
provided within eglib itself */
|
||||
extern int vasprintf(char **ret, const char *format, va_list ap);
|
||||
#endif
|
||||
|
||||
static gchar *last_result = NULL;
|
||||
|
||||
gboolean
|
||||
@@ -176,7 +183,7 @@ FAILED(const gchar *format, ...)
|
||||
return NULL;
|
||||
#else
|
||||
va_start(args, format);
|
||||
n = g_vasprintf(&ret, format, args);
|
||||
n = vasprintf(&ret, format, args);
|
||||
va_end(args);
|
||||
|
||||
if(n == -1) {
|
||||
|
||||
@@ -78,24 +78,4 @@
|
||||
#define VERSION "0.1"
|
||||
|
||||
#define HAVE_STRTOK_R 1
|
||||
|
||||
#ifndef HAVE_WINAPI_FAMILY_SUPPORT
|
||||
|
||||
#define HAVE_WINAPI_FAMILY_SUPPORT
|
||||
|
||||
/* WIN API Family support */
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
#define HAVE_CLASSIC_WINAPI_SUPPORT 1
|
||||
#define HAVE_UWP_WINAPI_SUPPORT 0
|
||||
#elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||
#define HAVE_CLASSIC_WINAPI_SUPPORT 0
|
||||
#define HAVE_UWP_WINAPI_SUPPORT 1
|
||||
#else
|
||||
#define HAVE_CLASSIC_WINAPI_SUPPORT 0
|
||||
#define HAVE_UWP_WINAPI_SUPPORT 0
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Vendored
-1
Submodule external/boringssl deleted from 432738a3c9.
Vendored
+1
-1
Submodule external/cecil updated: f38c0f5d99...33d50b874f.
Vendored
-1
Submodule external/cecil-legacy deleted from 33d50b874f.
Vendored
-1
Submodule external/corefx deleted from b1aa1d92ca.
Vendored
+1
-1
Submodule external/ikvm updated: 367864ef81...9f44f259bf.
Vendored
+1
-1
Submodule external/nunit-lite updated: 4bc79a6da1...7065bc89e8.
+1
-1
@@ -26,7 +26,7 @@
|
||||
# define __KERNEL__
|
||||
# include <asm/signal.h>
|
||||
# undef __KERNEL__
|
||||
# elif defined(__GLIBC__)
|
||||
# else
|
||||
/* Kernels prior to 2.1.1 defined struct sigcontext_struct instead of */
|
||||
/* struct sigcontext. libc6 (glibc2) uses "struct sigcontext" in */
|
||||
/* prototypes, so we have to include the top-level sigcontext.h to */
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
/Makefile
|
||||
/Makefile.in
|
||||
@@ -1,30 +0,0 @@
|
||||
#
|
||||
# Conditional submodule for llvm
|
||||
#
|
||||
# make reset-llvm will checkout a version of llvm which is suitable for this version of mono
|
||||
# into $top_srcdir/llvm/llvm.
|
||||
#
|
||||
|
||||
LLVM_PATH=llvm
|
||||
|
||||
SUBMODULES_CONFIG_FILE = $(top_srcdir)/llvm/SUBMODULES.json
|
||||
include $(top_srcdir)/scripts/submodules/versions.mk
|
||||
|
||||
$(eval $(call ValidateVersionTemplate,llvm,LLVM))
|
||||
|
||||
# Bump the given submodule to the revision given by the REV make variable
|
||||
# If COMMIT is 1, commit the change
|
||||
bump-llvm: __bump-version-llvm
|
||||
|
||||
# Bump the given submodule to the branch given by the BRANCH/REMOTE_BRANCH make variables
|
||||
# If COMMIT is 1, commit the change
|
||||
bump-branch-llvm: __bump-branch-llvm
|
||||
|
||||
# Bump the given submodule to its current GIT version
|
||||
# If COMMIT is 1, commit the change
|
||||
bump-current-llvm: __bump-current-version-llvm
|
||||
|
||||
clean-local:
|
||||
$(RM) -r $(LLVM_PATH)
|
||||
|
||||
EXTRA_DIST=SUBMODULES.json
|
||||
@@ -1,10 +0,0 @@
|
||||
[
|
||||
{
|
||||
"name": "llvm",
|
||||
"url": "git://github.com/mono/llvm.git",
|
||||
"rev": "9f79399f87282524fee099b328bd8cbf07929daf",
|
||||
"remote-branch": "origin/master",
|
||||
"branch": "master",
|
||||
"directory": "llvm"
|
||||
}
|
||||
]
|
||||
@@ -26,7 +26,7 @@ AC_DEFUN([AM_NLS],
|
||||
dnl Default is enabled NLS
|
||||
AC_ARG_ENABLE([nls],
|
||||
[ --disable-nls do not use Native Language Support],
|
||||
USE_NLS=$enableval, USE_NLS=profile_default)
|
||||
USE_NLS=$enableval, USE_NLS=yes)
|
||||
AC_MSG_RESULT([$USE_NLS])
|
||||
AC_SUBST([USE_NLS])
|
||||
])
|
||||
@@ -2,7 +2,6 @@ man_MANS = \
|
||||
al.1 \
|
||||
cert2spc.1 \
|
||||
certmgr.1 \
|
||||
cert-sync.1 \
|
||||
chktrust.1 \
|
||||
cilc.1 \
|
||||
crlupdate.1 \
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
.\"
|
||||
.\" cert-sync manual page.
|
||||
.\" Copyright 2016 Microsoft Corp
|
||||
.\" Author:
|
||||
.\" Jo Shields <[email protected]>
|
||||
.\"
|
||||
.TH Mono "cert-sync"
|
||||
.SH NAME
|
||||
cert-sync \- Mono Certificate Store Sync Tool
|
||||
.SH SYNOPSIS
|
||||
.PP
|
||||
.B cert-sync [--quiet] [--user] filename
|
||||
.SH DESCRIPTION
|
||||
This tool allows you to populate a Mono certificate store, from a large
|
||||
concatenated list of certificates in PEM format (commonly provided on most
|
||||
Linux distributions).
|
||||
|
||||
Its use is intended to be automated at Mono install time, by distribution
|
||||
packagers, to seamlessly provide SSL support to Mono applications without
|
||||
further user interaction.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I "--quiet"
|
||||
Suppress verbose output
|
||||
.TP
|
||||
.I "--user"
|
||||
Populate the per-user store in the user's home directory, instead of the
|
||||
system-wide store.
|
||||
.TP
|
||||
.I "filename.crt"
|
||||
Path to a certificate bundle. The Mono store will have any extra entries
|
||||
removed, and new entries added, to reflect the provided file.
|
||||
|
||||
.SH EXAMPLES
|
||||
.TP
|
||||
.B cert-sync /etc/ssl/certs/ca-certificates.crt
|
||||
Synchronize the machine store, from the Debian cert store location
|
||||
.TP
|
||||
.B cert-sync --user /etc/pki/tls/certs/ca-bundle.crt
|
||||
Synchronize the user store, from the Red Hat cert store location
|
||||
|
||||
.SH AUTHOR
|
||||
Written by Jo Shields
|
||||
|
||||
.SH COPYRIGHT
|
||||
Copyright (C) 2016 Microsoft Corp
|
||||
.SH MAILING LISTS
|
||||
Visit http://lists.ximian.com/mailman/listinfo/mono-list for details.
|
||||
.SH WEB SITE
|
||||
Visit http://www.mono-project.com for details
|
||||
.SH SEE ALSO
|
||||
.BR certmgr(1)
|
||||
@@ -18,8 +18,7 @@ prepending the @ symbol to the response file name.
|
||||
The
|
||||
.I mcs
|
||||
compiler is used to compile against the latest Mono Base Class Library
|
||||
version and fully implements C# 1.0, 2.0, 3.0, 4.0, 5.0 and 6.0
|
||||
specifications.
|
||||
version and fully implements C# 1.0, 2.0, 3.0 and 4.0 specifications.
|
||||
.PP
|
||||
See the section on packages for more information.
|
||||
.PP
|
||||
@@ -164,7 +163,7 @@ The possible values are:
|
||||
.TP
|
||||
.I "Default"
|
||||
Instruct compiler to use the latest version. Equivalent is to omit the
|
||||
switch (this currently defaults to the C# 6.0 language specification).
|
||||
switch (this currently defaults to the C# 4.0 language specification).
|
||||
.TP
|
||||
.I "ISO-1"
|
||||
Restrict compiler to use only first ISO standardized features.
|
||||
@@ -184,14 +183,6 @@ Restrict the compiler to use only the features available in C# 3.0
|
||||
Restrict the compiler to use only the features available in C# 4.0
|
||||
specification.
|
||||
.TP
|
||||
.I "5"
|
||||
Restrict the compiler to use only the features available in C# 5.0
|
||||
specification.
|
||||
.TP
|
||||
.I "6"
|
||||
Restrict the compiler to use only the features available in C# 6.0
|
||||
specification.
|
||||
.TP
|
||||
.I "experimental"
|
||||
Enables unstable features from upcoming versions of the language.
|
||||
.PP
|
||||
@@ -519,7 +510,7 @@ the MIT X11. Please read the accompanying `COPYING' file for details.
|
||||
Alternative licensing for the compiler is available from Xamarin.
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
csharp(1), mono(1), pkg-config(1), sn(1)
|
||||
csharp(1), mdb(1), mono(1), mopen(1), pkg-config(1), sn(1)
|
||||
.PP
|
||||
.SH BUGS
|
||||
To report bugs in the compiler, you must file them on our bug tracking
|
||||
|
||||
+62
-188
@@ -21,208 +21,38 @@ default only the assemblies specified in the command line will be
|
||||
included in the bundle. To automatically include all of the
|
||||
dependencies referenced, use the "--deps" command line option.
|
||||
.PP
|
||||
There are two modes of operation, one uses an existing Mono binary or
|
||||
a server-hosted list of binaries and is enabled when you use either
|
||||
the
|
||||
.B --cross
|
||||
or the
|
||||
.B --runtime
|
||||
command line options.
|
||||
.PP
|
||||
An older mechanism creates a small C stub that links against the
|
||||
libmono library to produce a self-contained executable and requires a
|
||||
C compiler. It is described in the "OLD EMBEDDING" section below.
|
||||
There are two modes of operation, the default one uses the
|
||||
C compiler to create a bundle and requires a complete C and Mono SDK
|
||||
to produced executables. The simple mode (enabled when using the
|
||||
"--simple") command line option does not require this, and also allows
|
||||
for cross compilation.
|
||||
.PP
|
||||
For example, to create a bundle for hello world, use the following
|
||||
command:
|
||||
.nf
|
||||
|
||||
$ mkbundle -o hello --simple hello.exe
|
||||
|
||||
.fi
|
||||
.PP
|
||||
You can configure options to be passed to the Mono runtime directly
|
||||
into your executable, for this, use the
|
||||
.I --options
|
||||
flag. For example, the following disables inlining, by passing the
|
||||
"-O=-inline" command line option to the embedded executable:
|
||||
.nf
|
||||
|
||||
$ mkbundle -o hello --options -O=-inline --simple hello.exe
|
||||
|
||||
.PP
|
||||
The simple version allows for cross-compiling, this requires a Mono
|
||||
runtime to be installed in the ~/.mono/targets/TARGET/mono to be
|
||||
available. You can use the "--local-targets" to list all available
|
||||
targets, and the "--cross" argument to specify the target, like this:
|
||||
.nf
|
||||
|
||||
$ mkbundle --local-targets
|
||||
Available targets:
|
||||
default - Current System Mono
|
||||
4.4.0-macosx-x86
|
||||
4.4.0-debian-8-arm64
|
||||
$ mkbundle --cross 4.4.0-debian-8-powerpc hello.exe -o hello-debian
|
||||
|
||||
.fi
|
||||
.PP
|
||||
The above will bundle your native library into hello-debian for
|
||||
a Debian 8 system running on a PowerPC machine.
|
||||
.PP
|
||||
We provide pre-packages binaries for Mono for various architectures,
|
||||
which allow you to cross compile, use the
|
||||
.B --list-targets
|
||||
to get a list of all targets supported, and use the
|
||||
.B --fetch-target
|
||||
flag to retrieve a target that you do not have installed, like this:
|
||||
.nf
|
||||
|
||||
$ mkbundle --list-targets
|
||||
Cross-compilation targets available:
|
||||
4.4.0-linux-libc2.13-amd64
|
||||
4.4.0-linux-libc2.13-armel
|
||||
4.4.0-linux-libc2.13-armhf
|
||||
4.4.0-linux-libc2.13-i386
|
||||
4.4.0-macos-10.7-amd64
|
||||
4.4.0-macos-10.7-i386
|
||||
4.4.2-linux-libc2.13-amd64
|
||||
4.4.2-linux-libc2.13-armel
|
||||
4.4.2-linux-libc2.13-armhf
|
||||
4.4.2-linux-libc2.13-i386
|
||||
4.4.2-macos-10.7-amd64
|
||||
4.4.2-macos-10.7-i386
|
||||
|
||||
$ mkbundle --fetch-target 4.4.2-macos-10.7-i386
|
||||
|
||||
.fi
|
||||
.PP
|
||||
And then you can produce a binary that will run on 32-bit Mono on
|
||||
MacOS:
|
||||
.nf
|
||||
|
||||
$ mkbundle --cross 4.4.2-macos-10.7-i386 hello.exe -o hello-macos
|
||||
|
||||
.fi
|
||||
.PP
|
||||
Downloaded targets are stored
|
||||
.B ~/.mono/targets
|
||||
directory.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I "--config FILE"
|
||||
Specifies that a machine.config file must be bundled as well.
|
||||
Typically this is $prefix/etc/mono/1.0/machine.config or
|
||||
$prefix/etc/mono/2.0/machine.config depending on the profile that you
|
||||
are using (1.0 or 2.0)
|
||||
.TP
|
||||
.I "--config-dir DIR"
|
||||
When passed, DIR will be set for the MONO_CFG_DIR environment variable
|
||||
.TP
|
||||
.I "--cross target"
|
||||
Creates a bundle for the specified target platform. The target
|
||||
must be a directory in ~/.mono/targets/ that contains a "mono"
|
||||
binary. You can fetch various targets using the --fetch-target
|
||||
command line option.
|
||||
.TP
|
||||
.I "--deps"
|
||||
This option will bundle all of the referenced assemblies for the
|
||||
assemblies listed on the command line option. This is useful to
|
||||
distribute a self-contained image.
|
||||
.TP
|
||||
.I "--env KEY=VALUE"
|
||||
Use this to hardcode an environment variable at runtime for KEY to be
|
||||
mapped to VALUE. This is useful in scenarios where you want to
|
||||
enable certain Mono runtime configuration options that are controlled
|
||||
by environment variables.
|
||||
.TP
|
||||
.I "--fetch-target target"
|
||||
Downloads a precompiled runtime for the specified target from the Mono
|
||||
distribution site.
|
||||
.TP
|
||||
.I "--i18n encoding"
|
||||
Specified which encoding tables to ship with the executable. By
|
||||
default, Mono ships the supporting I18N.dll assembly and the
|
||||
I18N.West.dll assembly. If your application will use the
|
||||
System.Text.Encoding.GetEncoding with encodings other than the West
|
||||
encodings, you should specify them here.
|
||||
.Sp
|
||||
You can use the
|
||||
.B none
|
||||
parameter to request that no implicit encodings should be bundled,
|
||||
including the supporting I18N.dll, use this option if you have ran a
|
||||
linker on your own.
|
||||
.Sp
|
||||
You can use the
|
||||
.B all
|
||||
flag to bundle all available encodings.
|
||||
.Sp
|
||||
Or you can use a comma delimited list of the workds CJK, MidWest,
|
||||
Other, Rare and West to specificy which encoding assemblies to distribute.
|
||||
.TP
|
||||
.I "-L path"
|
||||
Adds the `path' do the search list for assemblies. The rules are the
|
||||
same as for the compiler -lib: or -L flags.
|
||||
.TP
|
||||
.I "--library [LIB,]PATH"
|
||||
Embeds the dynamic library file pointed to by `PATH' and optionally
|
||||
give it the name `LIB' into the bundled executable. This is used to
|
||||
ship native library dependencies that are unpacked at startup and
|
||||
loaded from the runtime.
|
||||
.TP
|
||||
.I "--lists-targets"
|
||||
Lists all of the available local cross compilation targets available
|
||||
as precompiled binaries on the Mono distribution server.
|
||||
.TP
|
||||
.I "--local-targets"
|
||||
Lists all of the available local cross compilation targets.
|
||||
.TP
|
||||
.I "--machine-config FILE"
|
||||
Uses the given FILE as the machine.config file for the generated
|
||||
application.
|
||||
.TP
|
||||
.I "--nodeps"
|
||||
This is the default: \fImkbundle\fP will only include the assemblies that
|
||||
were specified on the command line to reduce the size of the resulting
|
||||
image created.
|
||||
.TP
|
||||
.I "-o filename"
|
||||
Places the output on `out'. If the flag -c is specified, this is the
|
||||
C host program. If not, this contains the resulting executable.
|
||||
.TP
|
||||
.I "--options OPTS"
|
||||
Since the resulting executable will be treated as a standalone
|
||||
program, you can use this option to pass configuration options to the
|
||||
Mono runtime and bake those into the resulting executable. These
|
||||
options are specified as
|
||||
.I OPTS.
|
||||
.Sp
|
||||
You can use the above to configure options that you would typically
|
||||
pass on the command line to Mono, before the main program is
|
||||
executed.
|
||||
.Sp
|
||||
Additionally, users of your binary can still configure their own
|
||||
options by setting the
|
||||
.I MONO_ENV_OPTIONS
|
||||
environment variable.
|
||||
.TP
|
||||
.I "--target-server SERVER"
|
||||
By default the mkbundle tool will download from a Mono server the
|
||||
target runtimes, you can specify a different server to provide
|
||||
cross-compiled runtimes.
|
||||
.SH OLD EMBEDDING
|
||||
.PP
|
||||
The old embedding system compiles a small C stub that embeds the
|
||||
C code and compiles the resulting executable using the system
|
||||
compiler. This requires both a working C compiler installation and
|
||||
only works to bundle binaries for the current host.
|
||||
.PP
|
||||
The feature is still available, but we recommend the simpler, faster
|
||||
and more convenient new mode.
|
||||
.PP
|
||||
For example, to create a bundle for hello world, use the following
|
||||
command:
|
||||
.nf
|
||||
|
||||
$ mkbundle -o hello hello.exe
|
||||
.fi
|
||||
.PP
|
||||
@@ -236,7 +66,6 @@ you want to link additional libraries or control the generated output
|
||||
in more detail. For example, this could be used to link some libraries
|
||||
statically:
|
||||
.nf
|
||||
|
||||
$ mkbundle -c -o host.c -oo bundles.o --deps hello.exe
|
||||
|
||||
$ cc host.c bundles.o /usr/lib/libmono.a -lc -lrt
|
||||
@@ -248,40 +77,86 @@ both the -c and --nomain options. The resulting host.c file will
|
||||
not have a main() function. Call mono_mkbundle_init() before
|
||||
initializing the JIT in your code so that the bundled assemblies
|
||||
are available to the embedded runtime.
|
||||
.SH OLD EMBEDDING OPTIONS
|
||||
These options can only be used instead of using the
|
||||
.B --cross, --runtime
|
||||
or
|
||||
.B --simple
|
||||
options.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I "-c"
|
||||
Produce the stub file, do not compile the resulting stub.
|
||||
.TP
|
||||
.I "--cross target"
|
||||
Creates a bundle for the specified target platform. The target
|
||||
must be a directory in ~/.mono/targets/ that contains a "mono"
|
||||
binary. You can fetch various targets using the --fetch-target
|
||||
command line option.
|
||||
.TP
|
||||
.I "-o filename"
|
||||
Places the output on `out'. If the flag -c is specified, this is the
|
||||
C host program. If not, this contains the resulting executable.
|
||||
.TP
|
||||
.I "-oo filename"
|
||||
Specifies the name to be used for the helper object file that contains
|
||||
the bundle.
|
||||
.TP
|
||||
.I "-L path"
|
||||
Adds the `path' do the search list for assemblies. The rules are the
|
||||
same as for the compiler -lib: or -L flags.
|
||||
.TP "--config FILE"
|
||||
Specifies that a machine.config file must be bundled as well.
|
||||
Typically this is $prefix/etc/mono/1.0/machine.config or
|
||||
$prefix/etc/mono/2.0/machine.config depending on the profile that you
|
||||
are using (1.0 or 2.0)
|
||||
.TP
|
||||
.I "--deps"
|
||||
This option will bundle all of the referenced assemblies for the
|
||||
assemblies listed on the command line option. This is useful to
|
||||
distribute a self-contained image.
|
||||
.TP
|
||||
.I "--fetch-target target"
|
||||
Downloads a precompiled runtime for the specified target from the Mono
|
||||
distribution site.
|
||||
.TP
|
||||
.I "--nodeps"
|
||||
This is the default: \fImkbundle\fP will only include the assemblies that
|
||||
were specified on the command line to reduce the size of the resulting
|
||||
image created.
|
||||
.TP
|
||||
.I "--keeptemp"
|
||||
By default \fImkbundle\fP will delete the temporary files that it uses to
|
||||
produce the bundle. This option keeps the file around.
|
||||
.TP
|
||||
.I "--lists-targets"
|
||||
Lists all of the available local cross compilation targets available
|
||||
as precompiled binaries on the Mono distribution server.
|
||||
.TP
|
||||
.I "--local-targets"
|
||||
Lists all of the available local cross compilation targets.
|
||||
.TP
|
||||
.I "--machine-config FILE"
|
||||
Uses the given FILE as the machine.config file for the generated
|
||||
application.
|
||||
.TP
|
||||
.I "--nomain"
|
||||
With the -c option, generate the host stub without a main() function.
|
||||
.TP
|
||||
.I "--config-dir DIR"
|
||||
When passed, DIR will be set for the MONO_CFG_DIR environment variable
|
||||
.TP
|
||||
.I "--static"
|
||||
By default \fImkbundle\fP dynamically links to mono and glib. This option
|
||||
causes it to statically link instead.
|
||||
.TP
|
||||
.I "--target-server SERVER"
|
||||
By default the mkbundle tool will download from a Mono server the
|
||||
target runtimes, you can specify a different server to provide
|
||||
cross-compiled runtimes.
|
||||
.TP
|
||||
.I "-z"
|
||||
Compresses the assemblies before embedding. This results in smaller
|
||||
executable files, but increases startup time and requires zlib to be
|
||||
installed on the target system.
|
||||
.SH WINDOWS
|
||||
If you are using the old embedding on Windows systems, it it necessary
|
||||
to have Unix-like toolchain to be installed for \fImkbundle\fP to
|
||||
work. You can use cygwin's and install gcc, gcc-mingw and as
|
||||
packages.
|
||||
On Windows systems, it it necessary to have Unix-like toolchain to be
|
||||
installed for \fImkbundle\fP to work. You can use cygwin's and install gcc,
|
||||
gcc-mingw and as packages.
|
||||
.SH ENVIRONMENT VARIABLES
|
||||
.TP
|
||||
.I "AS"
|
||||
@@ -300,8 +175,7 @@ cache.
|
||||
.PP
|
||||
Targets are loaded from ~/.mono/targets/TARGETNAME/mono
|
||||
.SH BUGS
|
||||
The option "--static" is not supported under Windows when using the
|
||||
old embedding.
|
||||
The option "--static" is not supported under Windows.
|
||||
Moreover, a full cygwin environment containing at least "gcc" and "as"
|
||||
is required for the build process. The generated executable does not
|
||||
depend on cygwin.
|
||||
|
||||
+8
-24
@@ -7,7 +7,7 @@
|
||||
.\" Author:
|
||||
.\" Miguel de Icaza ([email protected])
|
||||
.\"
|
||||
.TH Mono "Mono 4.7.0"
|
||||
.TH Mono "Mono 3.0"
|
||||
.SH NAME
|
||||
mono \- Mono's ECMA-CLI native code generator (Just-in-Time and Ahead-of-Time)
|
||||
.SH SYNOPSIS
|
||||
@@ -332,12 +332,6 @@ Currently this merely ensures that you are running either the
|
||||
\fBMONO_ENV_OPTIONS\fR environment variable to force all of your child
|
||||
processes to use one particular kind of GC with the Mono runtime.
|
||||
.TP
|
||||
\fB--gc-debug=[options]\fR
|
||||
Command line equivalent of the \fBMONO_GC_DEBUG\fR environment variable.
|
||||
.TP
|
||||
\fB--gc-params=[options]\fR
|
||||
Command line equivalent of the \fBMONO_GC_PARAMS\fR environment variable.
|
||||
.TP
|
||||
\fB--arch=32\fR, \fB--arch=64\fR
|
||||
(Mac OS X only): Selects the bitness of the Mono binary used, if
|
||||
available. If the binary used is already for the selected bitness, nothing
|
||||
@@ -1106,7 +1100,7 @@ a Mono process through the environment. This is useful for example
|
||||
to force all of your Mono processes to use LLVM or SGEN without having
|
||||
to modify any launch scripts.
|
||||
.TP
|
||||
\fBMONO_SDB_ENV_OPTIONS\fR
|
||||
\fBMONO_ENV_OPTIONS\fR
|
||||
Used to pass extra options to the debugger agent in the runtime, as they were passed
|
||||
using --debugger-agent=.
|
||||
.TP
|
||||
@@ -1308,12 +1302,12 @@ statistics when shutting down.
|
||||
.TP
|
||||
\fBcollect-before-allocs\fR
|
||||
.TP
|
||||
\fBcheck-remset-consistency\fR
|
||||
This performs a remset consistency check at various opportunities, and
|
||||
also clears the nursery at collection time, instead of the default,
|
||||
when buffers are allocated (clear-at-gc). The consistency check
|
||||
ensures that there are no major to minor references that are not on
|
||||
the remembered sets.
|
||||
\fBcheck-at-minor-collections\fR
|
||||
This performs a consistency check on minor collections and also clears
|
||||
the nursery at collection time, instead of the default, when buffers
|
||||
are allocated (clear-at-gc). The consistency check ensures that
|
||||
there are no major to minor references that are not on the remembered
|
||||
sets.
|
||||
.TP
|
||||
\fBmod-union-consistency-check\fR
|
||||
Checks that the mod-union cardtable is consistent before each
|
||||
@@ -1738,16 +1732,6 @@ messages for a certain component. You can use multiple masks by comma
|
||||
separating them. For example to see config file messages and assembly loader
|
||||
messages set you mask to "asm,cfg".
|
||||
.TP
|
||||
\fBMONO_LOG_DEST\fR
|
||||
Controls where trace log messages are written. If not set then the messages go to stdout.
|
||||
If set, the string either specifies a path to a file that will have messages appended to
|
||||
it, or the string "syslog" in which case the messages will be written to the system log.
|
||||
Under Windows, this is simulated by writing to a file called "mono.log".
|
||||
\fBMONO_LOG_HEADER\fR
|
||||
Controls whether trace log messages not directed to syslog have the id, timestamp, and
|
||||
pid as the prefix to the log message. To enable a header this environment variable need
|
||||
just be non-null.
|
||||
.TP
|
||||
\fBMONO_TRACE\fR
|
||||
Used for runtime tracing of method calls. The format of the comma separated
|
||||
trace options is:
|
||||
|
||||
+50
-11
@@ -92,7 +92,7 @@ provided by the Mono runtime and write them to a file named
|
||||
\f[I]output.mlpd\f[].
|
||||
When no option is specified, it is equivalent to using:
|
||||
.PP
|
||||
\f[B]--profile=log:calls,alloc,output=output.mlpd,maxframes=32,calldepth=100\f[]
|
||||
\f[B]--profile=log:calls,alloc,output=output.mlpd,maxframes=8,calldepth=100\f[]
|
||||
.PP
|
||||
The following options can be used to modify this default behaviour.
|
||||
Each option is separated from the next by a \f[B],\f[] character,
|
||||
@@ -139,16 +139,41 @@ garbage collections
|
||||
to the control port
|
||||
.RE
|
||||
.IP \[bu] 2
|
||||
\f[I]sample[=FREQ]\f[]: collect statistical samples of the
|
||||
\f[I]sample[=TYPE[/FREQ]]\f[]: collect statistical samples of the
|
||||
program behaviour.
|
||||
The default is to collect a 100 times per second (100 Hz) the
|
||||
instruction pointer.
|
||||
This is equivalent to the value \[lq]100\[rq].
|
||||
A value of zero for \f[I]FREQ\f[] effectively disables sampling.
|
||||
This is equivalent to the value \[lq]cycles/100\[rq] for
|
||||
\f[I]TYPE\f[].
|
||||
On some systems, like with recent Linux kernels, it is possible to
|
||||
cause the sampling to happen for other events provided by the
|
||||
performance counters of the cpu.
|
||||
In this case, \f[I]TYPE\f[] can be one of:
|
||||
.RS 2
|
||||
.IP \[bu] 2
|
||||
\f[I]cycles\f[]: processor cycles
|
||||
.IP \[bu] 2
|
||||
\f[I]instr\f[]: executed instructions
|
||||
.IP \[bu] 2
|
||||
\f[I]cacherefs\f[]: cache references
|
||||
.IP \[bu] 2
|
||||
\f[I]cachemiss\f[]: cache misses
|
||||
.IP \[bu] 2
|
||||
\f[I]branches\f[]: executed branches
|
||||
.IP \[bu] 2
|
||||
\f[I]branchmiss\f[]: mispredicted branches
|
||||
.RE
|
||||
.IP \[bu] 2
|
||||
\f[I]time=TIMER\f[]: use the TIMER timestamp mode.
|
||||
TIMER can have the following values:
|
||||
.RS 2
|
||||
.IP \[bu] 2
|
||||
\f[I]fast\f[]: a usually faster but possibly more inaccurate timer
|
||||
.RE
|
||||
.IP \[bu] 2
|
||||
\f[I]maxframes=NUM\f[]: when a stack trace needs to be performed,
|
||||
collect \f[I]NUM\f[] frames at the most.
|
||||
The default is 32.
|
||||
The default is 8.
|
||||
.IP \[bu] 2
|
||||
\f[I]maxsamples=NUM\f[]: stop allocating reusable sample events
|
||||
once \f[I]NUM\f[] events have been allocated (a value of zero for
|
||||
@@ -209,15 +234,16 @@ The following commands are available:
|
||||
\f[I]heapshot\f[]: perform a heapshot as soon as possible
|
||||
.RE
|
||||
.IP \[bu] 2
|
||||
\f[I]nocounters\f[]: disables sampling of runtime and performance
|
||||
counters, which is normally done every 1 second.
|
||||
\f[I]counters\f[]: sample counters values every 1 second. This allow
|
||||
a really lightweight way to have insight in some of the runtime key
|
||||
metrics. Counters displayed in non verbose mode are : Methods from AOT,
|
||||
Methods JITted using mono JIT, Methods JITted using LLVM, Total time
|
||||
spent JITting (sec), User Time, System Time, Total Time, Working Set,
|
||||
Private Bytes, Virtual Bytes, Page Faults and CPU Load Average (1min,
|
||||
5min and 15min).
|
||||
.IP \[bu] 2
|
||||
\f[I]coverage\f[]: collect code coverage data. This implies enabling
|
||||
the \f[I]calls\f[] option.
|
||||
.IP \[bu] 2
|
||||
\f[I]onlycoverage\f[]: can only be used with \f[I]coverage\f[]. This
|
||||
disables most other events so that the profiler mostly only collects
|
||||
coverage data.
|
||||
.RE
|
||||
.SS Analyzing the profile data
|
||||
.PP
|
||||
@@ -248,6 +274,10 @@ with the \f[I]--maxframes=NUM\f[] option:
|
||||
The stack trace info will be available if method enter/leave events
|
||||
have been recorded or if stack trace collection wasn't explicitly
|
||||
disabled with the \f[I]maxframes=0\f[] profiler option.
|
||||
Note that the profiler will collect up to 8 frames by default at
|
||||
specific events when the \f[I]nocalls\f[] option is used, so in
|
||||
that case, if more stack frames are required in mprof-report, a
|
||||
bigger value for maxframes when profiling must be used, too.
|
||||
.PP
|
||||
The \f[I]--traces\f[] option also controls the reverse reference
|
||||
feature in the heapshot report: for each class it reports how many
|
||||
@@ -457,6 +487,15 @@ option: especially if the managed heap is big, since every object
|
||||
needs to be inspected.
|
||||
The \f[I]MODE\f[] parameter of the \f[I]heapshot\f[] option can be
|
||||
used to reduce the frequency of the heap shots.
|
||||
.IP "\f[I]Reduce the timestamp overhead\f[]" 4
|
||||
.Sp
|
||||
On many operating systems or architectures what actually slows down
|
||||
profiling is the function provided by the system to get timestamp
|
||||
information.
|
||||
The \f[I]time=fast\f[] profiler option can be usually used to speed
|
||||
up this operation, but, depending on the system, time accounting
|
||||
may have some level of approximation (though statistically the data
|
||||
should be still fairly valuable).
|
||||
.SS Dealing with the size of the data files
|
||||
.PP
|
||||
When collecting a lot of information about a profiled program, huge
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ monotouch_watch_runtime_SUBDIRS := build class
|
||||
monotouch_tv_runtime_SUBDIRS := build class
|
||||
xammac_SUBDIRS := build class
|
||||
mobile_SUBDIRS := build class
|
||||
mobile_static_SUBDIRS := build class ilasm
|
||||
mobile_static_SUBDIRS := build class
|
||||
binary_reference_assemblies_SUBDIRS := build class
|
||||
net_4_x_SUBDIRS := build mcs class nunit24 ilasm tools tests errors docs
|
||||
xammac_net_4_5_SUBDIRS := build class
|
||||
|
||||
@@ -15,6 +15,8 @@ build system needs to let us do, specifically:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
** Makefile structure
|
||||
|
||||
A general makefile looks like this:
|
||||
@@ -436,15 +438,7 @@ To give it flags, set $(LOCAL_CFLAGS). As with compiling C#, the
|
||||
variable $(CFLAGS) will automatically be included on the command line.
|
||||
|
||||
|
||||
* Compiling resources with resgen
|
||||
|
||||
If you have a resource that should be compiled with resgen and
|
||||
included in your assembly, you can use the RESOURCES_DEFS variable.
|
||||
This variable can contain lists of pairs that are separated by comma
|
||||
to represent the resource ID as embedded in the assembly followed by
|
||||
the file name, like this:
|
||||
|
||||
RESOURCE_DEFS = Messages,TextResources.resx Errors,ErrorList.txt
|
||||
|
||||
|
||||
* Documentation-related needs? Use $(MDOC)
|
||||
|
||||
@@ -5,7 +5,7 @@ static class AssemblyRef
|
||||
internal const string System = "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
|
||||
|
||||
public const string EcmaPublicKey = "b77a5c561934e089";
|
||||
#if MOBILE
|
||||
#if NET_2_1
|
||||
public const string FrameworkPublicKeyFull = "0024000004800000940000000602000000240000525341310004000001000100B5FC90E7027F67871E773A8FDE8938C81DD402BA65B9201D60593E96C492651E889CC13F1415EBB53FAC1131AE0BD333C5EE6021672D9718EA31A8AEBD0DA0072F25D87DBA6FC90FFD598ED4DA35E44C398C454307E8E33B8426143DAEC9F596836F97C8F74750E5975C64E2189F45DEF46B2A2B1247ADC3652BF5C308055DA9";
|
||||
public const string FrameworkPublicKeyFull2 = "00240000048000009400000006020000002400005253413100040000010001008D56C76F9E8649383049F383C44BE0EC204181822A6C31CF5EB7EF486944D032188EA1D3920763712CCB12D75FB77E9811149E6148E5D32FBAAB37611C1878DDC19E20EF135D0CB2CFF2BFEC3D115810C3D9069638FE4BE215DBF795861920E5AB6F7DB2E2CEEF136AC23D5DD2BF031700AEC232F6C6B1C785B4305C123B37AB";
|
||||
#else
|
||||
|
||||
@@ -39,7 +39,7 @@ static class Consts
|
||||
public const string MonoProduct = "Mono Common Language Infrastructure";
|
||||
public const string MonoCopyright = "(c) Various Mono authors";
|
||||
|
||||
#if MOBILE
|
||||
#if NET_2_1
|
||||
// Versions of .NET Framework for Silverlight 4.0
|
||||
public const string FxVersion = "2.0.5.0";
|
||||
public const string VsVersion = "9.0.0.0"; // unused, but needed for compilation
|
||||
@@ -118,7 +118,7 @@ static class Consts
|
||||
public const string AssemblyPresentationCore_4_0 = "PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
|
||||
public const string AssemblyPresentationFramework_3_5 = "PresentationFramework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35";
|
||||
public const string AssemblySystemServiceModel_3_0 = "System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
|
||||
#elif MOBILE
|
||||
#elif NET_2_1
|
||||
public const string AssemblySystem_Core = "System.Core, Version=" + FxVersion + ", Culture=neutral, PublicKeyToken=b77a5c561934e089";
|
||||
#endif
|
||||
}
|
||||
@@ -40,7 +40,7 @@ class X {
|
||||
if (!Version.TryParse (field.GetValue (null) as string, out version))
|
||||
return 4;
|
||||
|
||||
if (version < new Version (4, 0))
|
||||
if (version < new Version (3, 8))
|
||||
return 5;
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -173,7 +173,6 @@ csproj-local:
|
||||
echo $(build_lib); \
|
||||
echo $(FRAMEWORK_VERSION); \
|
||||
echo $(PROFILE); \
|
||||
echo $(RESOURCE_DEFS); \
|
||||
echo $(response)) > $(topdir)/../msvc/scripts/inputs/$$config_file
|
||||
|
||||
|
||||
|
||||
+4
-27
@@ -145,7 +145,6 @@ csproj-library:
|
||||
echo $(build_lib); \
|
||||
echo $(FRAMEWORK_VERSION); \
|
||||
echo $(PROFILE); \
|
||||
echo $(RESOURCE_DEFS); \
|
||||
echo $(response)) > $(topdir)/../msvc/scripts/inputs/$$config_file
|
||||
|
||||
csproj-test:
|
||||
@@ -217,28 +216,7 @@ clean-local:
|
||||
test-local run-test-local run-test-ondotnet-local:
|
||||
@:
|
||||
|
||||
#
|
||||
# RESOURCES_DEFS is a list of ID,FILE pairs separated by spaces
|
||||
# for each of those, generate a rule that produces ID.resource from
|
||||
# FILE using the resgen tool, adds the generated file to CLENA_FILES and
|
||||
# passes the resource to the compiler
|
||||
#
|
||||
ccomma = ,
|
||||
define RESOURCE_template
|
||||
$(1).resources: $(2)
|
||||
$(RESGEN) "$$<" "$$@"
|
||||
|
||||
GEN_RESOURCE_DEPS += $(1).resources
|
||||
GEN_RESOURCE_FLAGS += -resource:$(1).resources
|
||||
CLEAN_FILES += $(1).resources
|
||||
DIST_LISTED_RESOURCES += $(2)
|
||||
endef
|
||||
|
||||
ifdef RESOURCE_DEFS
|
||||
$(foreach pair,$(RESOURCE_DEFS), $(eval $(call RESOURCE_template,$(word 1, $(subst $(ccomma), ,$(pair))), $(word 2, $(subst $(ccomma), ,$(pair))))))
|
||||
endif
|
||||
|
||||
DISTFILES = $(wildcard *$(LIBRARY)*.sources) $(EXTRA_DISTFILES) $(DIST_LISTED_RESOURCES)
|
||||
DISTFILES = $(wildcard *$(LIBRARY)*.sources) $(EXTRA_DISTFILES)
|
||||
|
||||
ASSEMBLY = $(LIBRARY)
|
||||
ASSEMBLY_EXT = .dll
|
||||
@@ -258,7 +236,6 @@ csproj-test:
|
||||
echo $(test_lib); \
|
||||
echo $(FRAMEWORK_VERSION); \
|
||||
echo $(PROFILE); \
|
||||
echo ""; \
|
||||
echo $(test_response)) > $(topdir)/../msvc/scripts/inputs/$$config_file
|
||||
|
||||
endif
|
||||
@@ -298,12 +275,12 @@ endif
|
||||
|
||||
$(the_lib): $(the_libdir)/.stamp
|
||||
|
||||
$(build_lib): $(response) $(sn) $(BUILT_SOURCES) $(build_libdir:=/.stamp) $(GEN_RESOURCE_DEPS)
|
||||
$(LIBRARY_COMPILE) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS) $(GEN_RESOURCE_FLAGS) -target:library -out:$@ $(BUILT_SOURCES_cmdline) @$(response)
|
||||
$(build_lib): $(response) $(sn) $(BUILT_SOURCES) $(build_libdir:=/.stamp)
|
||||
$(LIBRARY_COMPILE) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS) -target:library -out:$@ $(BUILT_SOURCES_cmdline) @$(response)
|
||||
$(Q) $(SN) -R $@ $(LIBRARY_SNK)
|
||||
ifdef RESOURCE_STRINGS_FILES
|
||||
$(Q) $(STRING_REPLACER) $(RESOURCE_STRINGS_FILES) $@
|
||||
endif
|
||||
$(Q) $(SN) -R $@ $(LIBRARY_SNK)
|
||||
|
||||
ifdef LIBRARY_USE_INTERMEDIATE_FILE
|
||||
$(the_lib): $(build_lib)
|
||||
|
||||
@@ -23,6 +23,8 @@ PLATFORM_PATH_SEPARATOR = :
|
||||
# This is for changing / to \ on windows
|
||||
PLATFORM_CHANGE_SEPARATOR_CMD = cat
|
||||
|
||||
PLATFORM_AOT_SUFFIX = .dylib
|
||||
|
||||
hidden_prefix = .
|
||||
hidden_suffix =
|
||||
|
||||
|
||||
@@ -23,6 +23,8 @@ PLATFORM_PATH_SEPARATOR = :
|
||||
# This is for changing / to \ on windows
|
||||
PLATFORM_CHANGE_SEPARATOR_CMD = cat
|
||||
|
||||
PLATFORM_AOT_SUFFIX = .so
|
||||
|
||||
hidden_prefix = .
|
||||
hidden_suffix =
|
||||
|
||||
|
||||
@@ -26,6 +26,9 @@ PLATFORM_PATH_SEPARATOR = ;
|
||||
|
||||
override CURDIR:=$(shell cygpath -m $(CURDIR))
|
||||
|
||||
## not so simple :-)
|
||||
#PLATFORM_AOT_SUFFIX = .dll
|
||||
|
||||
hidden_prefix =
|
||||
hidden_suffix = .tmp
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ do-profile-check: $(depsdir)/.stamp
|
||||
$(MAKE) -s do-profile-check-monolite ; \
|
||||
else \
|
||||
echo "*** The compiler '$(BOOTSTRAP_MCS)' doesn't appear to be usable." 1>&2; \
|
||||
echo "*** You need Mono version 4.0 or better installed to build MCS" 1>&2 ; \
|
||||
echo "*** You need Mono version 3.8 or better installed to build MCS" 1>&2 ; \
|
||||
echo "*** Check mono README for information on how to bootstrap a Mono installation." 1>&2 ; \
|
||||
echo "*** The version of '$(BOOTSTRAP_MCS)' is: `$(BOOTSTRAP_MCS) --version`." 1>&2 ; \
|
||||
exit 1; fi; fi
|
||||
@@ -74,17 +74,17 @@ do-profile-check: $(depsdir)/.stamp
|
||||
ifdef use_monolite
|
||||
|
||||
do-profile-check-monolite:
|
||||
@echo "*** The contents of your 'monolite' directory may be out-of-date" 1>&2
|
||||
@echo "*** You may want to try 'make get-monolite-latest'" 1>&2
|
||||
echo "*** The contents of your 'monolite' directory may be out-of-date" 1>&2
|
||||
echo "*** You may want to try 'make get-monolite-latest'" 1>&2
|
||||
rm -f $(monolite_flag)
|
||||
exit 1
|
||||
|
||||
else
|
||||
|
||||
do-profile-check-monolite: $(depsdir)/.stamp
|
||||
@echo "*** The compiler '$(BOOTSTRAP_MCS)' doesn't appear to be usable." 1>&2
|
||||
@echo "*** Trying the 'monolite' directory." 1>&2
|
||||
@echo dummy > $(monolite_flag)
|
||||
echo "*** The compiler '$(BOOTSTRAP_MCS)' doesn't appear to be usable." 1>&2
|
||||
echo "*** Trying the 'monolite' directory." 1>&2
|
||||
echo dummy > $(monolite_flag)
|
||||
$(MAKE) do-profile-check
|
||||
|
||||
endif
|
||||
|
||||
@@ -41,7 +41,19 @@ MOBILE_PROFILE = yes
|
||||
NO_VTS_TEST = yes
|
||||
|
||||
# Note need for trailing comma. If you add, keep it
|
||||
PROFILE_TEST_HARNESS_EXCLUDES = MobileNotWorking,PKITS,
|
||||
PROFILE_TEST_HARNESS_EXCLUDES = MobileNotWorking,
|
||||
|
||||
ifndef MONO_DISABLE_GSHAREDVT
|
||||
GSHAREDVT_FLAG = -O=gsharedvt
|
||||
endif
|
||||
|
||||
ifneq ($(MONO_LLVMONLY),)
|
||||
AOT_BUILD_FLAGS_PREFIX = --aot=llvmonly,
|
||||
AOT_RUN_FLAGS = --llvmonly
|
||||
else
|
||||
AOT_BUILD_FLAGS_PREFIX = $(GSHAREDVT_FLAG) --aot=full,
|
||||
AOT_RUN_FLAGS = --full-aot
|
||||
endif
|
||||
|
||||
ALWAYS_AOT = yes
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
include $(topdir)/build/profiles/monotouch.make
|
||||
|
||||
PROFILE_MCS_FLAGS += \
|
||||
-d:FEATURE_NO_BSD_SOCKETS \
|
||||
-d:MONOTOUCH_WATCH
|
||||
|
||||
NO_THREAD_ABORT=1
|
||||
NO_THREAD_SUSPEND_RESUME=1
|
||||
NO_MULTIPLE_APPDOMAINS=1
|
||||
NO_PROCESS_START=1
|
||||
NO_MONO_SECURITY=1
|
||||
@@ -1,7 +1,6 @@
|
||||
include $(topdir)/build/profiles/monotouch_runtime.make
|
||||
|
||||
PROFILE_MCS_FLAGS += \
|
||||
-d:FEATURE_NO_BSD_SOCKETS \
|
||||
-d:MONOTOUCH_WATCH
|
||||
|
||||
NO_THREAD_ABORT=1
|
||||
@@ -9,4 +8,3 @@ NO_THREAD_SUSPEND_RESUME=1
|
||||
# The binding generator (bwatch) still needs to execute processes,
|
||||
# so we need a System.dll that can do that.
|
||||
#NO_PROCESS_START=1
|
||||
NO_MONO_SECURITY=1
|
||||
+29
-22
@@ -132,6 +132,29 @@ endif
|
||||
# Make sure propagates
|
||||
export TEST_HARNESS
|
||||
|
||||
# start aot config
|
||||
|
||||
# We set the prefix of the aot build flags
|
||||
# in the profile. This determines the aot type,
|
||||
# whether it be llvmonly or full. To this we append the
|
||||
# options which do not change between them, the INVARIANT_AOT_OPTIONS
|
||||
ifndef AOT_BUILD_FLAGS_PREFIX
|
||||
AOT_BUILD_FLAGS_PREFIX = --aot=
|
||||
endif
|
||||
|
||||
# Set the options for building and running AOT
|
||||
# The trampoline numbers are provisional, they are what is required
|
||||
# to run the corlib test suite. They should be considered a lower bound.
|
||||
INVARIANT_AOT_OPTIONS=nimt-trampolines=900,ntrampolines=8000
|
||||
|
||||
ifndef MONO_DISABLE_GSHAREDVT
|
||||
INVARIANT_AOT_OPTIONS:=$(INVARIANT_AOT_OPTIONS),ngsharedvt-trampolines=900
|
||||
endif
|
||||
|
||||
AOT_BUILD_FLAGS = $(AOT_BUILD_FLAGS_PREFIX)$(INVARIANT_AOT_OPTIONS)
|
||||
|
||||
# end AOT config
|
||||
|
||||
ifdef BCL_OPTIMIZE
|
||||
PROFILE_MCS_FLAGS += -optimize
|
||||
endif
|
||||
@@ -179,33 +202,17 @@ STD_TARGETS = test run-test run-test-ondotnet clean install uninstall doc-update
|
||||
$(STD_TARGETS): %: do-%
|
||||
|
||||
ifdef PLATFORM_AOT_SUFFIX
|
||||
AOT_PROFILE_ASSEMBLIES = $(shell cd $(topdir)/class/lib/$(PROFILE)/ && find . | grep -E '(dll|exe)$$' | grep -v -E 'bare|plaincore|secxml|Facades' | sed 's:\./::g' | tr '\n' ' ')
|
||||
Q_AOT=$(if $(V),,@echo "AOT [$(PROFILE)] AOT All Assemblies";)
|
||||
LIST_ALL_PROFILE_ASSEMBLIES = find . | grep -E '(dll|exe)$$' | grep -v -E 'bare|plaincore|secxml|Facades'
|
||||
COMPILE_ALL_PROFILE_ASSEMBLIES = $(LIST_ALL_PROFILE_ASSEMBLIES) | MONO_PATH="./" xargs -I '{}' $(RUNTIME) $(RUNTIME_FLAGS) $(AOT_BUILD_FLAGS) '{}'
|
||||
|
||||
do-all-aot:
|
||||
$(MAKE) do-all TOP_LEVEL_DO=do-all
|
||||
$(MAKE) aot-all-profile
|
||||
|
||||
# When we recursively call $(MAKE) aot-all-profile
|
||||
# we will have created this directory, and so will
|
||||
# be able to evaluate the .dylibs to make
|
||||
ifneq ("$(wildcard $(topdir)/class/lib/$(PROFILE))","")
|
||||
|
||||
AOT_PROFILE_ASSEMBLIES_CMD = cd $(topdir)/class/lib/$(PROFILE)/ && find . | grep -E '(dll|exe)$$' | grep -v -E 'bare|plaincore|secxml|Facades|ilasm' | sed 's:\./::g' | tr '\n' ' '
|
||||
AOT_PROFILE_ASSEMBLIES_CMD_SAFE = $(AOT_PROFILE_ASSEMBLIES_CMD) || true
|
||||
AOT_PROFILE_ASSEMBLIES = $(shell $(AOT_PROFILE_ASSEMBLIES_CMD_SAFE))
|
||||
|
||||
# This can run in parallel
|
||||
.PHONY: aot-all-profile
|
||||
aot-all-profile: $(patsubst %,$(topdir)/class/lib/$(PROFILE)/%$(PLATFORM_AOT_SUFFIX),$(AOT_PROFILE_ASSEMBLIES))
|
||||
|
||||
$(topdir)/class/lib/$(PROFILE)/%$(PLATFORM_AOT_SUFFIX): $(topdir)/class/lib/$(PROFILE)/%
|
||||
@ mkdir -p $(topdir)/class/lib/$(PROFILE)/$*_bitcode_tmp
|
||||
@echo "AOT [$(PROFILE)] AOT $* " && cd $(topdir)/class/lib/$(PROFILE)/ && MONO_PATH="." $(RUNTIME) $(RUNTIME_FLAGS) $(AOT_BUILD_FLAGS),temp-path=$*_bitcode_tmp $* >> $(PROFILE)-aot.log
|
||||
@ rm -rf $(topdir)/class/lib/$(PROFILE)/$*_bitcode_tmp
|
||||
|
||||
endif #ifneq ("$(wildcard $(topdir)/class/lib/$(PROFILE))","")
|
||||
|
||||
endif # PLATFORM_AOT_SUFFIX
|
||||
aot-all-profile:
|
||||
$(Q_AOT) cd $(topdir)/class/lib/$(PROFILE)/ && $(COMPILE_ALL_PROFILE_ASSEMBLIES) &> $(PROFILE)-aot.log
|
||||
endif
|
||||
|
||||
do-run-test:
|
||||
ok=:; $(MAKE) run-test-recursive || ok=false; $(MAKE) run-test-local || ok=false; $$ok
|
||||
|
||||
@@ -123,20 +123,12 @@ TEST_HARNESS_POSTPROC_ONDOTNET = (echo ''; cat TestResult-ondotnet-$(PROFILE).lo
|
||||
endif
|
||||
|
||||
ifdef FIXTURE
|
||||
ifdef NUNIT_LITE
|
||||
FIXTURE_ARG = -test=MonoTests.$(FIXTURE)
|
||||
else
|
||||
FIXTURE_ARG = -fixture=MonoTests.$(FIXTURE)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef TESTNAME
|
||||
ifdef NUNIT_LITE
|
||||
TESTNAME_ARG = -test=MonoTests.$(TESTNAME)
|
||||
else
|
||||
TESTNAME_ARG = -run=MonoTests.$(TESTNAME)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef ALWAYS_AOT
|
||||
test-local-aot-compile: $(topdir)/build/deps/nunit-$(PROFILE).stamp
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -36,7 +36,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -36,7 +36,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -101,7 +101,7 @@ $(ProjectDir)\..\..\jay\jay -ct < $(ProjectDir)\..\..\jay\skeleton.cs $(Proje
|
||||
|
||||
</PreBuildEvent>
|
||||
<PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">
|
||||
$(ProjectDir)\..\..\jay\jay -ct < $(ProjectDir)\..\..\jay\skeleton.cs $(ProjectDir)\Commons.Xml.Relaxng.Rnc\RncParser.jay > $(ProjectDir)\Commons.Xml.Relaxng.Rnc\RncParser.cs
|
||||
$(ProjectDir)\..\..\jay\jay.exe -ct < $(ProjectDir)\..\..\jay\skeleton.cs $(ProjectDir)\Commons.Xml.Relaxng.Rnc\RncParser.jay > $(ProjectDir)\Commons.Xml.Relaxng.Rnc\RncParser.cs
|
||||
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -36,7 +36,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -36,7 +36,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-4
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -54,9 +54,7 @@
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Compile Include="..\..\..\build\common\MonoTODOAttribute.cs" />
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
<Compile Include="RegistryAclExtensions.cs" />
|
||||
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
||||
@@ -14,6 +14,8 @@ SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
|
||||
LIB_REFS = System
|
||||
LIB_MCS_FLAGS = $(SIGN_FLAGS)
|
||||
|
||||
PLATFORM_DEBUG_FLAGS =
|
||||
|
||||
NO_TEST = yes
|
||||
|
||||
include $(MCS_BUILD_DIR)/library.make
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -55,9 +55,6 @@
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
<Compile Include="DbColumn.cs" />
|
||||
<Compile Include="DbDataReaderExtensions.Facade.cs" />
|
||||
<Compile Include="IDbColumnSchemaGenerator.cs" />
|
||||
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
@@ -93,10 +90,6 @@
|
||||
<Project>{EC439BB8-FFED-4A32-A05D-2FA3A70CAD64}</Project>
|
||||
<Name>System.Data-net_4_x</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="../../System.XML/System.Xml-net_4_x.csproj">
|
||||
<Project>{87FD2F0F-5222-4AE6-BD63-2D4975E11E5B}</Project>
|
||||
<Name>System.Xml-net_4_x</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Properties\" />
|
||||
|
||||
@@ -14,6 +14,8 @@ SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
|
||||
LIB_REFS = System System.Data System.Xml
|
||||
LIB_MCS_FLAGS = $(SIGN_FLAGS)
|
||||
|
||||
PLATFORM_DEBUG_FLAGS =
|
||||
|
||||
NO_TEST = yes
|
||||
|
||||
include $(MCS_BUILD_DIR)/library.make
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-4
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -54,9 +54,7 @@
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Compile Include="..\..\..\build\common\MonoTODOAttribute.cs" />
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
<Compile Include="StackFrameExtensions.cs" />
|
||||
<Compile Include="TypeForwarders.cs" />␍ </ItemGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
||||
@@ -14,6 +14,8 @@ SIGN_FLAGS = /delaysign /keyfile:$(KEY_FILE) /nowarn:1616,1699
|
||||
LIB_REFS = System
|
||||
LIB_MCS_FLAGS = $(SIGN_FLAGS)
|
||||
|
||||
PLATFORM_DEBUG_FLAGS =
|
||||
|
||||
NO_TEST = yes
|
||||
|
||||
include $(MCS_BUILD_DIR)/library.make
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>false</Optimize>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>TRACE;NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
@@ -42,7 +42,7 @@
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<NoWarn>1699,1616,1699</NoWarn>
|
||||
<Optimize>true</Optimize>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO</DefineConstants>
|
||||
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;DISABLE_CAS_USE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
Loaded 100 of 2244 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user