summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAge
* Add the rest of the build system logic for optional target disassemblersDaniel Dunbar2009-11-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89841 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Updated library dependencies.Oscar Fuentes2009-11-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89637 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Do not try to install a target before it is defined.Oscar Fuentes2009-11-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89636 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: generate targets for tools and examples even whenOscar Fuentes2009-11-23
| | | | | | | LLVM_BUILD_TOOLS or LLVM_BUILD_EXAMPLES are OFF. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89635 91177308-0d34-0410-b5e6-96231b3b80d8
* Use CMAKE_DL_LIBS instead of raw library name. Fixes bug 5536.Oscar Fuentes2009-11-19
| | | | | | | Patch by Tobias Grosser! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89406 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Pass -lm to check_symbol_exists for detecting several mathOscar Fuentes2009-11-12
| | | | | | | | | functions like floorf, ceilf, ... Add test for detecting nearbyintf. This change was prompted by test/Transforms/SimplifyLibCalls/floor.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86954 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Add Darwin-specific linker flags for building loadable modulesDouglas Gregor2009-11-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86684 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Support for building llvm loadable modules.Oscar Fuentes2009-11-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86656 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Remove unnecessary `unset' which was not supported by old cmakeOscar Fuentes2009-11-10
| | | | | | | releases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86644 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Detect gv, circo, twopi, neato, fdo, dot and dotty.Oscar Fuentes2009-11-09
| | | | | | | Patch by Arnaud Allard de Grandmaison! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86547 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix CMake reporting of target triple.Daniel Dunbar2009-11-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86419 91177308-0d34-0410-b5e6-96231b3b80d8
* Stop running get_target_triple more than we need to.Daniel Dunbar2009-11-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86418 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Detect dotty.Oscar Fuentes2009-11-05
| | | | | | | Patch by Arnaud Allard de Grandmaison! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86153 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: do not test for pthread and dl libraries on Windows (exceptOscar Fuentes2009-11-05
| | | | | | | Cygwin). Fixes PR 5368. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86152 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Report an error if there is an unknown .cpp file in a sourceOscar Fuentes2009-11-02
| | | | | | | | | | | | directory. This is useful in case someone who works with the config&make build system forgot to add a file to its CMakeLists.txt. Instead of obtaining undefined references at link time, cmake will complain at configure time on the first build after a svn update. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85817 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach cmake that mk[sd]temp is defined in stdlib.h on some systems.Benjamin Kramer2009-10-28
| | | | | | | This fixes parallel build with clang on glibc platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85414 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
* Update CMake dependencies.Daniel Dunbar2009-10-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85013 91177308-0d34-0410-b5e6-96231b3b80d8
* Updated cmake library dependencies.Oscar Fuentes2009-10-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84564 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix LLVM CMake build system so that it may now work on Solaris and AuroraUX.Edward O'Callaghan2009-10-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83819 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake misses a check for sbrk on NetBSD.Edward O'Callaghan2009-10-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83341 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach CMake to look for bidirectional_iterator, iterator, forward_iterator, ↵Douglas Gregor2009-10-01
| | | | | | uint64_t, and u_int64_t, from Yonggang Luo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83203 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a compile failure introduced by r82675 on MinGW which doesn't haveJeffrey Yasskin2009-09-25
| | | | | | | | setenv(). This patch just disables the test rather than getting putenv() to work. Thanks to Sandeep Patel for reporting the problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82797 91177308-0d34-0410-b5e6-96231b3b80d8
* Update CMake.Daniel Dunbar2009-09-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82097 91177308-0d34-0410-b5e6-96231b3b80d8
* Update CMake dependencies.Daniel Dunbar2009-09-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81758 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: New user-settable variable LLVM_TARGET_ARCH useful whenOscar Fuentes2009-09-13
| | | | | | | | | cross-compiling. Patch by Xerxes Rånby! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81722 91177308-0d34-0410-b5e6-96231b3b80d8
* Update lib deps.Daniel Dunbar2009-09-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80985 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: updated library dependencies.Oscar Fuentes2009-08-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80531 91177308-0d34-0410-b5e6-96231b3b80d8
* re-apply r80197, now that iterator.h is not mentioned any moreGabor Greif2009-08-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80254 91177308-0d34-0410-b5e6-96231b3b80d8
* --- Reverse-merging r80147 into '.':Bill Wendling2009-08-27
| | | | | | | | | | | | | | | | | | | | | | | A include/llvm/ADT/iterator.cmake U autoconf/configure.ac --- Reverse-merging r80161 into '.': U cmake/config-ix.cmake --- Reverse-merging r80171 into '.': U Makefile --- Reverse-merging r80173 into '.': U configure U include/llvm/Config/config.h.in --- Reverse-merging r80180 into '.': A include/llvm/ADT/iterator.h.in Despite common miscomceptions, iterator.h is alive and well. It broke the build bots for several hours. And yet no one bothered to look at them. Gabor and Doug, please review your changes and make sure that they actually build before resubmitting them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80197 91177308-0d34-0410-b5e6-96231b3b80d8
* De-bork CMake buildDouglas Gregor2009-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80161 91177308-0d34-0410-b5e6-96231b3b80d8
* Ignore -fPIC test on Windows. Suggested by Yonggang Luo.Oscar Fuentes2009-08-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80111 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove alloca config.h support.Daniel Dunbar2009-08-24
| | | | | | | - I did not actually remove the configure test itself, someone who can regenerate configure should do this (see FIXME in autoconf/configure.ac) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79881 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Updated library dependencies and list of source files.Oscar Fuentes2009-08-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79876 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Don't use copy_if_different for TableGen output, because it does not ↵Douglas Gregor2009-08-22
| | | | | | work with IDE targets git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79732 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix cmake build on non-x86 targets. Patch byDuncan Sands2009-08-19
| | | | | | | Xerxes Rånby. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79419 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Updated library dependencies.Oscar Fuentes2009-08-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79223 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: LLVMConfig assigns LLVMX86 to the `native' componentOscar Fuentes2009-08-17
| | | | | | | name. Updated LLVM_LINK_COMPONENTS of Kaleidoscope. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79219 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Discriminate MINGW, MSYS, CYGWIN: does not try to build llvm-config ↵Oscar Fuentes2009-08-16
| | | | | | under mingw without msys. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79202 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the MSVC build again.Benjamin Kramer2009-08-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79186 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Hopefully this will fix the build on VS. I can't replicate theOscar Fuentes2009-08-16
| | | | | | | | | | | | | failure with VS 9.0, nmake and cmake 2.6.4. The buildbot output does not show the patch level of cmake, it just says 2.6. Sadly, parallel builds are broken due to recent changes on LLVM Target libraries and its auxiliaries (TargetInfo, AsmPrinter, AsmParser). I have a patch for stablishing the correct dependencies, but cmake is buggy and generates makefiles that can't handle them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79180 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Revert r79144. It reverted a change necessary for correctOscar Fuentes2009-08-16
| | | | | | | parallel builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79177 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 78996. It was breaking MSVC builds.Benjamin Kramer2009-08-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79144 91177308-0d34-0410-b5e6-96231b3b80d8
* Move XCore AsmPrinter to XCore/AsmPrinter directory.Richard Osborne2009-08-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79094 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Updated library dependence info.Oscar Fuentes2009-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79038 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Automatic regeneration of the library dependencies file.Oscar Fuentes2009-08-14
| | | | | | | | | | | | It doesn't stop or reconfigure the build, though, so the user will see a broken build that magically succeeds at the next attempt. It is technically possible to halt the build with a helpful message, and even to automatically restart the build using the new dependencies as it we did when llvm-config was used by cmake for learning dependencies. This is left on the TODO list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79004 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Builds main LLVM Target library before its sublibraries. ThisOscar Fuentes2009-08-14
| | | | | | | | way we ensure that tablegenned files exist before they are #include'd by the LLVM Target sublibraries. Required for parallel builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78996 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Use LLVM_COMMON_DEPENDS on add_llvm_executable.Oscar Fuentes2009-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78990 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: updated library dependencies.Oscar Fuentes2009-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78976 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Fixed sed script for translating library dependencies fromOscar Fuentes2009-08-12
| | | | | | | LibDeps.txt format to LLVMLibDeps.cmake format. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78789 91177308-0d34-0410-b5e6-96231b3b80d8