[LLVMdev] Easier project support

Reid Spencer reid at x10sys.com
Thu Feb 24 11:18:16 PST 2005


Folks,

I have updated the "sample" project to reflect a new style of
configuration that should be followed in llvm projects. Previous
incarnations should continue to work, but this new approach has the
following benefits:

1. Use the LLVM_CONFIG_PROJECT macro to get all LLVM project related
   configuration provided for you. This currently includes setting
   up the --with-llvmsrc and --with-llvmobj arguments to configure. This
   macro is actually defined in llvm/autoconf/m4/config_project.m4 so 
   when LLVM has new requirements for projects, they can be encoded
   there and all you need to do is regenerate your configure script
   to automatically support the new requirements.

2. No need for install-sh, mkinstalldirs or ltmain.sh in your
   autoconf directory. These are now all obtained from the LLVM
   autoconf directory. This simplifies the project and also ensures
   that your project is using compatible versions for the LLVM build
   system.

3. The AutoRegen.sh script has been updated to simplify the generation
   of your configure script.

Hopefully this makes LLVM projects a little simpler to deal with.

Reid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050224/fe2d0458/attachment.sig>


More information about the llvm-dev mailing list