Skip to content

Commit

Permalink
lex and bison aren't needed to build llvm anymore.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61560 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Jan 2, 2009
1 parent 0c7b39f commit 01bb8b0
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 31 deletions.
2 changes: 1 addition & 1 deletion docs/DeveloperPolicy.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
diff.</li>

<li>Patches should not include differences in generated code such as the
code generated by <tt>flex</tt>, <tt>bison</tt> or <tt>tblgen</tt>. The
code generated by <tt>autoconf</tt> or <tt>tblgen</tt>. The
<tt>utils/mkpatch</tt> utility takes care of this for you.</li>
</ol>

Expand Down
18 changes: 1 addition & 17 deletions docs/GettingStarted.html
Original file line number Diff line number Diff line change
Expand Up @@ -307,11 +307,7 @@
<li><a name="pf_3">No native code generation</a></li>
<li><a name="pf_4">Build is not complete: one or more tools do not link or function</a></li>
<li><a name="pf_5">The GCC-based C/C++ frontend does not build</a></li>
<li><a name="pf_6">The port is done using the MSYS shell.</a>
<a href="http://www.mingw.org/MinGWiki/">Download</a> and install
bison (excl. M4.exe) and flex in that order. Build binutils-2.15 from source,
if necessary. Bison &amp; flex can be also grabbed from GNUWin32 sf.net
project.</li>
<li><a name="pf_6">The port is done using the MSYS shell.</a></li>
<li><a name="pf_7">Native code generation exists but is not complete.</a></li>
<li><a name="pf_8">Binutils</a> up to post-2.17 has bug in bfd/cofflink.c
preventing LLVM from building correctly. Several workarounds have been
Expand Down Expand Up @@ -375,18 +371,6 @@
<td>For building the CFE</td>
</tr>

<tr>
<td><a href="http://www.gnu.org/software/flex">Flex</a></td>
<td>2.5.4</td>
<td>LEX compiler</td>
</tr>

<tr>
<td><a href="http://www.gnu.org/software/bison/bison.html">Bison</a></td>
<td>1.28, 1.35, 1.75, 1.875d, 2.0, or 2.1<br>(not 1.85 or 1.875)</td>
<td>YACC compiler</td>
</tr>

<tr>
<td><a href="http://subversion.tigris.org/project_packages.html">SVN</a></td>
<td>&ge;1.3</td>
Expand Down
5 changes: 0 additions & 5 deletions docs/GettingStartedVS.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,6 @@
<p>You will also need the <a href="http://www.cmake.org/">CMake</a> build
system since it generates the project files you will use to build with.</p>

<p>If you plan to modify any .y or .l files, you will need to have bison
and/or flex installed where Visual Studio can find them. Otherwise, you do
not need them and the pre-generated files that come with the source tree
will be used.</p>

<p>
Do not install the LLVM directory tree into a path containing spaces (e.g.
C:\Documents and Settings\...) as the configure step will fail.</p>
Expand Down
8 changes: 0 additions & 8 deletions docs/MakefileGuide.html
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,6 @@
<dl>
<dt><a name="AR"><tt>AR</tt></a> <small>(defaulted)</small></dt>
<dd>Specifies the path to the <tt>ar</tt> tool.</dd>
<dt><a name="BISON"><tt>BISON</tt></a><small>(configured)</small></dt>
<dd>Specifies the path to the <tt>bison</tt> tool.</dd>
<dt><a name="PROJ_OBJ_DIR"><tt>PROJ_OBJ_DIR</tt></a></dt>
<dd>The directory into which the products of build rules will be placed.
This might be the same as
Expand Down Expand Up @@ -812,8 +810,6 @@
<dd>Provides the extension to be used on executables built by the makefiles.
The value may be empty on platforms that do not use file extensions for
executables (e.g. Unix).</dd>
<dt><a name="FLEX"><tt>FLEX</tt></a><small>(configured)</small></dt>
<dd>Specifies the path to the <tt>flex</tt> tool.</dd>
<dt><a name="INSTALL"><tt>INSTALL</tt></a><small>(configured)</small></dt>
<dd>Specifies the path to the <tt>install</tt> tool.</dd>
<dt><a name="LDFLAGS"><tt>LDFLAGS</tt></a><small>(configured)</small></dt>
Expand Down Expand Up @@ -981,8 +977,6 @@
INCFiles
InternalTargets
LD.Flags
LexFiles
LexOutput
LibName.A
LibName.BC
LibName.LA
Expand Down Expand Up @@ -1020,8 +1014,6 @@
ToolBuildPath
TopLevelTargets
UserTargets
YaccFiles
YaccOutput
</tt></p>
</div>

Expand Down

0 comments on commit 01bb8b0

Please sign in to comment.