File tree Expand file tree Collapse file tree 6 files changed +11
-14
lines changed Expand file tree Collapse file tree 6 files changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ Overview
51
51
The ``llvm/utils/docker `` folder contains Dockerfiles and simple bash scripts to
52
52
serve as a basis for anyone who wants to create their own Docker image with
53
53
LLVM components, compiled from sources. The sources are checked out from the
54
- upstream svn repository when building the image.
54
+ upstream git repository when building the image.
55
55
56
56
The resulting image contains only the requested LLVM components and a few extra
57
57
packages to make the image minimally useful for C++ development, e.g. libstdc++
68
68
=====
69
69
The ``llvm/utils/build_docker_image.sh `` script provides a rather high degree of
70
70
control on how to run the build. It allows you to specify the projects to
71
- checkout from svn and provide a list of CMake arguments to use during when
71
+ checkout from git and provide a list of CMake arguments to use during when
72
72
building LLVM inside docker container.
73
73
74
74
Here's a very simple example of getting a docker image with clang binary,
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ License
12
12
Can I modify LLVM source code and redistribute the modified source?
13
13
-------------------------------------------------------------------
14
14
Yes. The modified source distribution must retain the copyright notice and
15
- follow the conditions listed in the `LLVM license
16
- <http ://llvm.org/svn /llvm-project/llvm/trunk /LICENSE.TXT> `_.
15
+ follow the conditions listed in the `Apache License v2.0 with LLVM Exceptions
16
+ <https ://github.com/llvm /llvm-project/blob/master/llvm /LICENSE.TXT> `_.
17
17
18
18
19
19
Can I modify the LLVM source code and redistribute binaries or other tools based on it, without redistributing the source?
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ can often be useful to write a quick C program with the semantics you're trying
27
27
to model and see what decisions Clang's IRGen makes about what IR to emit.
28
28
Studying Clang's CodeGen directory can also be a good source of ideas. Note
29
29
that Clang and LLVM are explicitly version locked so you'll need to make sure
30
- you're using a Clang built from the same svn revision or release as the LLVM
30
+ you're using a Clang built from the same git revision or release as the LLVM
31
31
library you're using. As always, it's *strongly * recommended that you track
32
32
tip of tree development, particularly during bring up of a new project.
33
33
Original file line number Diff line number Diff line change @@ -74,15 +74,12 @@ Here's the short story for getting up and running quickly with LLVM:
74
74
(*or use WinZip *)
75
75
3. ``cd llvm ``
76
76
77
- * With anonymous Subversion access:
77
+ * With git access:
78
78
79
- *Note: * some regression tests require Unix-style line ending (``\n ``). To
80
- pass all regression tests, please add two lines *enable-auto-props = yes *
81
- and *\* = svn:mime-type=application/octet-stream * to
82
- ``C:\Users\<username>\AppData\Roaming\Subversion\config ``.
79
+ *Note: * some regression tests require Unix-style line ending (``\n ``).
83
80
84
81
1. ``cd <where-you-want-llvm-to-live> ``
85
- 2. ``svn co http ://llvm.org/svn /llvm-project/llvm/trunk llvm ``
82
+ 2. ``git clone https ://github.com/llvm /llvm-project.git llvm ``
86
83
3. ``cd llvm ``
87
84
88
85
5. Use `CMake <http://www.cmake.org/ >`_ to generate up-to-date project files:
@@ -103,7 +100,7 @@ Here's the short story for getting up and running quickly with LLVM:
103
100
* See the :doc: `LLVM CMake guide <CMake >` for detailed information about
104
101
how to configure the LLVM build.
105
102
* CMake generates project files for all build types. To select a specific
106
- build type, use the Configuration manager from the VS IDE or the
103
+ build type, use the Configuration manager from the VS IDE or the
107
104
``/property:Configuration `` command line option when using MSBuild.
108
105
* By default, the Visual Studio project files generated by CMake use the
109
106
32-bit toolset. If you are developing on a 64-bit version of Windows and
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ contain the following information:
26
26
27
27
* All information necessary to reproduce the problem.
28
28
* The reduced test-case that triggers the bug.
29
- * The ___location where you obtained LLVM (if not from our Subversion
29
+ * The ___location where you obtained LLVM (if not from our Git
30
30
repository).
31
31
32
32
Thanks for helping us make LLVM better!
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ versions of LLVM in parallel. The following configure flags are relevant:
38
38
should turn it back on to let users debug their programs.
39
39
40
40
``--enable-optimized ``
41
- (For svn checkouts) Builds LLVM with ``-O2 `` and, by default, turns off
41
+ (For git checkouts) Builds LLVM with ``-O2 `` and, by default, turns off
42
42
debug symbols. Also available by setting ``ENABLE_OPTIMIZED=0|1 `` in
43
43
``make ``'s environment. This defaults to enabled when not in a
44
44
checkout.
You can’t perform that action at this time.
0 commit comments