From 669ed45029765df223ba7e9cdc242f62c17497e4 Mon Sep 17 00:00:00 2001
From: Reid Spencer
Every source file should have a header on it that -describes the basic purpose of the file. If a file does not have a header, it -should not be checked into CVS. Most source trees will probably have a standard +
Every source file should have a header on it that describes the basic +purpose of the file. If a file does not have a header, it should not be +checked into Subversion. Most source trees will probably have a standard file header format. The standard format for the LLVM source tree looks like this:
diff --git a/docs/DeveloperPolicy.html b/docs/DeveloperPolicy.html index 85b8aab2c1b..34e4d9ed154 100644 --- a/docs/DeveloperPolicy.html +++ b/docs/DeveloperPolicy.html @@ -46,7 +46,7 @@This policy is aimed at frequent contributors to LLVM. People interested in @@ -93,16 +93,15 @@
When making a patch for review, the goal is to make it as easy for the reviewer to read it as possible. As such, we recommend that you:
cvs diff -Ntdup -5+
svn diff -x -uor with the utility utils/mkpatch, which makes it easy to read the diff.
Developers should participate in code reviews as both reviewers and reviewees. If someone is kind enough to review your code, you should return the favor for someone else. Note that anyone is welcome to review - and give feedback on a patch, but only people with CVS write access can - approve it.
+ and give feedback on a patch, but only people with Subversion write access + can approve it. @@ -367,7 +366,7 @@ Changes changes. Despite this, once set, the attribution of a file never changes. Revision control keeps an accurate history of contributions.I've updated my source tree from CVS, and now my build is trying to use a -file/directory that doesn't exist.
+I've updated my source tree from Subversion, and now my build is trying to + use a file/directory that doesn't exist.
After CVS update, rebuilding gives the error "No rule to make target".
+After Subversion update, rebuilding gives the error + "No rule to make target".
This may occur anytime files are moved within the CVS repository or removed -entirely. In this case, the best solution is to erase all .d files, -which list dependencies for source files, and rebuild:
+This may occur anytime files are moved within the Subversion repository or +removed entirely. In this case, the best solution is to erase all +.d files, which list dependencies for source files, and rebuild:
@@ -409,11 +410,9 @@ rebuilding. available through a special version of GCC that LLVM calls the C Front EndThere is an incomplete version of a Java front end available in the - llvm-java CVS repository. There is no documentation on this yet so + java module. There is no documentation on this yet so you'll need to download the code, compile it, and try it.
-In the examples/BFtoLLVM directory is a translator for the - BrainF*** language (2002 Language Specification).
-In the projects/Stacker directory is a compiler and runtime +
In the stacker module is a compiler and runtime library for the Stacker language, a "toy" language loosely based on Forth.
The PyPy developers are working on integrating LLVM into the PyPy backend so that PyPy language can translate to LLVM.
diff --git a/docs/GettingStartedVS.html b/docs/GettingStartedVS.html index 90a30bb040e..05803780a84 100644 --- a/docs/GettingStartedVS.html +++ b/docs/GettingStartedVS.html @@ -99,16 +99,13 @@
It is strongly encouraged that you get the latest version from CVS. Much -progress has been made since the 1.4 release.
+It is strongly encouraged that you get the latest version from Subversion as +changes are continually making the VS support better.
cvs tag ROOT_RELEASE_XX
@@ -180,8 +179,8 @@ fix for the release.
After creating the llvm release branch, update the release branch's autoconf/configure.ac - version from X.Xcvs to just X.X. Update it on mainline as well to be the next version - (X.X+1cvs). + version from X.Xsvn to just X.X. Update it on mainline as well to be the next version + (X.X+1svn).
- Check out the llvm-www module from cvs. Create a new subdirectory X.X in the - releases directory. Place the llvm, llvm-test, llvm-gcc source, and llvm-gcc + Check out the website module from Subversion. Create a new + subdirectory X.X in the releases directory. Place the llvm, llvm-test, + llvm-gcc source, and llvm-gcc binaries in this new directory. Copy the llvm/docs and LICENSE.txt files into this new directory. Update the releases/download.html file with the new release. Update the releases/index.html with the new release. Finally, update the main page ( diff --git a/docs/HowToSubmitABug.html b/docs/HowToSubmitABug.html index dca518426e4..93e0d2107f0 100644 --- a/docs/HowToSubmitABug.html +++ b/docs/HowToSubmitABug.html @@ -67,7 +67,7 @@ information:
Note that if you are reading this file from CVS or the main LLVM web page, +
Note that if you are reading this file from a Subversion checkout or the +main LLVM web page, this document applies to the next release, not the current one. To see the release notes for the current or previous releases, see the releases page.
@@ -832,8 +833,8 @@ Exception Handling, and it is not enabled by default.A wide variety of additional information is available on the LLVM web page, in particular in the documentation section. The web page also -contains versions of the API documentation which is up-to-date with the CVS -version of the source code. +contains versions of the API documentation which is up-to-date with the +Subversion version of the source code. You can access versions of these documents specific to this release by going into the "llvm/doc/" directory in the LLVM tree.
diff --git a/docs/Stacker.html b/docs/Stacker.html index 225a27bbf77..102571a1072 100644 --- a/docs/Stacker.html +++ b/docs/Stacker.html @@ -1303,8 +1303,9 @@ the projects directory so that it will auto-configure. To do that, make sure you have the llvm sources in llvm (see Getting Started) and then use these commands:- cd llvm/projects - cvs co llvm-stacker+ svn co http://llvm.org/svn/llvm-project/llvm-top/trunk llvm-top + cd llvm-top + make build MODULE=stacker
Under the projects/llvm-stacker directory you will find the implementation of the Stacker compiler, as follows:
diff --git a/docs/TestingGuide.html b/docs/TestingGuide.html index 222ccfb52a9..cb880373de3 100644 --- a/docs/TestingGuide.html +++ b/docs/TestingGuide.html @@ -106,14 +106,14 @@ and tcl.The tests are located in two separate CVS modules. The basic feature and -regression tests are in the main "llvm" module under the directory -llvm/test. A more comprehensive test suite that includes whole -programs in C and C++ is in the llvm-test module. This module should -be checked out to the llvm/projects directory. When you -configure the llvm module, the llvm-test module -will be automatically configured. Alternatively, you can configure the - llvm-test module manually.
+The tests are located in two separate Subversion modules. The basic feature + and regression tests are in the main "llvm" module under the directory + llvm/test. A more comprehensive test suite that includes whole +programs in C and C++ is in the test-suite module. This module should +be checked out to the llvm/projects directory as llvm-test (for +historical purpose). When you configure the llvm module, +the llvm-test directory will be automatically configured. +Alternatively, you can configure the test-suite module manually.
To run all of the simple tests in LLVM using DejaGNU, use the master Makefile in the llvm/test directory:
@@ -140,7 +140,7 @@ programs), run the llvm-test tests:% cd llvm/projects -% cvs co llvm-test +% svn co http://llvm.org/svn/llvm-project/test-suite/trunk llvm-test % cd llvm-test % ./configure --with-llvmsrc=$LLVM_SRC_ROOT --with-llvmobj=$LLVM_OBJ_ROOT % gmake @@ -201,7 +201,7 @@ a way of benchmarking LLVM performance, both in terms of the efficiency of the programs generated as well as the speed with which LLVM compiles, optimizes, and generates code. -All "whole program" tests are located in the llvm-test CVS +
All "whole program" tests are located in the test-suite Subversion module.
The llvm-test CVS module contains programs that can be compiled +
The test-suite module contains programs that can be compiled with LLVM and executed. These programs are compiled using the native compiler and various LLVM backends. The output from the program compiled with the native compiler is assumed correct; the results from the other programs are @@ -617,8 +617,8 @@ directory to run them.
-5 3 * * * $HOME/llvm/utils/NewNightlyTest.pl -parallel -nickname Nickname \ - $CVSROOT $HOME/buildtest $HOME/cvs/testresults --
Or, you can create a shell script to encapsulate the running of the script. +
You can create a shell script to encapsulate the running of the script. The optimized x86 Linux nightly test is run from just such a script:
#!/bin/bash BASE=/proj/work/llvm/nightlytest -export CVSROOT=:pserver:anon@llvm.org:/var/cvs/llvm export BUILDDIR=$BASE/build export WEBDIR=$BASE/testresults export LLVMGCCDIR=/proj/work/llvm/cfrontend/install @@ -786,7 +777,7 @@ export LD_LIBRARY_PATH=/proj/install/lib cd $BASE cp /proj/work/llvm/llvm/utils/NewNightlyTest.pl . nice ./NewNightlyTest.pl -nice -release -verbose -parallel -enable-linscan \ - -nickname NightlyTester -noexternals 2>&1 > output.log + -nickname NightlyTester -noexternals > output.log 2>&1