Commit Graph

102 Commits

Author SHA1 Message Date
Patrick Deschênes
2a8546862c doc, windows: set LLVM_ENABLE_LIBEDIT=NO
Necessary to make the source compile. This option is used in the
current azure pipeline.
2020-03-09 21:58:31 -04:00
Patrick Deschênes
58f6e9ba26 doc, windows: break down the cmake command
Rewrite the cmake command on multiple lines to see each option more
clearly.
2020-03-09 21:58:18 -04:00
Patrick Deschênes
9fd34abb7c doc, windows: remove extra parenthesis 2020-03-09 21:57:46 -04:00
Patrick Deschênes
0484ef0af3 docs: Update WindowsBuild.md
Update azure links
2020-03-05 20:10:48 -05:00
yostane
8c2854f8f2 Added more details to "Building Swift on Windows" (#28496)
* Added more details to "Building Swift on Windows"
2020-01-07 10:03:43 -08:00
Saleem Abdulrasool
87cc554d5b docs: Update WindowsBuild.md
Improve rules for swiftpm and tsc builds.
2019-12-11 15:43:12 -08:00
Saleem Abdulrasool
b8be8b20fa Update WindowsBuild.md
Some minor cleanups to paths to reduce dependence on the environment variables.  Start documenting building t-s-c which is needed to bootstrap s-p-m.
2019-11-21 09:59:59 -08:00
Saleem Abdulrasool
370cd9e115 Update WindowsBuild.md
Update rules for building llbuild, fix invocation for Foundation
2019-11-19 13:05:56 -08:00
Saleem Abdulrasool
af75939bf6 Update WindowsBuild.md
Update rules for the Windows build after CMake 3.15 upgrade.  This simplifies the rules, relies on the export targets and removes the unnecessary variables.
2019-11-13 10:43:56 -08:00
Saleem Abdulrasool
44bde54938 Update WindowsBuild.md
Update dispatch parameters for Foundation
2019-11-11 16:24:46 -08:00
Saleem Abdulrasool
c028475065 Update WindowsBuild.md
Correct paths for one-time setup
2019-10-31 15:51:37 -07:00
Saleem Abdulrasool
b4b4b9f9ef Update WindowsBuild.md
Further improvements to the text and simplifications to the directions for building on Windows.
2019-10-30 16:35:06 -07:00
Saleem Abdulrasool
5f50f67254 Update WindowsBuild.md
- remove numbers on steps, they get out of sync and auto-numbering headers doesn't work
- correct some header titles
- re-render the tree to be ascii pretty
- split out "one-time setup" from "getting started"
- fix invocation of cmake for toolchain
- fix libdispatch build rules
- convert libdispatch build rules to be copy-paste friendly
- add libdispatch test instructions
2019-10-30 09:04:13 -07:00
Saleem Abdulrasool
1b31094a36 Update WindowsBuild.md
Update for the monorepo.
2019-10-24 15:38:17 -07:00
Jonas Devlieghere
40e5924f60 Merge pull request #27814 from JDevlieghere/use-static-bindings
[CMake] Fix the static bindings workflow.
2019-10-24 09:20:19 -07:00
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