Commit Graph

137 Commits

Author SHA1 Message Date
Saleem Abdulrasool
9fa91e97aa Merge pull request #21934 from apple/1-cheese-path-please
Update WindowsBuild.md
2019-01-16 19:44:35 -08:00
Saleem Abdulrasool
9f6d3b95d4 Update WindowsBuild.md
Prepend to the path rather than append to ensure that the new compiler is picked up.  Thanks to @lanza for pointing this out.
2019-01-16 14:31:01 -08:00
Nathan Lanza
1d16e44103 Fix type in WindowsBuild.md 2019-01-16 13:08:30 -08:00
Saleem Abdulrasool
42a47bd58f Update WindowsBuild.md
Add missing quotes to command to make it work.
2019-01-07 13:18:43 -08:00
Saleem Abdulrasool
865ab20452 Update WindowsBuild.md 2019-01-03 12:42:26 -08:00
Saleem Abdulrasool
24c031a7cf Update WindowsBuild.md
Update the windows build documentation for setting up the drive substitution as well as fix the rules for building swift, cmark, etc.
2019-01-03 10:14:36 -08:00
Saleem Abdulrasool
6e51fbbd91 Merge pull request #21524 from apple/windows-git-usage
docs: add some notes on Windows source management
2019-01-02 08:27:44 -08:00
Saleem Abdulrasool
7b10ac40b1 doc: update external Windows test dependencies
`file` is needed during tests, add a note on that.
2018-12-25 15:26:47 -08:00
Saleem Abdulrasool
7450217605 docs: add some notes on Windows source management
Windows uses CR+LF for line endings while Unix uses LF.  The tests are setup to expect Unix-style line endings.  Ensure that git does not convert between them which will result in test failures.
2018-12-22 12:26:33 -08:00
Saleem Abdulrasool
dfc9668488 docs: add documentation for libdispatch on windows
Add documentation for building libdispatch on Windows.  This is needed for building foundation.  Clean up some mistakes while here.  Adjust the swift-corelibs-foundation build to start building the swift side of the world as well.
2018-12-18 15:08:58 -08:00
Saleem Abdulrasool
6a991bcae8 Update WindowsBuild.md
Update the documentation to cover how to start building swift-corelibs-foundation now that the port of it is sufficiently far along that others can start helping soon.  Take the opportunity to reduce some of the clutter in the parameters to make it easier to see the parameters at a glance.
2018-12-18 13:03:29 -08:00
Saleem Abdulrasool
c3a26ecd55 docs: running tests on Windows
Start documenting how to run the test suite on Windows so that others can easily reproduce the test results.  Document the external dependencies from the test suite.  Since the LLVM test suite depends on the GNUWin32 tools, I believe that this dependency is not too onerous.  Over time, it may be possible to implement more of the functionality in lit to reduce the dependency, but, for now, use the tools to speed up the test suite bring up.
2018-12-15 10:47:18 -08:00
Saleem Abdulrasool
eab34b613c simplify lldb build instructions
Update the LLDB build instructions for windows to be simpler and use MSVC to build.  This is just as effective and has the benefit of making it easier to debug lldb.
2018-12-04 18:43:56 -08:00
Saleem Abdulrasool
b1dcf73b31 Update Windows.md
Update the cmake configuration to actually reflect the current state of the world.  This now builds against the MSVC built LLVM/clang and builds with clang-cl.  This also enables building the test suite since that is starting to work on Windows.  The MSVC commands are still out of date, but this is an overall improvement to the instructions.  Since the primary work shifted towards Windows x86_64, we can use the prebuilt binaries for ICU from the ICU project as they provide Windows x86_64 builds.
2018-12-03 11:40:01 -08:00
Xiaodi Wu
bcedc30bd9 [NFC] Fix a typo and remove a comma in WindowsBuild.md 2018-11-29 18:59:48 -05:00
Saleem Abdulrasool
a9c68c1908 Update Windows build instructions
Update the windows build instructions to account for:
- the new module (WinSDK), the changes in the ICU configuration
- the need for Visual Studio 2017
- the dropped requirement for installing Python, CMake, Ninja as they are part of VS2017
- the fact that the release mode crasher has been fixed
- the fact that swift-corelibs-libdispatch is supported on Windows
- the changes in clang's flags due to updates to clang
2018-11-29 09:09:04 -08:00
Saleem Abdulrasool
e958f057bc docs: don't bother building compiler-rt on Windows
We do not currently use compiler-rt's functionality on Windows.  Avoid the unnecessary build.  This is intended to simplify the build instructions for Windows.
2018-11-26 11:17:07 -08:00
Saleem Abdulrasool
32af975bc2 docs: update Windows build documentation for clang
Avoid using a junction when building the llvm/clang tools.  Prefer to use the LLVM projects support instead.
2018-11-22 11:31:11 -08:00
Saleem Abdulrasool
b739e09845 docs: add missing flag for CMake configure on Windows
When building on Windows, we need to set the target triple explicitly to
x86_64-unknown-windows-msvc to ensure that the environment is specified
to define the os condition properly.
2018-11-05 18:29:00 -08:00
Jason Mittertreiner
c4021d8720 Clarified Windows build docs
- The module maps need to be renamed to module.modulemap
- The module maps need to be copied for non cross compiled builds as well
- The cmake variable is DIRS not DIR
2018-10-23 17:57:53 -07:00
Jason Mittertreiner
2d41f7896b Provide the correct path in WindowsBuild.md
If you follow steps 1-6 in the build, you end up with a build directory
called "Ninja-DebugAssert", not Ninja-RelWithDebInfoAssert as provided in
the code snippet.
2018-09-21 11:21:05 -07:00
Dietmar Planitzer
47d30ee445 Updated the Windows build documentation:
- made the build type consistent across all subprojects
- point out that the release build may crash
- link the Swift compiler and runtime libraries with incremental linking turned off
- suppress expected warnings
- added missing build parameters to the lldb cmake invocation line
- added simple installation instructions
2018-06-22 10:08:50 -07:00
Andrew Breckenridge
31c92855fd windows/docs: remove 2 hour estimate
This could take much longer, let's not lie
2018-04-27 11:26:06 -07:00
Saleem Abdulrasool
4aaa60dd4d build: add documentation for building lldb on Windows
Add documentation to enable building lldb on Windows to debug swift code.
2018-04-26 13:05:52 -07:00
Saleem Abdulrasool
dc7df33a37 docs: correct CMake variable name for Windows build
The windows build cannot be built with `build-script` as that is written in bash.  Correct the documentation to use the right variable name.
2018-04-10 09:52:58 -07:00
Xiaodi Wu
2cca78bb4f [gardening] Address a typo and some punctuation in WindowsBuild.md 2018-03-22 23:22:21 -05:00
Andrew Breckenridge
a5b777625c docs/Windows: Add disclaimer about llvm_bin_dir & fixup LLVM paths 2018-03-21 14:18:52 -07:00
Andrew Breckenridge
9edc07cd9e docs/Windows: Add note about using forward slashed paths 2018-03-21 14:10:42 -07:00
Andrew Breckenridge
55c1b2d850 docs/Windows: Remove extra bin from DCMAKE_CXX_COMPILER path 2018-03-21 14:10:42 -07:00
Andrew Breckenridge
42b4add93e docs/Windows: remove unnecessary ninjas in mkdirs 2018-03-21 14:10:42 -07:00
Andrew Breckenridge
55a129cc5e docs/Windows: Add env var for llvm bin dir 2018-03-21 14:10:42 -07:00
Gonsolo
0e041918ed Remove wrong statement
This statement and the build commands below contradict each other.
2018-03-09 11:32:38 +01:00
Andrew Breckenridge
2c8d58c6fd docs/WindowsBuild: Update cmark build invocation to Release mode 2018-02-26 13:44:37 -08:00
Andrew Breckenridge
beec93dc18 docs/WindowsBuild: Reorder clang-cl & MSVC + Add MSVC Swift invocation 2018-02-21 13:44:32 -08:00
Andrew Breckenridge
6a8b1e2a40 docs/Windows: Format and clarify documentation 2018-02-20 20:33:09 -08:00
Andrew Breckenridge
9305156c05 docs/WindowsBuild: Remove incorrect comment about supported versions 2018-02-20 17:16:20 -08:00
Andrew Breckenridge
dc103336d1 docs/Windows: Split doc into multiple files 2018-02-20 17:15:53 -08:00