[llvm-commits] CVS: llvm/docs/TestingGuide.html

Misha Brukman brukman at cs.uiuc.edu
Thu Oct 7 17:55:54 PDT 2004



Changes in directory llvm/docs:

TestingGuide.html updated: 1.13 -> 1.14
---
Log message:

Describe how to configure tests to work with f2c


---
Diffs of the changes:  (+27 -1)

Index: llvm/docs/TestingGuide.html
diff -u llvm/docs/TestingGuide.html:1.13 llvm/docs/TestingGuide.html:1.14
--- llvm/docs/TestingGuide.html:1.13	Thu Oct  7 19:41:27 2004
+++ llvm/docs/TestingGuide.html	Thu Oct  7 19:55:43 2004
@@ -65,6 +65,32 @@
 need zlib and SAX support enabled.</dd>
 </dl>
 
+<dt><a href="http://www.netlib.org/f2c">F2C</A></dt>
+<dd>For now, LLVM does not have a Fortran front-end, but using F2C, we can run
+Fortran benchmarks.  F2C support must be enabled via <tt>configure</tt> if not
+installed in a standard place.  F2C requires three items: the <tt>f2c</tt>
+executable, <tt>f2c.h</tt> to compile the generated code, and <tt>libf2c.a</tt>
+to link generated code.  By default, given an F2C directory <tt>$DIR</tt>, the
+configure script will search <tt>$DIR/bin</tt> for <tt>f2c</tt>,
+<tt>$DIR/include</tt> for <tt>f2c.h</tt>, and <tt>$DIR/lib</tt> for
+<tt>libf2c.a</tt>.  The default <tt>$DIR</tt> values are: <tt>/usr</tt>,
+<tt>/usr/local</tt>, <tt>/sw</tt>, and <tt>/opt</tt>.  If you installed F2C in a
+different location, you must tell <tt>configure</tt>:
+
+<ul>
+<li><tt>./configure --with-f2c=$DIR</tt><br>
+This will specify a new <tt>$DIR</tt> for the above-described search
+process.  This will only work if the binary, header, and library are in their
+respective subdirectories of <tt>$DIR</tt>.</li>
+
+<li><tt>./configure --with-f2c-bin=/binary/path --with-f2c-inc=/include/path
+--with-f2c-lib=/lib/path</tt><br>
+This allows you to specify the F2C components separately.  Note: if you choose
+this route, you MUST specify all three components, and you need to only specify
+<em>directories</em> where the files are located; do NOT include the
+filenames themselves on the <tt>configure</tt> line.</li>
+</ul></dd>
+</dl>
 </div>
 
 <!--=========================================================================-->
@@ -474,7 +500,7 @@
 
   John T. Criswell<br>
   <a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a><br/>
-  Last modified: $Date: 2004/10/08 00:41:27 $
+  Last modified: $Date: 2004/10/08 00:55:43 $
 </address>
 </body>
 </html>






More information about the llvm-commits mailing list