Commit graph

214 commits

Author SHA1 Message Date
Andrew Stanton-Nurse
90307bc71e fix dotnet-repl-csi 2015-11-25 11:19:31 -08:00
Gaurav Khanna
2d81eced8c 1) Adding support to invoke CLang/Linker for Mac
2) Expecting AppDep native libs to be under <AppDepRoot>\CPPSdk\<OS>\x64 folder instead of <AppDepRoot>
Update the references to Microsoft.DotNet.ILCompiler and Microsoft.DotNet.AppDep packages with Mac CPPCodegen support.
2015-11-25 07:40:10 -08:00
Krzysztof Wicher
3ed32a71e1 Merge pull request #284 from livarcocc/refactor_native_args
Refactor native args
2015-11-24 13:30:38 -08:00
Senthil
c29d840424 Invoke corerun for ilc from --ilcpath 2015-11-23 15:03:25 -08:00
Bryan Thornbury
9067864afe Changes for corehost default path resolution on mac 2015-11-20 17:24:00 -08:00
Livar Cunha
39fd1ed5c5 Refactoring the arguments parser into a separate Parser and refactoring the creation of the NativeCompilerSettings into a method of ArgValues. 2015-11-20 17:23:50 -08:00
Livar Cunha
db3a9ffc20 Moving validation into NativeCompileSettings. Left argument requirement and argument to enum validation in the ArgumentSyntax delegate 2015-11-20 17:23:50 -08:00
Livar Cunha
0b6a084d1f Moving default values inside NativeCompileSettings 2015-11-20 17:23:49 -08:00
Andrew Stanton-Nurse
da70b047e9 add missing Pack xproj 2015-11-20 11:37:24 -08:00
Senthil
3a1cc24de3 Merge pull request #276 from schellap/master
Plumb ILC Path to DotNet Compile Native
2015-11-20 11:36:28 -08:00
schellap
31700a0ae9 Pass ILC Path to DotNet Native Compile 2015-11-20 11:19:28 -08:00
Bryan Thornbury
69d01ff168 Merge pull request #273 from brthor/brthor/corehost
CoreHost Changes for Linux
2015-11-20 10:52:17 -08:00
Bryan
f9dda0ca3a Corehost changes for linux/mac default installations 2015-11-19 18:03:35 -08:00
Andrew Stanton-Nurse
c14e512a03 wip 2015-11-19 17:24:01 -08:00
Andrew Stanton-Nurse
103aaa4d8e add default values for DOTNET_HOME in corehost
fixes #234
2015-11-19 17:24:01 -08:00
Senthil
28d0236bb0 Fix quotes in native CPP intermediate compilation
Continuation of path quote fixes from:
96c62d2d25

@livarcocc/@brthor, PTAL
2015-11-19 16:45:54 -08:00
schellap
96c62d2d25 Fix quotes around path containing spaces 2015-11-19 16:06:58 -08:00
Bryan Thornbury
7665e99edd Add -lrt to RyuJit mode, not cpp 2015-11-19 13:52:16 -08:00
Bryan Thornbury
f3f0d389d8 Add -Xlinker -lrt to fix issues with linking libSystem.Native.a, change --ilc-args to --ilcargs 2015-11-19 12:29:30 -08:00
Livar Cunha
cd97e2d8c6 Replacing TABs with SPACEs in WindowsLinkStep 2015-11-19 10:35:05 -08:00
Livar Cunha
fe110f4497 Fixing the path for the includes in windows for cpp native 2015-11-18 17:21:46 -08:00
Bryan
8b66db56c6 Link in msvcrt, Fix output path bug 2015-11-18 17:03:29 -08:00
Livar Cunha
d0100335da Changing native out flag to output flag to match compiler. Also changing the rsp file spliting to handle both /r/n and /r
Fixing the input path to the native compiler. It was adding /native to it before.

Switching compile native to System.CommandLine for args parsing and removing quotes from -native.rsp.

