summaryrefslogtreecommitdiff
path: root/projects/sample
Commit message (Collapse)AuthorAge
...
* Temporarily revert r151609, which enabled a new warning for LLVM andChandler Carruth2012-02-28
| | | | | | | | Clang builds. The detection logic for compilers that support the warning isn't working. Rafael is going to investigate it, but didn't want people to have to wade through build spam until then. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151649 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable -Wcovered-switch-default as it matches the switch style used in llvm.Rafael Espindola2012-02-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151609 91177308-0d34-0410-b5e6-96231b3b80d8
* Replace the old --with-cxx-* configure options with a single ↵Rafael Espindola2012-02-03
| | | | | | | | | --with-gcc-toolchain that just uses the new toolchain probing logic. This fixes linking with -m32 on 64 bit systems (the /32 dir was not being added to the search). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149651 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate configure.Rafael Espindola2012-01-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149391 91177308-0d34-0410-b5e6-96231b3b80d8
* revert r147542 after comments from Joerg SonnenbergerSebastian Pop2012-01-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147608 91177308-0d34-0410-b5e6-96231b3b80d8
* use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJITSebastian Pop2012-01-04
| | | | | | | | | | Get back getHostTriple. For JIT compilation, use the host triple instead of the default target: this fixes some JIT testcases that used to fail when the compiler has been configured as a cross compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147542 91177308-0d34-0410-b5e6-96231b3b80d8
* Hexagon backend supportTony Linthicum2011-12-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146412 91177308-0d34-0410-b5e6-96231b3b80d8
* rename LLVM_HOSTTRIPLE into LLVM_DEFAULT_TARGET_TRIPLESebastian Pop2011-11-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143501 91177308-0d34-0410-b5e6-96231b3b80d8
* derive LLVM_HOSTTRIPLE from targetSebastian Pop2011-11-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143500 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the Alpha backend.Dan Gohman2011-10-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143164 91177308-0d34-0410-b5e6-96231b3b80d8
* projects/sample: Switch over to imported Makefile setup.Daniel Dunbar2011-10-27
| | | | | | - This will require you to manually reconfigure the projects/sample project (by running projects/config/sample/config.status --recheck) if you haven't updated/built since the 1st part of this commit went in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143148 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle newer cases for freebsd which is approaching 10.0 and not 1.0.Eric Christopher2011-10-26
| | | | | | Patch by Dimitry Andric! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142995 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the Blackfin backend.Dan Gohman2011-10-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142880 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the SystemZ backend.Dan Gohman2011-10-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142878 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate projects/sample/configure.Daniel Dunbar2011-10-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142457 91177308-0d34-0410-b5e6-96231b3b80d8
* projects/sample: Import adapted form of current LLVM autoconf/Makefile setup ↵Daniel Dunbar2011-10-18
| | | | | | | | | | so that projects/sample is standalone and not tied to the LLVM build setup. - This currently just moves over all of the behavior from LLVM. Eventually all of the configure checks that are directly needed by the LLVM build setup should probably go away, and the project should manage their own configuration checks if necessary. - This is the 1st half of this work, the actual Makefile.common hasn't moved over yet. I've tried to stage this in such a way that incremental builds will properly reconfigure for most active developers (the Makefiles don't handle reconfiguring in a perfectly reliable way, and I haven't found an easy way to make them do so). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142456 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-15
| | | | | | | | Luis Felipe Strano Moraes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
* Regen configurePeter Collingbourne2010-12-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121646 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix paths; AutoRegen.sh changes its current working directory to be thePeter Collingbourne2010-12-12
| | | | | | | | | | autoconf directory, but these paths need to be relative to the main source directory. Patch originally by Dan Gohman, r67655. Also, cause configure.ac to find absolute paths to LLVM source and object trees. Together, fixes PR1220. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121645 91177308-0d34-0410-b5e6-96231b3b80d8
* I swear I did a make clean and make before committing all this...Michael J. Spencer2010-11-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120304 91177308-0d34-0410-b5e6-96231b3b80d8
* Testing subversion commit accessWesley Peck2010-02-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96948 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix autoconf llvm srcdir location for generic projects.Eric Christopher2010-01-25
| | | | | | | Patch by Torvald Riegel! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94405 91177308-0d34-0410-b5e6-96231b3b80d8
* Move DataTypes.h to include/llvm/System, update all users. This breaks the lastChandler Carruth2009-10-26
| | | | | | | direct inclusion edge from System to Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85086 91177308-0d34-0410-b5e6-96231b3b80d8
* install-sh chmods to 0755 by default, and this causes 'git diff' to showTorok Edwin2009-08-28
| | | | | | | | | that all the Makefiles changed mode. Fix this by tellint install-sh to chmod only to 0644, these are not executable files after all! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80371 91177308-0d34-0410-b5e6-96231b3b80d8
* remove dead makefile flags.Chris Lattner2009-06-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74065 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r67655 and r67656, as they are breaking the build. I'mDan Gohman2009-03-25
| | | | | | | not going to persue this further at this time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67666 91177308-0d34-0410-b5e6-96231b3b80d8
* LLVM's master Makefile.common is in LLVM_SRC_ROOT, not LLVM_OBJ_ROOT.Dan Gohman2009-03-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67658 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate configure.Dan Gohman2009-03-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67656 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix paths; AutoRegen.sh changes its current working directory to be theDan Gohman2009-03-24
| | | | | | | | autoconf directory, but these paths need to be relative to the main source directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67655 91177308-0d34-0410-b5e6-96231b3b80d8
* Update for autoconf 2.6x;Dan Gohman2009-03-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67654 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bash-isms.Dan Gohman2009-03-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67647 91177308-0d34-0410-b5e6-96231b3b80d8
* Add "sample" documentation to sample project.Nick Lewycky2008-09-15
| | | | | | | This fixes part of PR2793. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56198 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert .cvsignore filesJohn Criswell2007-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37801 91177308-0d34-0410-b5e6-96231b3b80d8
* avoid collision with /usr/bin/sample if this ever gets installed.Chris Lattner2007-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34387 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sample project -pedantic clean.Reid Spencer2006-11-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31391 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR780:Reid Spencer2006-08-07
| | | | | | | | | | | | | | 1. Change the usage of LOADABLE_MODULE so that it implies all the things necessary to make a loadable module. This reduces the user's burdern to get a loadable module correctly built. 2. Document the usage of LOADABLE_MODULE in the MakefileGuide 3. Adjust the makefile for lib/Transforms/Hello to use the new specification for building loadable modules 4. Adjust the sample project to not attempt to build a shared library for its little library. This was just wasteful and not instructive at all. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29551 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR786:Reid Spencer2006-06-01
| | | | | | | | | | Turn -pedantic and -Wno-long-long compile flags on by default. In a few places, avoid the warnings by removing these options in the local makefile. One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are left on as a reminder to developers to clean them up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28614 91177308-0d34-0410-b5e6-96231b3b80d8
* Have the AutoRegen.sh script prompt the user for the LLVM src and objReid Spencer2006-04-18
| | | | | | | | | | | directories if it can't find them. Then, replace those values into the configure.ac script and pass them to the LLVM_CONFIG_PROJECT so that the values become the default for llvm_src and llvm_obj variables. In this way the user is required to input this exactly once, and the scripts take it from there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27798 91177308-0d34-0410-b5e6-96231b3b80d8
* Ignored generated files.Reid Spencer2006-03-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27016 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed Makefile so it does, indeed, build a dynamic library.Robert Bocchino2006-01-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25135 91177308-0d34-0410-b5e6-96231b3b80d8
* oopsAndrew Lenharth2005-07-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22334 91177308-0d34-0410-b5e6-96231b3b80d8
* updatesAndrew Lenharth2005-07-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22333 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate tabs and trailing spacesJeff Cohen2005-04-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21479 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to reflect various changes in the autoconf directory. THeReid Spencer2005-02-24
| | | | | | | | recommended configuration of projects is now much simplified and depends on LLVM file presence rather than local project file presence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20312 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove auxilliary files that are now picked up from llvm/autoconf. ThisReid Spencer2005-02-24
| | | | | | | | | avoids version conflict problems with ltmain.sh (libtool), mkinstalldirs and install-sh. This prevents projects from becoming stale when the LLVM build system is upgraded or modified. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20311 91177308-0d34-0410-b5e6-96231b3b80d8
* * Move all the "standard" configuration stuff to the start of the fileReid Spencer2005-02-24
| | | | | | | | * Make the auxilliary directory be llvm/autoconf not the project's * Use the LLVM_CONFIG_PROJECT macro to get the --with-llvm{src,obj} args git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20310 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't put generated files into CVS.Reid Spencer2005-02-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20309 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix an output messageReid Spencer2005-02-24
| | | | | | | | * Make aclocal look in LLVM's autoconf/m4 directory for macros * Don't force generation of missing files git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20307 91177308-0d34-0410-b5e6-96231b3b80d8
* Update per new Makefile requirements for projectsReid Spencer2005-01-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19594 91177308-0d34-0410-b5e6-96231b3b80d8
* Ignore autoconf/aclocal generated stuff.Reid Spencer2005-01-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19292 91177308-0d34-0410-b5e6-96231b3b80d8