Commit Graph

137 Commits

Author SHA1 Message Date
LamTrinh.Dev
b6239b8cee [docs] Update links to repositories moved to https://github.com/swiftlang/ 2024-07-22 12:22:43 -07:00
Alex Hoppen
8e20a6f479 Update links for repositories moved to the swiftlang org on GitHub 2024-06-25 04:35:39 -07:00
Saleem Abdulrasool
fc070c6167 platform: restructure visualc module
Restructure the `visualc` module into `vcruntime` in order to help
expose the various components (SAL, vcruntime, ucrt, corecrt, STL) for C++
modularization.  Include the `stdint.h` textually to deal with
redefinition of types in clang resources and MSVC.
2022-06-26 14:06:59 -07:00
Butta
2890d15da7 [build] Remove last vestiges of ICU for anything other than Foundation 2021-12-25 21:16:34 +05:30
Saleem Abdulrasool
e0959541fd Update WindowsBuild.md
Add workaround for newer CMake versions (ensuring that the MSVC mt is used instead of the LLVM one).  Additionally, add some libxml2 flags for when building with the new upstream CMake builds as opposed to the original ones referenced here.
2021-09-19 10:08:02 -07:00
Saleem Abdulrasool
fb0ceeffc6 Update WindowsBuild.md
When building against released libxml2 versions from upstream, we need to explicitly specify the static flag.  This should help make the builds reproducible by others.
2021-07-20 16:45:15 -07:00
Saleem Abdulrasool
fb9c585812 Update WindowsBuild.md
Be more explicit about the Visual Studio installer bootstrapper.  This was pointed out as being unclear by @slavapestov.
2021-07-16 15:15:33 -07:00
Saleem Abdulrasool
f50e9804dd Update WindowsBuild.md
Update the path setting for the new location of libdispatch builds.
2021-06-24 08:41:21 -07:00
Saleem Abdulrasool
671d6e380e Update WindowsBuild.md
Add a note about reducing parallel link operations for memory exhaustion when building.  Thanks to @BradLarson for pointing out that this may be something that may not be obvious to all users.
2021-06-17 17:39:00 -07:00
Michelle Casbon
a5034bc22b Correct path in Windows build guide 2020-10-19 20:23:50 +00:00
Mishal Shah
40024718ac Update doc and links to support new main branch 2020-09-22 23:53:29 -07:00
stevapple
0e68e4de9a Fix WindowsBuild.md 2020-09-10 22:16:56 +08:00
Saleem Abdulrasool
4b3d15d65a Update WindowsBuild.md
Add some documentation on how swift-package-manager finds the package description before installation.
2020-09-07 14:24:49 -07:00
Saleem Abdulrasool
edf8947642 Update WindowsBuild.md
- Sort the arguments to CMake to make them easier to spot
- Sort the clones to be in order of use
- Use shorter build directory names as the paths can be troublesome
- Update instructions all the way through to swift-package-manager as that now works
- Fix instructions for cloning swift-llbuild (the repository contains symlinks)
- Add instructions for new swift-package-manager dependencies
- Homogenise the build rules (they are at this point, largely copy-paste from each one, just listing dependencies)
- Switch `swift-llbuild` to use `clang-cl` instead of `cl` and add a workaround for code splitting
2020-09-07 09:46:29 -07:00
YR Chen
3c5322d50d [docs] Deprecate Python 2 in Windows build instructions (#33819) 2020-09-07 13:30:30 +01:00
Saleem Abdulrasool
b8d9e3b9c7 docs: make Windows build instructions fully self-contained
Remove the extra repository dependency for the single cache file.
Update the build examples to simplify the cmake invocation
appropriately.
2020-07-06 23:14:00 +00:00
Saleem Abdulrasool
8bfaba76ff Update WindowsBuild.md
The CI is switching to ICU 67 since there are fixes in the latter version of ICU that are needed.  This should be further improved in the future to possibly use the the unicode.org releases.
2020-06-14 11:22:48 -07:00
Saleem Abdulrasool
8e832b6be0 Update WindowsBuild.md
Explicitly use the path to pyhon2.7 (although the tool can support python 3.x, the path is much much unwieldy as `"C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe"`
2020-06-12 09:09:19 -07:00
Saleem Abdulrasool
1d1783943e Update WindowsBuild.md
Clean up some of the windows recommendations.  This is motivated by trying to setup a clean environment with @keith.

- migrate from `toolchain` to `llvm-project` for the LLVM project
- extract `swift` and `cmark` from the `llvm-project` directory structure
- use the `EXTERNAL_PROJECT` and `ENABLE_PROJECTS` properly
- convert artifact fetching to use a command line tool to fetch the URLs rather than manually using a browser

This now reflects the standard checkout layout more closely.
2020-06-11 18:06:30 -07:00
martinboehme
88b804bf47 Merge pull request #32007 from apple/martinboehme-patch-1
Make note on `PYTHON_EXECUTABLE` more prominent in WindowsBuild.md
2020-05-30 10:13:34 +02:00
martinboehme
a40edb982e Merge branch 'master' into martinboehme-patch-2 2020-05-29 08:21:32 +02:00
Michael Forster
5f9225f33f Update WindowsBuild.md 2020-05-28 12:57:18 +02:00
Michael Forster
5a1c48e0f5 Improve windows build instructions.
Add a command line that installs all required Visual Studio components
as well as Git and Python.
2020-05-28 12:32:00 +02:00
martinboehme
f025deaee0 Update WindowsBuild.md
Remove reference to the latest release.
2020-05-28 10:54:12 +02:00
martinboehme
d867c88d2c Update WindowsBuild.md
Added note on which edition of Visual Studio to get.
2020-05-26 16:20:15 +02:00
martinboehme
e530ef8f77 Update WindowsBuild.md
Make the note on needing to adjust `PYTHON_EXECUTABLE` more prominent, and repeat in in the place where that argument actually needs to be adjusted.
2020-05-25 16:46:08 +02:00
Egor Zhdan
3e2a46d70c Fix typo in dispatch_DIR in Windows build guide 2020-05-04 23:15:37 +03:00
Egor Zhdan
c6ed355b19 Fix clang-cl path in Windows build guide 2020-05-04 19:44:47 +03:00
Egor Zhdan
eafe466974 Fix libdispatch path in Windows build guide 2020-05-04 19:44:46 +03:00
Saleem Abdulrasool
7a50ad5163 Update WindowsBuild.md
Add documentation about enabling developer mode and ensure that the toolchain is built in release mode as debug is extremely slow.
2020-04-29 10:05:13 -07:00
Saleem Abdulrasool
cfb98635c1 Update WindowsBuild.md
Adjust paths to be a little less confusing.  Update the ordering of arguments to support older CMake versions.  Add some aesthetically pleasing whitespace to make things more uniform.
2020-04-28 18:24:17 -07:00
Saleem Abdulrasool
c7aa06703e Merge pull request #31317 from kateinoigakukun/patch-1
Rename windows-swift to swift-build in WindowsBuild.md
2020-04-25 13:16:31 -07:00
Yuta Saito
a97ac3a8bf Rename windows-swift to swift-build 2020-04-26 00:00:59 +09:00
Patrick Deschênes
e0c85bc660 doc: Update WindowsBuild.md
Add a section on how to install Python from Visual Studio, including the
debug binaries.
2020-04-24 21:25:34 -04:00
Saleem Abdulrasool
041566c22d Update WindowsBuild.md
Change the LLDB python flag.
2020-04-21 08:21:05 -07:00
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