1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

Improve build instructions (#1593)

This commit is contained in:
Tim van der Lippe 2019-01-31 18:00:17 +00:00 committed by Ryan Dahl
parent 0be9d1ff0e
commit c7b53125c3
2 changed files with 23 additions and 7 deletions

25
Docs.md
View file

@ -319,13 +319,20 @@ submodule. However, you need to install separately:
[Not 3](https://github.com/denoland/deno/issues/464#issuecomment-411795578). [Not 3](https://github.com/denoland/deno/issues/464#issuecomment-411795578).
4. [ccache](https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/ccache) 4. [ccache](https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/ccache)
(Optional but helpful for speeding up rebuilds of V8.) (Optional but helpful for speeding up rebuilds of V8.)
5. Extra steps for Windows users:
1. Add `python.exe` to `PATH` (e.g. `set PATH=%PATH%;C:\Python27\python.exe`) Extra steps for Mac users:
2. Get [VS Community 2017](https://www.visualstudio.com/downloads/). Make
sure to select the option to install C++ tools and the Windows SDK. 1. [XCode](https://developer.apple.com/xcode/)
3. Enable `Debugging Tools for Windows`. Go to `Control Panel` -> 2. Openssl 1.1: `brew install openssl@1.1` (TODO: shouldn't be necessary)
`Windows 10 SDK` -> Right-Click -> `Change` -> `Change` ->
`Check Debugging Tools for Windows` -> `Change` -> `Finish`. Extra steps for Windows users:
1. Add `python.exe` to `PATH` (e.g. `set PATH=%PATH%;C:\Python27\python.exe`)
2. Get [VS Community 2017](https://www.visualstudio.com/downloads/). Make sure
to select the option to install C++ tools and the Windows SDK.
3. Enable `Debugging Tools for Windows`. Go to `Control Panel` ->
`Windows 10 SDK` -> Right-Click -> `Change` -> `Change` ->
`Check Debugging Tools for Windows` -> `Change` -> `Finish`.
### Build: ### Build:
@ -334,6 +341,10 @@ submodule. However, you need to install separately:
cd deno cd deno
./tools/setup.py ./tools/setup.py
# You may need to ensure that sccache is running.
# (TODO it's unclear if this is necessary or not.)
# prebuilt/mac/sccache --start-server
# Build. # Build.
./tools/build.py ./tools/build.py

View file

@ -85,6 +85,11 @@ Try it:
See [deno_install](https://github.com/denoland/deno_install) for more See [deno_install](https://github.com/denoland/deno_install) for more
installation methods.. installation methods..
## Build locally (advanced users only)
For instructions to build this project locally, please see
[the docs](https://github.com/denoland/deno/blob/master/Docs.md#build-instructions-for-advanced-users-only).
<!-- prettier-ignore --> <!-- prettier-ignore -->
[avy badge]: https://ci.appveyor.com/api/projects/status/yel7wtcqwoy0to8x?branch=master&svg=true [avy badge]: https://ci.appveyor.com/api/projects/status/yel7wtcqwoy0to8x?branch=master&svg=true
[avy link]: https://ci.appveyor.com/project/deno/deno [avy link]: https://ci.appveyor.com/project/deno/deno