Fixing build_appdeps.cmd: Removed the * from __ApPDepSDK as xcopy does not honor that. In order to stay independent of the version of appDep, we CD into the appDepSDK and then navigate to the first folder we find, which should always be one, as we clear the folder before restoring appDep, after that we xcopy
2015-11-18 17:03:28 -08:00
Bryan Thornbury
9fbf7a7995 Add msvcrt library to link step 2015-11-18 17:02:30 -08:00
Andrew Stanton-Nurse
04624ff5d1 add script executor
also added a postcompile script to each project to place the outputs in the right folder

fixes #237
2015-11-18 14:28:07 -08:00
Andrew Stanton-Nurse
d415aa705b clean up the SLN and projects 2015-11-18 12:05:13 -08:00
David Fowler
8370a2b929 Fixed compilation error 2015-11-18 06:48:31 -08:00
Piotr Puszkiewicz
c284a7492a Merge pull request #217 from brthor/dotnet-compile-natives
dotnet-compile-native
Thanks for getting this in!
2015-11-18 02:11:11 -08:00
Bryan
325a5af4cf Merge branch 'dotnet-compile-natives' of https://github.com/brthor/cli into dotnet-compile-natives 2015-11-18 01:54:28 -08:00
Bryan
1455d9151d Don't copy Appdeps on mac. Bump appdep package version number 2015-11-18 01:53:05 -08:00
Bryan Thornbury
bd9277e906 Merge pull request #1 from piotrpMSFT/brthor-dotnet-compile-natives
Brthor dotnet compile natives
2015-11-18 01:34:04 -08:00
Bryan
8768b873bd Fix Windows AppDep, bump ILCompiler Version to fix cache issue 2015-11-18 01:19:06 -08:00
Zlatko Knezevic
23e19d326a Fix READMEs in command folders
Some of the README.md files in the commands' folders weren't valid.
Changing them to better illustrate the current state.
2015-11-18 01:15:07 -08:00
piotrp
f382872c41 Adding Readme.md
Cleaning up some options
Renaming BuildType to BuildConfiguration
2015-11-18 00:34:09 -08:00
Andy Gocke
b011e7f8a4 Also set publicsign when not on windows 2015-11-18 00:00:31 -08:00
Andy Gocke
869b927350 Upgrade csc ref to latest
Provides a few benefits:

1) The new package has the correct dependencies listed, so I removed the
-MissingDependenciesOK flag from the crossgen scripts.

2) The new compiler supports -publicSign (formerly called "OSS sign"),
which I patched through dotnet-compile-csc .
2015-11-17 23:37:39 -08:00
piotrp
42e557408a Adding to sln 2015-11-17 23:01:48 -08:00
Piotr Puszkiewicz
380eda370c Merge pull request #209 from dotnet/anurse/202-duplicated-help
fix #202 by exiting on invalid option
2015-11-17 22:04:05 -08:00
Bryan
56d4e15040 Adding missing files 2015-11-17 20:39:08 -08:00
Bryan
5db8ae5e6d Code Review Feedback 2015-11-17 20:39:07 -08:00
Bryan
fd471025dc Linux CPP Mode Working. 2015-11-17 20:38:59 -08:00
Bryan
1952e6d972 Dotnet compile include project dependencies 2015-11-17 20:38:04 -08:00
Bryan
1576ffeb15 Dotnet compile --native integration with rsp file 2015-11-17 20:38:04 -08:00
Bryan
4141e1ec5b Pin Dependencies in project.json, fix version of ObjectWriter 2015-11-17 20:38:03 -08:00
Bryan
c32b262eef ILC Path in settings 2015-11-17 20:36:29 -08:00
Bryan
3c0b0ce73c Change ILToNative Path to ilcpath 2015-11-17 20:36:29 -08:00
Bryan
17232e836d Code Review Feedback. Refactor Config Class Name 2015-11-17 20:36:28 -08:00
Bryan
22b3b497e0 Fixes for Windows. 2015-11-17 20:36:27 -08:00
Bryan
da8bd2a6f6 dotnet-compile-native
Supports IL to Native compilation on Windows using CPP and RyuJit Code
Generators. Supports RyuJit Code generation on Linux.
2015-11-17 20:36:26 -08:00
Krzysztof Wicher
427101e36c simplify template project.json 2015-11-17 12:26:14 -08:00