Commit Graph

137 Commits

Author SHA1 Message Date
Saleem Abdulrasool
7ca58accc8 Update WindowsBuild.md
Remove clone commands for curl and libxml2 as they are prebuilt now.
2019-10-23 21:25:10 -07:00
Jonas Devlieghere
ec21125988 [CMake] Fix the static bindings workflow.
Rename LLDB_ALLOW_STATIC_BINDINGS to LLDB_USE_STATIC_BINDINGS and make
LLDB use the static bindings unconditionally when it's set. The current
variable is opaque because it allows LLDB to use the static bindings,
but only if SWIG is not found. If an incompatible version of swig is
found, it reports a fatal error. This serves no purpose other than to
confuse the user.

The corresponding LLDB patch simplifies things and makes the variable do
what you expect. When enabled, LLDB uses the static bindings. When
disabled, we try to generate them with SWIG.

This patch modifies the build scripts to pass the new variable.
2019-10-21 14:39:25 -07:00
Puyan Lotfi
08e64f8679 Update WindowsBuild.md
Adding updated instructions for building on windows.
2019-10-17 15:07:55 -07:00
Saleem Abdulrasool
d5b761c0e1 Update WindowsBuild.md
Remove time references, they do not add to the instructions.
2019-10-12 17:37:32 -07:00
Saleem Abdulrasool
1e0d92749f Update WindowsBuild.md
Update instructions for building LLDB
2019-10-02 11:30:11 -07:00
Sasha Krassovsky
03a9ccc295 Update windows build guide 2019-07-08 16:45:14 -07:00
Saleem Abdulrasool
0150ae52ca Update WindowsBuild.md
Update build rules for llbuild after CMake cleanups.
2019-06-14 11:37:47 -07:00
Saleem Abdulrasool
f242b685a8 Update WindowsBuild.md
Ensure that symlinks are handled properly on Windows, which are disabled by default.
2019-06-02 21:47:30 -07:00
Saleem Abdulrasool
516411db61 Update WindowsBuild.md
Fix stray case of ICU 63.1 path to 64.2
2019-06-01 19:53:47 -07:00
Gonsolo
616877af4a Spelling fix. 2019-05-31 14:57:04 +02:00
Saleem Abdulrasool
28f864285c Update WindowsBuild.md
Update build rules to use ICU 64.2.  The CI is migrating to ICU 64.2 which is locally built to avoid spurious failures in the build due to download failures.
2019-05-29 09:57:22 -07:00
Saleem Abdulrasool
042047f6fc Update WindowsBuild.md
Clean up the Windows build steps to use `md` and `cd`, remove the unnecessary `pushd`, `popd`, directly invoke `ninja` rather than invoking it through `cmake`.
2019-04-18 09:35:03 -07:00
Saleem Abdulrasool
efa6e85c3c Update WindowsBuild.md
Add single command path modifier for ease.  Fix llbuild path.
2019-04-16 15:04:00 -07:00
Saleem Abdulrasool
0fe24127b3 Update WindowsBuild.md
The JScript engine is not always associated with `.js` files on Windows these days.  Explicitly specify the engine.
2019-04-14 15:09:28 -07:00
Saleem Abdulrasool
7682fe1fd3 Update WindowsBuild.md
Update instructions to build swift bindings for llbuild.  Fix sqlite3 build rule.
2019-04-12 14:07:38 -07:00
Saleem Abdulrasool
7f9a32aed1 Update WindowsBuild.md
`XCTEST_PATH_TO_COREFOUNDATION_BUILD` is no longer needed/used.
2019-04-12 09:36:49 -07:00
Saleem Abdulrasool
d29aecadac Update WindowsBuild.md
Fix build rule for llbuild
2019-04-11 13:21:25 -07:00
Saleem Abdulrasool
44005ad186 Update WindowsBuild.md
Ensure that we document that `llbuild` requires a variable set to build since it does not use cross-compile friendly tools by default.
2019-04-10 16:21:22 -07:00
Saleem Abdulrasool
969b3cf25a Update WindowsBuild.md
Drop the GnuWin32 dependency, clean up the header.
2019-04-03 17:31:24 -07:00
Saleem Abdulrasool
edc2504c1d Update WindowsBuild.md
Remove prelude as the documentation now covers the use of `cl` to build as it is stable and does a better job overall compared to `clang-cl` (better generated binaries, faster builds, better (working) debug information).
2019-03-31 13:34:21 -07:00
Saleem Abdulrasool
bf73d872cc Update WindowsBuild.md
Updates for building llbuild, swift-package-manager, sqlite.
2019-03-27 09:58:56 -07:00
Saleem Abdulrasool
389c050d7b Update WindowsBuild.md
Adjust build recipe for lldb builds which require ARM support.  Fix quoting.
2019-03-25 14:42:02 -07:00
Saleem Abdulrasool
79cf4608c0 Update WindowsBuild.md
Add instructions to enable tests on Windows.  This requires additional patches to libdispatch and Foundation to enable the build as well as run.  But, this is in preparation for those changes to get merged and for others to replicate the test suite.
2019-03-11 19:10:54 -07:00
Saleem Abdulrasool
1206380cea Update WindowsBuild.md
Extract curl build instructions into a step.  This makes it easier to identify where the instructions are.
2019-03-02 15:17:28 -08:00
Saleem Abdulrasool
962f68ddad Update WindowsBuild.md
Corrections and improvements to the documentation to build on Windows.  This includes:
- switching to `cl` for the swift build
- setting up the paths correctly
- correcting the instructions for XCTest builds
- setup to ensure that XCTest can be tested in the future
- fixes to actually get the swift tests to run on Windows
- removal of unnecessary arguments to libdispatch build
2019-02-26 14:15:14 -08:00
Saleem Abdulrasool
887019a5d7 Update WindowsBuild.md
Add instructions for building libxml2.  The libxml2 available for Windows is built against MinGW and requires iconv support.  Simply build our own version of libxml2 to avoid the dependency.
2019-02-25 16:36:17 -08:00
Saleem Abdulrasool
4ce2f990c5 Update WindowsBuild.md
SourceKit now is enabled by default on Windows.
2019-02-25 10:36:31 -08:00
Saleem Abdulrasool
1139f4d3dc Update WindowsBuild.md
Document how to build XCTest for Windows
2019-02-24 18:27:35 -08:00
Saleem Abdulrasool
ef242415e5 Update WindowsBuild.md
Swap order of build for LLVM/clang and CMark.
2019-02-24 15:01:26 -08:00
Saleem Abdulrasool
0809afb1b0 Update WindowsBuild.md
Simplify the CMake invocation for Swift and match `build-script`.
2019-02-22 13:24:04 -08:00
Saleem Abdulrasool
9f0f3e3450 Update WindowsBuild.md
Now that the flags have been fixed for the runtime build, we no longer need to ignore the overly verbose warnings.  We now emit warnings which we should really cleanup.
2019-02-22 10:17:40 -08:00
Robert Widmann
441c85fe98 Merge pull request #22499 from rex4539/fix-typos
Fix typos
2019-02-14 14:11:27 -05:00
swift-ci
ae862f3892 Merge pull request #22522 from xiaobai/patch-2 2019-02-13 15:11:20 -08:00
Alex Langford
7c327468e0 Update WindowsBuild.md
Remove unused variables from LLDB build
2019-02-12 16:35:03 -08:00
Alex
122abb4376 Update WindowsBuild.md
Let's make sure that the LLVM/Clang builds are compatible with the other projects builds.
2019-02-12 15:22:59 -08:00
Saleem Abdulrasool
0ac605fb83 Update WindowsBuild.md
Add a missing `popd` and add note about the 64-bit python.  Remove an obsolete comment about `SWIFT_WINDOWS_LIBRARY_DIR`.
2019-02-11 20:26:06 -08:00
Saleem Abdulrasool
1ed07848ab Update WindowsBuild.md
Deal with different python versions being installed.  GYB is python2 only and breaks with python 3.x.  Ensure that we pick up python 2.7 when building (this is the version vended by Visual Studio and is the stable 2.x series release).
2019-02-11 09:58:18 -08:00
Dimitris Apostolou
d84048e555 Fix typos 2019-02-11 08:33:47 +02:00
Saleem Abdulrasool
9932c5d69e Update WindowsBuild.md
Update instructions to add ICU to path to avoid the multiprocessing failure.  Additionally, remove the `file` tool as that is no longer needed for the test suite.
2019-02-08 17:01:19 -08:00
Saleem Abdulrasool
e74ef5d892 Update WindowsBuild.md
Enable SourceKit builds by default even on Windows, this has been ported to Windows though the test suite is not yet ready.
2019-02-07 15:03:17 -08:00
Saleem Abdulrasool
a97c732d75 Update WindowsBuild.md
Add a workaround to try to reduce the path lengths a bit since it is unlikely that LLVM will accept changes to improve `lit` to support long paths on Windows.  There is strong opposition to improvements there from @rui314 and @nico at https://reviews.llvm.org/D57533 .
2019-02-06 08:55:26 -08:00
Saleem Abdulrasool
90a4485b31 Update WindowsBuild.md
Default to RelWithDebInfo builds on Windows because the build times with everything debug is ludicrous.  This gives a relatively useful build for development, even though the targets built with `clang-cl` have a slightly poorer debugging experience.  This reduces the build time by an order of magnitude though.  In theory, it is possible to build a second build of LLVM and Clang to get a debug build of the swift compiler building with a release build of clang.
2019-02-04 17:55:50 -08:00
Saleem Abdulrasool
da4b18b843 Update WindowsBuild.md
Make lldb recipe copy-pasteable.
2019-02-04 15:25:07 -08:00
Saleem Abdulrasool
cb337d8803 Update WindowsBuild.md
Update docs for lldb builds and fix a typo in the path in the copy-paste commands.
2019-01-29 12:52:52 -08:00
Saleem Abdulrasool
afd8ea29c9 Update WindowsBuild.md
Improve python support documentation for lldb
2019-01-28 14:06:53 -08:00
Gwynne Raskind
060d2b5787 Put libdispatch source path back in Swift cmake invocation 2019-01-27 16:13:14 -06:00
Gwynne Raskind
745543a8fc Several minor fixes to Windows build instructions
- Fix minor typos
- Add missing `git clone` for LLDB
- Fix inconsistent/missing quotes in code blocks
- A few other consistency fixups
- `SWIFT_PATH_TO_LIBDISPATCH_SOURCE` is only used on Linux
- Use `-A` and `-T` with modern CMake instead of `-DCMAKE_GENERATOR_PLATFORM`
- Add missing info on `libcurl` and `libxml2` requirements for `swift-corelibs-foundation`
2019-01-27 15:55:06 -06:00
Saleem Abdulrasool
b2d68b8163 Merge pull request #22062 from apple/master-manipulator
Update WindowsBuild.md
2019-01-23 16:43:15 -08:00
Saleem Abdulrasool
69406baf76 Update WindowsBuild.md
Add additional path updates to allow the tests to run properly.
2019-01-23 10:22:59 -08:00
Saleem Abdulrasool
ee67468b32 Update WindowsBuild.md
Update the generator replacement instructions.  This ensures that the instructions are correct given all the updates for the windows build instructions.
2019-01-23 10:14:29 -08:00