llvm.org GIT mirror llvm / 312a68c
Added information about how to unpack the distribution for those who do not have access to CVS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7116 91177308-0d34-0410-b5e6-96231b3b80d8 John Criswell 16 years ago
1 changed file(s) with 46 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
2929
  • Getting started quickly (a summary)
  • 3030
  • Terminology and Notation
  • 3131
  • Setting up your environment
  • 32
  • Unpacking the LLVM Archives
  • 3233
  • Checkout LLVM from CVS
  • 3334
  • Local LLVM Configuration
  • 3435
  • Compiling the LLVM Suite Source Code
  • 327328
    328329
    329330
    331

    Unpacking the LLVM Archives

    332
    333
    334

    335 If you have the LLVM distribution, you will need to unpack it before you
    336 can begin to compile it. LLVM is distributed as a set of four files. Each
    337 file is a TAR archive that is compressed with the gzip program.
    338

    339
    340

    The four files are the following:

    341
    342
    llvm.tar.gz
    343
    This is the source code to the LLVM suite.
    344

    345
    346
    cfrontend.sparc.tar.gz
    347
    This is the binary release of the C front end for Solaris/Sparc.
    348

    349
    350
    cfrontend.x86.tar.gz
    351
    This is the binary release of the C front end for Linux/x86.
    352

    353
    354
    cfrontend-src.tar.gz
    355
    This is the source code release of the C front end.
    356

    357
    358
    359

    360 To unpack the files, take each one, unzip it, and then untar it. A fast
    361 way to do that is with the following:
    362

    363
    364 gunzip --stdout name of file | tar -xvf -
    365
    366

    367 For example, to extract the LLVM source code, use the following command:
    368

    369
    370 gunzip --stdout llvm.tar.gz | tar -xvf -
    371
    372
    330373

    Checkout LLVM from CVS

    331374
    332375
    333

    To get a fresh copy of the entire source code, all you

    334 need to do is check it out from CVS as follows:
    376

    If you have access to our CVS repository, you can get a fresh copy of

    377 the entire source code. All you need to do is check it out from CVS as
    378 follows:
    335379
    336380
  • cd where-you-want-llvm-to-live
  • 337381
  • cvs -d CVSROOTDIR checkout llvm