summaryrefslogtreecommitdiffstats
path: root/llvm/utils/llvm-build/llvmbuild
Commit message (Collapse)AuthorAgeFilesLines
* Write the RequiredLibraries for 'all' in LibraryDependencies.inc in a ↵Hans Wennborg2019-08-051-1/+1
| | | | | | deterministic order (PR42739) llvm-svn: 367846
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-8/+6
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* Python compat - print statementSerge Guelton2019-01-031-3/+3
| | | | | | | | | Make sure all print statements are compatible with Python 2 and Python3 using the `from __future__ import print_function` statement. Differential Revision: https://reviews.llvm.org/D56249 llvm-svn: 350307
* Remove llvm-build's --configure-target-def-file.Nico Weber2018-04-202-114/+1
| | | | | | | | | | It was added 6.5 years ago in r144345, but was never hooked up and has been unused since. If _you_ do use this, feel free to revert, but add a comment on where it's used. https://reviews.llvm.org/D45262 llvm-svn: 330455
* Remove llvm-build's --write-make-fragment which looks like a remnant from ↵Nico Weber2018-04-041-101/+0
| | | | | | the autoconf build. llvm-svn: 329191
* llvm-config: Add preliminary Windows supportEhsan Akhgari2016-02-091-1/+1
| | | | | | | | | | | | | | | | | Summary: This patch adds Windows support for a few of the llvm-config commands, including cflags, ldflags, libs, and system-libs. Currently llvm-config is untested, so this patch adds tests for the commands that it fixes as well. Reviewers: rnk Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D16762 llvm-svn: 260263
* Fix Clang-tidy modernize-use-nullptr warnings in source directories and ↵Hans Wennborg2015-10-061-3/+7
| | | | | | | | | | generated files; other minor cleanups. Patch by Eugene Zelenko! Differential Revision: http://reviews.llvm.org/D13321 llvm-svn: 249482
* Filter libraries that are not installed out of CMake exports (currentlyDan Liew2015-08-211-5/+12
| | | | | | | | | | | | | | | | gtest and gtest_main) when generating ``Makefile.llvmbuild``. Libraries that are not installed should not be exported because they won't be available from an install tree. Rather than filtering out the gtest libraries in cmake/modules/Makefile, simply teach llvm-build to filter out libraries that will not be installed from its generated list of exported libraries. Note that LLVMBUILD_LIB_DEPS_* are used during our own CMake build process so we cannot filter LLVMBUILD_LIB_DEPS_gtest* out in llvm-build. We must leave this gtest filter logic in cmake/modules/Makefile. llvm-svn: 245718
* llvm-build: Adopt generation of LLVM_LIBS_TO_EXPORT. Patch byDan Liew2015-08-211-2/+16
| | | | | | | | | | | | | | | | | Brad King. Move `LLVM_LIBS_TO_EXPORT` over to Makefile.llvmbuild and generate it from `llvm-build` using the same logic used to export the dependencies of these libraries. This avoids depending on `llvm-config`. This refactoring was originally motivated by issue #24154 due to commit r243297 (Fix `llvm-config` to emit the linker flag for the combined shared object, 2015-07-27) changing the output of `llvm-config --libs` to not have the individual libraries when we configure with `--enable-shared`. That change was reverted by r244108 but this refactoring makes sense on its own anyway. llvm-svn: 245717
* llvm-build: Factor out duplicate cmake export listing. Patch byDan Liew2015-08-211-27/+36
| | | | | | | | | | Brad King. The write_cmake_fragment and write_cmake_exports_fragment methods share some logic for selecting libraries that CMake needs to know about. Factor it out into a helper to avoid duplication. llvm-svn: 245716
* Teach llvm-build to avoid touching LibraryDependencies.inc unless the contentsPeter Collingbourne2014-11-191-1/+10
| | | | | | change. This saves us from rebuilding llvm-config each time we reconfigure. llvm-svn: 222308
* Fix build with CMake if LLVM_USE_INTEL_JITEVENTS option is enabledMichael Kuperstein2014-10-291-11/+23
| | | | | | | | | | | | * Added LLVM libraries required for IntelJITEvents to LLVMBuild.txt. * Removed 'jit' library from llvm-jitlistener. * Added support for OptionalLibraries to llvm-build cmake files generator. Patch by aleksey.a.bader@intel.com Differential Revision: http://reviews.llvm.org/D5646 llvm-svn: 220848
* Reinstate "Nuke the old JIT."Eric Christopher2014-09-021-1/+1
| | | | | | | | Approved by Jim Grosbach, Lang Hames, Rafael Espindola. This reinstates commits r215111, 215115, 215116, 215117, 215136. llvm-svn: 216982
* Temporarily Revert "Nuke the old JIT." as it's not quite ready toEric Christopher2014-08-071-1/+1
| | | | | | | | | | | be deleted. This will be reapplied as soon as possible and before the 3.6 branch date at any rate. Approved by Jim Grosbach, Lang Hames, Rafael Espindola. This reverts commits r215111, 215115, 215116, 215117, 215136. llvm-svn: 215154
* Nuke the old JIT.Rafael Espindola2014-08-071-1/+1
| | | | | | | | | I am sure we will be finding bits and pieces of dead code for years to come, but this is a good start. Thanks to Lang Hames for making MCJIT a good replacement! llvm-svn: 215111
* llvm-build: Get rid of 'import *'Anders Waldenborg2014-04-232-2/+2
| | | | | | | | This allows pyflakes catching more errors in the script. Differential Revision: http://reviews.llvm.org/D3334 llvm-svn: 207012
* Fixed llvm-build when no targets are enabledGreg Fitzgerald2014-04-181-1/+3
| | | | llvm-svn: 206627
* llvmbuild: Exclude disabled targets from LLVMExports.cmake.NAKAMURA Takumi2014-02-161-0/+5
| | | | llvm-svn: 201490
* Provide CMake package modules in install treeNAKAMURA Takumi2014-02-091-0/+40
| | | | | | | | | | | | | | | | | | | | | | Teach the Makefile build system to generate and install CMake modules LLVMConfig.cmake and LLVMConfigVersion.cmake so that applications that build with CMake can use 'find_package(LLVM)' even when LLVM is not built with CMake. These modules tell such applications about available LLVM libraries and their dependencies. Run llvm-config to generate the list of libraries and use the results of llvm-build to generate the library dependencies. Use sed to perform substitutions in the LLVMConfig.cmake.in and LLVMConfigVersion.cmake.in sources that our CMake build system uses. Teach the Makefile build system to generate the LLVMExports.cmake file with content similar to that produced by the CMake install(EXPORT) command. Extend llvm-build with an option to generate the library dependencies fragment for this file. Contributed by Brad King. llvm-svn: 201053
* [llvm-build] Make Py3 compatible.Daniel Dunbar2013-08-144-102/+117
| | | | llvm-svn: 188424
* Rename VMCore directory to IR.Chandler Carruth2013-01-021-2/+2
| | | | | | | | | | | | | | | | | | Aside from moving the actual files, this patch only updates the build system and the source file comments under lib/... that are relevant. I'll be updating other docs and other files in smaller subsequnet commits. While I've tried to test this, but it is entirely possible that there will still be some build system fallout. Also, note that I've not changed the library name itself: libLLVMCore.a is still the library name. I'd be interested in others' opinions about whether we should rename this as well (I think we should, just not sure what it might break) llvm-svn: 171359
* llvmbuild/main.py: Let LibraryDependencies.inc deterministic.NAKAMURA Takumi2012-12-201-1/+3
| | | | | | | | | FYI, llvm and clang can be built deterministically between stage 2 and stage3, among iterative clean rebuilds, with GNU ar; configure --disable-timestamps make AR.Flags=crsD RANLIB=echo llvm-svn: 170682
* Fix typos found by http://github.com/lyda/misspell-checkBenjamin Kramer2012-06-021-1/+1
| | | | llvm-svn: 157885
* llvm-build: Add support for non-installed libraries (e.g., gtest).Daniel Dunbar2012-05-152-10/+22
| | | | | | | - These libraries are only reported by llvm-config when run from a development tree. llvm-svn: 156838
* llvm-build: Don't emit library information for disabled targets.Daniel Dunbar2012-05-152-1/+21
| | | | llvm-svn: 156837
* Make IntelJITEvents and OProfileJIT as optional libraries and addPreston Gurd2012-05-072-6/+37
| | | | | | | | | | | | optional library support to the llvm-build tool: - Add new command line parameter to llvm-build: “--enable-optional-libraries” - Add handing of new llvm-build library type “OptionalLibrary” - Update Cmake and automake build systems to pass correct flags to llvm-build based on configuration Patch by Dan Malea! llvm-svn: 156319
* build/unittests: Fix llvm-config names for gtest libraries, and bring MakefileDaniel Dunbar2011-12-151-4/+2
| | | | | | | library names in line with those used by CMake. - Patch by Johannes Obermayr, with tweaks by me. llvm-svn: 146706
* llvm-build: Switch to using the common subdirectory list instead ofDaniel Dunbar2011-12-122-23/+27
| | | | | | autodiscovery. llvm-svn: 146437
* LLVMBuild: Introduce a common section which currently has a list of theDaniel Dunbar2011-12-121-7/+39
| | | | | | | | | | | subdirectories to traverse into. - Originally I wanted to avoid this and just autoscan, but this has one key flaw in that new subdirectories can not automatically trigger a rerun of the llvm-build tool. This is particularly a pain when switching back and forth between trees where one has added a subdirectory, as the dependencies will tend to be wrong. This will also eliminates FIXME implicitly. llvm-svn: 146436
* llvm-build: Don't write out the required_libraries list for "special" ↵Daniel Dunbar2011-12-122-1/+6
| | | | | | components, it is generated. llvm-svn: 146435
* llvm-build: Add sketchy support for preserving comments when usingDaniel Dunbar2011-12-122-2/+26
| | | | | | --write-llvmbuild. llvm-svn: 146434
* LLVMBuild: Remove trailing newline, which irked me.Daniel Dunbar2011-12-121-1/+2
| | | | llvm-svn: 146409
* llvm-build: Don't generate duplicate dependencies when LLVMBuild files defineDaniel Dunbar2011-12-061-2/+8
| | | | | | multiple components. llvm-svn: 145989
* llvmbuild/CMake: Update CMake output fragment to include explicit libraryDaniel Dunbar2011-11-292-0/+66
| | | | | | dependency information. llvm-svn: 145328
* llvm-build: Attempt to work around a CMake Makefile generator bug that doesn'tDaniel Dunbar2011-11-171-1/+16
| | | | | | | | properly quote strings when writing the CMakeFiles/Makefile.cmake output file (which lists the dependencies). This shows up when using CMake + MSYS Makefile generator. llvm-svn: 144873
* llvm-build: Add --configure-target-def-file option.Daniel Dunbar2011-11-113-9/+115
| | | | | | - Can be used to generate the substitution values we currently use for the various target related .def files. llvm-svn: 144345
* LLVMBuild: Add explicit information on whether targets define an assembly ↵Daniel Dunbar2011-11-111-4/+22
| | | | | | printer, assembly parser, or disassembler. llvm-svn: 144344
* build/Make & CMake: Pass the appropriate --native-target and --enable-targetsDaniel Dunbar2011-11-101-4/+10
| | | | | | options to llvm-build, so the all-targets etc. components are defined properly. llvm-svn: 144255
* llvm-build: Add --native-target and --enable-targets options, and add logic toDaniel Dunbar2011-11-102-0/+117
| | | | | | | | | | handle defining the "magic" target related components (like native, nativecodegen, and engine). - We still require these components to be in the project (currently in lib/Target) so that we have a place to document them and hopefully make it more obvious that they are "magic". llvm-svn: 144253
* llvm-build: Split out the validation logic.Daniel Dunbar2011-11-101-3/+20
| | | | llvm-svn: 144252
* llvm-build: Add an explicit component type to represent targets.Daniel Dunbar2011-11-102-6/+76
| | | | | | - Gives us a place to hang target specific metadata (like whether the target has a JIT). llvm-svn: 144250
* llvm-build: Tidy up options.Daniel Dunbar2011-11-101-20/+29
| | | | llvm-svn: 144249
* utils/llvm-build: Ensure output directory exists for tools which write ↵Daniel Dunbar2011-11-051-0/+14
| | | | | | various fragments. llvm-svn: 143782
* utils/llvm-build: Add trivial quoting of slashes for CMake fragment.Daniel Dunbar2011-11-051-2/+16
| | | | llvm-svn: 143781
* llvm-build: Quote colons in target names, in an attempt to make msys happy.Daniel Dunbar2011-11-041-2/+15
| | | | llvm-svn: 143745
* llvm-build: Add initial --write-cmake-fragment option.Daniel Dunbar2011-11-041-11/+88
| | | | llvm-svn: 143744
* llvm-build: Add initial code for --write-make-fragment.Daniel Dunbar2011-11-031-0/+96
| | | | llvm-svn: 143661
* llvm-build: Avoid followlinks keyword argument to os.walk.Daniel Dunbar2011-11-031-2/+7
| | | | | | - llvm-build should now be Python2.4 compatible as best I know. llvm-svn: 143641
* llvm-build: Update --write-llvmbuild to write out a standard LLVM style fileDaniel Dunbar2011-11-031-0/+25
| | | | | | header. llvm-svn: 143629
* llvm-build: Add "--write-library-table" option for generating the C++ libraryDaniel Dunbar2011-11-032-4/+114
| | | | | | dependency table used by llvm-config. llvm-svn: 143628
OpenPOWER on IntegriCloud