summaryrefslogtreecommitdiffstats
path: root/llvm/autoconf
Commit message (Collapse)AuthorAgeFilesLines
...
* build: Add LLVM_NATIVE_ARCHNAME, which has the sensible value, without "Target"Daniel Dunbar2010-08-031-0/+2
| | | | | | appended. llvm-svn: 110109
* Use a C++ compiler for the atomic builtin check since we'llEric Christopher2010-07-281-0/+4
| | | | | | | | be using a C++ compiler to build. Patch by Török Edwin! llvm-svn: 109646
* Try to work around the relative install-sh path problem.Eric Christopher2010-07-221-0/+7
| | | | | | Patch from Eli. llvm-svn: 109163
* Remove extraneous character.Owen Anderson2010-07-191-1/+1
| | | | llvm-svn: 108739
* Add support for detecting <mach-o/getsect.h> and the getsect() function.Owen Anderson2010-07-191-0/+19
| | | | llvm-svn: 108737
* Pull in the libCrashReporterClient.a information with a warning comment.Eric Christopher2010-06-281-4/+0
| | | | | | Remove library check and regenerate configure. llvm-svn: 107028
* Look for and use a different darwin crash reporter library.Eric Christopher2010-06-221-0/+7
| | | | llvm-svn: 106576
* Fix a spello affecting platforms where the configure check fails.Dan Gohman2010-06-011-1/+1
| | | | llvm-svn: 105273
* -retain-symbols-file is not what it seems. Update the makefilesDan Gohman2010-06-012-12/+15
| | | | | | and configury to use --version-script. llvm-svn: 105271
* Add new configure option, --disable-timestamps, intended to turn off ↵Daniel Dunbar2010-05-101-0/+14
| | | | | | | | | anything which would mess up binary/object comparisons. Currently: - Disables 'Built on ...' in 'foo --version'. - Disables timestamps from being embedded into .dir files. llvm-svn: 103423
* Overhauled llvm/clang docs builds. Closes PR6613.mike-m2010-05-061-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTE: 2nd part changeset for cfe trunk to follow. *** PRE-PATCH ISSUES ADDRESSED - clang api docs fail build from objdir - clang/llvm api docs collide in install PREFIX/ - clang/llvm main docs collide in install - clang/llvm main docs have full of hard coded destination assumptions and make use of absolute root in static html files; namely CommandGuide tools hard codes a website destination for cross references and some html cross references assume website root paths *** IMPROVEMENTS - bumped Doxygen from 1.4.x -> 1.6.3 - splits llvm/clang docs into 'main' and 'api' (doxygen) build trees - provide consistent, reliable doc builds for both main+api docs - support buid vs. install vs. website intentions - support objdir builds - document targets with 'make help' - correct clean and uninstall operations - use recursive dir delete only where absolutely necessary - added call function fn.RMRF which safeguards against botched 'rm -rf'; if any target (or any variable is evaluated) which attempts to remove any dirs which match a hard-coded 'safelist', a verbose error will be printed and make will error-stop. llvm-svn: 103213
* Default OPTIMIZE_OPTION to -O2 on FreeBSD, at the request of the Clang/FreeBSDDaniel Dunbar2010-04-301-0/+1
| | | | | | folks. LLVM/Clang is miscompiled by the standard GCC at -O3. llvm-svn: 102719
* Fix an autoconf bug: The second argument to AC_LANG_PROGRAM is code thatDan Gohman2010-04-251-3/+3
| | | | | | | | | | | | | | | | gets placed inside a main function, and should not itself be a main function. This is silently hidden in GCC-hosted builds because the inner main looks like a nested function declaration, which GCC supports. In builds with compilers which do not support nested functions (by default), this was causing an error, which caused these autoconf checks to fail, leaving their options disabled. This fixes test/Feature/load_module.ll on x86_64-unknown-linux-gnu llvm-gcc selfhost builds, among other things. This also includes a regenerated configure, as the diff is small and telling. llvm-svn: 102288
* Add an autoconf check for -retain-symbols-file and conditionalizeDan Gohman2010-04-162-0/+46
| | | | | | | use of that option with it. This eliminates an imprecise "Linux" test, and should help support old versions of gold. llvm-svn: 101560
* Add a check for posix_spawn.Eric Christopher2010-04-161-1/+1
| | | | | | Regenerate configure and other autoconf files. llvm-svn: 101444
* configure: Fix default value for optimize_option, I messed up the test conditionDaniel Dunbar2010-04-101-2/+2
| | | | | | | | | | | | | | | | | in r86005 and unintentionally changed the default from -O3 to -O2. - It's odd the things automated perf testing turns up! :) - Also, the configure diff is messed up slightly. It looks like someone either didn't regenerate configure correctly (or I didn't), or autoconf has some funnyness in it. Eric, any ideas? This has been at -O2 for so long, that I am slightly nervous that this change will uncover miscompiles of LLVM on other systems. If that is the case, I think we should just set the default universally at -O3, and let developers/vendors use -O3 if they want it and have tested it. llvm-svn: 100941
* add minix support, patch by Kees van Reeuwijk! PR6797Chris Lattner2010-04-091-0/+7
| | | | llvm-svn: 100895
* Fixed spurious warning problem noticed by Daniel Dunbar. The configure scriptJohn Criswell2010-03-251-0/+5
| | | | | | | now configures prerequisite projects individually but also ignores them in the big project switch statement to avoid the incorrect warning. llvm-svn: 99506
* Force configuration of some projects before others. In particular, someJohn Criswell2010-03-191-7/+35
| | | | | | | | projects rely upon llvm-gcc, the LLVM test suite, and poolalloc. This ensures that the aforementioned projects have their object trees created first so that other projects can find their object trees when they themselves are configured. llvm-svn: 98998
* Bump version number.Tanya Lattner2010-03-191-1/+1
| | | | llvm-svn: 98989
* Updated copyright year to 2010.John Criswell2010-03-191-2/+2
| | | | llvm-svn: 98985
* Tell Valgrind when we modify already-executed machine code so it knowsJeffrey Yasskin2010-03-151-0/+1
| | | | | | | to re-instrument the code. We depend on the system valgrind.h to avoid adding a new license. llvm-svn: 98529
* Move the docsdir to /usr/share/doc/llvm to match other projects.Eric Christopher2010-03-021-4/+4
| | | | | | Fixes PR6267. llvm-svn: 97549
* Make sure we save CXXFLAGS before setting it as pedantic and regenerateEric Christopher2010-03-021-0/+2
| | | | | | | | | | configure. Fixes PR6388. Patch by Yann Droneaud! llvm-svn: 97548
* Added SAFECode (safecode) to the list of projects to automatically configure.John Criswell2010-02-251-0/+1
| | | | llvm-svn: 97179
* Try r96559 for the third time. This time the shared library is only built ifJeffrey Yasskin2010-02-251-0/+16
| | | | | | --enable-shared is passed to configure. llvm-svn: 97119
* fix PR5954, patch by Roman Divacky.Chris Lattner2010-02-241-0/+3
| | | | | | | I don't have a great way to test this myself (it's linux/bsd only), but Roman says it works. :) llvm-svn: 97069
* Roll back r96959 again.Jeffrey Yasskin2010-02-231-16/+0
| | | | llvm-svn: 96981
* Adding the MicroBlaze backend.Wesley Peck2010-02-231-1/+5
| | | | | | | | | | | | The MicroBlaze is a highly configurable 32-bit soft-microprocessor for use on Xilinx FPGAs. For more information see: http://www.xilinx.com/tools/microblaze.htm http://en.wikipedia.org/wiki/MicroBlaze The current LLVM MicroBlaze backend generates assembly which can be compiled using the an appropriate binutils assembler. llvm-svn: 96969
* Roll r96559 forward again, adding libLLVM-2.7svn.so to LLVM. This links 3 ofJeffrey Yasskin2010-02-231-0/+16
| | | | | | the examples shared to make sure the shared library keeps working. llvm-svn: 96959
* Initial configure support for using Clang as the LLVM capable compiler.Daniel Dunbar2010-02-231-0/+73
| | | | | | | | | | | | | | | | | | | Comes in two parts: 1. Use --with-clang=path/to/clang/compiler to select an installed clang, or --with-built-clang to have the makefiles use the clang which will be built as the LLVM capable compiler. If neither is given, --with-built-clang will be used if the Clang sources are checked out into the standard location (tools/clang). 2. Use --with-llvmcc={llvm-gcc,clang,none} to specify which LLVM capable compiler to use. If not given, then llvm-gcc will be used if available, otherwise Clang. Makefile support still to come. Eric, Doug, Chris, seem reasonable? llvm-svn: 96934
* Kill off unused LLVMGCCLIBEXEC make variable.Daniel Dunbar2010-02-231-2/+0
| | | | llvm-svn: 96910
* Kill off LLVMGCCARCH and LLVMGCC_VERSION make variables.Daniel Dunbar2010-02-231-3/+0
| | | | llvm-svn: 96909
* Kill off LLVMGCC_MAJVERS make variable.Daniel Dunbar2010-02-231-1/+0
| | | | llvm-svn: 96907
* Roll back the shared library, r96559. It broke two darwins and arm, ↵Jeffrey Yasskin2010-02-181-16/+0
| | | | | | mysteriously. llvm-svn: 96569
* Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add anJeffrey Yasskin2010-02-181-0/+16
| | | | | | | | | | | | | | | | | | | | --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. llvm-svn: 96559
* Make --disable-libffi work on systems with libffi installed. AlsoJeffrey Yasskin2010-02-091-8/+8
| | | | | | | make no-ffi the default even on systems with libffi. This fixes http://llvm.org/PR5018. llvm-svn: 95712
* Reconfigure with autoconf-2.60, and fix autoconf.ac to work with that version.Jeffrey Yasskin2010-02-031-1/+0
| | | | llvm-svn: 95191
* Remove unneeded checks from configure.ac.Torok Edwin2010-01-267-134/+3
| | | | | | | | | | | | | | | HAVE_{BI,STD,FWD}_ITERATOR and HAVE_NAMESPACES were not used in the code. bison and flex are no longer used. CAN_DLOPEN_SELF was never used either. AC_PROG_LIBTOOL is not needed since we don't use libtool, we only need the libltdl checks for dlopen. Add check for AR, it used to be done by AC_PROG_LIBTOOL. AC_TYPE_SIGNAL is deprecated, follow autoupdate's suggestion and replace with void. Remove unused m4 files. Configure can now be generated using autoconf 2.65 too, without any warnings! llvm-svn: 94534
* Fix autoconf 2.65 warning (don't use _cv_ inside AC_CACHE_VAL).Torok Edwin2010-01-261-2/+2
| | | | llvm-svn: 94533
* Proper deduce z/System LLVM target from target triple whenAnton Korobeynikov2010-01-051-1/+1
| | | | | | --enable-targets=host is specified. llvm-svn: 92762
* Fix typos. Thanks to John Tytgat for noticing it!Rafael Espindola2009-12-071-1/+1
| | | | llvm-svn: 90728
* Add CMake and configure logic to create llvm/Config/Disassemblers.defs.Daniel Dunbar2009-11-251-2/+8
| | | | llvm-svn: 89839
* autoconf config.* claims to not know about auroraux triple.Edward O'Callaghan2009-11-192-1/+8
| | | | llvm-svn: 89301
* Add configure options for specifying where to look for libstdc++.Rafael Espindola2009-11-161-0/+28
| | | | llvm-svn: 88943
* Add the --with-c-include-dirs to llvm's configure.Rafael Espindola2009-11-121-0/+7
| | | | | | The clang patch is next. llvm-svn: 86955
* configure: Add --with-optimize-option, for setting the default value ofDaniel Dunbar2009-11-041-0/+17
| | | | | | OPTIMIZE_OPTION. llvm-svn: 86005
* Add an autoconf test to check for optional compiler flags likeJulien Lerouge2009-10-262-0/+8
| | | | | | -Wno-missing-field-initializers or -Wno-variadic-macros. llvm-svn: 85147
* Move DataTypes.h to include/llvm/System, update all users. This breaks the lastChandler Carruth2009-10-261-1/+1
| | | | | | direct inclusion edge from System to Support. llvm-svn: 85086
* Undo pthread patch from rev. 83930 & 83823. Credit to Paul Davey.Edward O'Callaghan2009-10-141-3/+1
| | | | llvm-svn: 84083
OpenPOWER on IntegriCloud