Mirror of official llvm git repository located at http://llvm.org/git/llvm. Updated every five minutes.
Go to file
Jeffrey Yasskin f6afae2f49 Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an
--enable-shared configure flag to have the tools linked shared. (2.7svn is just
$(LLVMVersion) so it'll change to "2.7" in the release.)  Always link the
example programs shared to test that the shared library keeps working.

On my mac laptop, Debug libLLVM2.7svn.dylib is 39MB, and opt (for example) is
16M static vs 440K shared.

Two things are less than ideal here:
1) The library doesn't include any version information. Since we expect to break
the ABI with every release, this shouldn't be much of a problem. If we do
release a compatible 2.7.1, we may be able to hack its library to work with
binaries compiled against 2.7.0, or we can just ask them to recompile. I'm
hoping to get a real packaging expert to look at this for the 2.8 release.
2) llvm-config doesn't yet have an option to print link options for the shared
library. I'll add this as a subsequent patch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96559 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-18 02:36:02 +00:00
autoconf Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an 2010-02-18 02:36:02 +00:00
bindings Fix some ocaml documentation 2010-02-16 03:45:17 +00:00
cmake Update CMake LibDeps 2010-01-22 18:14:14 +00:00
docs Make this an unnumbered list. 2010-02-17 22:54:10 +00:00
examples Make Kaleidoscope not link against the interpreter, since that didn't 2010-02-11 19:15:20 +00:00
include Fix a few unused parameter warnings. 2010-02-17 23:55:26 +00:00
lib Some dag combiner goodness: 2010-02-18 02:13:50 +00:00
projects CMake: Fixed syntax in conditional. 2010-02-15 15:17:05 +00:00
runtime remove the random sampling framework, which is not maintained anymore. 2010-01-02 20:07:03 +00:00
test Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an 2010-02-18 02:36:02 +00:00
tools Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an 2010-02-18 02:36:02 +00:00
unittests Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an 2010-02-18 02:36:02 +00:00
utils fit in 80 cols 2010-02-18 00:23:27 +00:00
website Prepare for "core" website. 2007-08-03 05:43:35 +00:00
Xcode Remove the IA-64 backend. 2009-07-24 00:30:09 +00:00
build-for-llvm-top.sh Patch to build llvm with srcdir != objdir from 2009-01-23 08:42:38 +00:00
CMakeLists.txt CMake: Add MCParser directory. 2010-01-22 02:04:33 +00:00
configure Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an 2010-02-18 02:36:02 +00:00
CREDITS.TXT Add myself to the blame list. 2009-08-20 15:20:15 +00:00
LICENSE.TXT 2010 is upon us. 2010-01-09 18:40:31 +00:00
llvm.spec.in * llvm.spec.in: update blurb 2007-07-13 09:48:29 +00:00
Makefile Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an 2010-02-18 02:36:02 +00:00
Makefile.common Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Makefile.config.in Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an 2010-02-18 02:36:02 +00:00
Makefile.rules Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add an 2010-02-18 02:36:02 +00:00
ModuleInfo.txt Patch to build llvm with srcdir != objdir from 2009-01-23 08:42:38 +00:00
README.txt Trim trailing spaces (aka, trigger rebuild). 2010-02-13 22:23:47 +00:00

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.