aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
Commit message (Collapse)AuthorAgeFilesLines
* Factor the computation of the basename of libraries. This avoids renamingRafael Espindola2011-02-031-5/+7
| | | | | | | them on install. Before we would have LLVMgold.so on the build directory but libLLVMgold.so on the install dir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124821 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Shared libraries shouldn't used RPATH on Darwin, only main executablesDaniel Dunbar2010-12-081-4/+0
| | | | | | should use that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121231 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Don't force -flat_namespace or '-undefined suppress' on unsuspecting ↵Daniel Dunbar2010-12-081-2/+3
| | | | | | users of LLVM makefiles, these options really shouldn't be used on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121223 91177308-0d34-0410-b5e6-96231b3b80d8
* Now to chant the magical incantation that will exorcise the System libraryCharles Davis2010-11-291-1/+1
| | | | | | | | | from LLVM forever: grep -lR "llvm/System" * | grep -v .svn | xargs sed -ie 's#llvm/System#llvm/Support#g' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120314 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge System into Support.Michael J. Spencer2010-11-291-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
* unittests/JITTests: Don't use --export-dynamic but --export-all-symbols on ↵NAKAMURA Takumi2010-11-261-5/+11
| | | | | | | | | | | | | cygming. GNU ld/PECOFF accepts but ignores them below; --version-script --export-dynamic --rpath FIXME: autoconf should be aware of them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120179 91177308-0d34-0410-b5e6-96231b3b80d8
* Using LLVMCC_EMITIR_FLAG rather than hard-coding -emit-llvmDuncan Sands2010-11-251-10/+10
| | | | | | | | (dragonegg cannot use -emit-llvm so needs a different flag to everyone else). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120155 91177308-0d34-0410-b5e6-96231b3b80d8
* remove JIT support from the Alpha backend. The JIT will be moving to MC, Chris Lattner2010-11-141-2/+0
| | | | | | | and the Alpha backend isn't MCized yet. Approved by Andrew. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119051 91177308-0d34-0410-b5e6-96231b3b80d8
* Add rule to build MC'ized CodeEmitter.Jim Grosbach2010-11-031-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118207 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove -llvmc-temp-hack from tblgen.Mikhail Glushenkov2010-10-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117197 91177308-0d34-0410-b5e6-96231b3b80d8
* Standardise all build-mode affecting {EN,DIS}ABLE_* make options toPeter Collingbourne2010-10-221-5/+5
| | | | | | test equality to 1, and fix/update documentation to reflect this git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117094 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't pass --export-dynamic if TOOL_NO_EXPORTS is set.Rafael Espindola2010-10-151-2/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116550 91177308-0d34-0410-b5e6-96231b3b80d8
* Generalize tblgen's dag parsing logic to handle arbitrary expressionsChris Lattner2010-10-061-1/+1
| | | | | | | | | | | | | | | | as the operator of the dag. Specifically, this allows parsing things like (F.x 4) in addition to just (a 4). Unfortunately, this runs afoul of an idiom being used by llvmc. It is using dags like (foo [1,2,3]) to represent a list of stuff being passed into foo. With this change, this is parsed as a [1,2,3] subscript on foo instead of being the first argument to the dag. Cope with this in the short term by requiring a "-llvmc-temp-hack" argument to tblgen to get the old parsing behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115742 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile.rules: Fix breakage on cygming --enable-shared.NAKAMURA Takumi2010-10-041-0/+5
| | | | | | This has been applied already in r115093 on release_28. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115487 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove self-described temporary hack. A bit over a year seems a reasonableJim Grosbach2010-10-011-4/+1
| | | | | | | | delay. Anton and PIC16 folks, if this is still good to keep, please go ahead and add it back in with an updated comment about when would be a good time to revisit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115358 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Add support for a TOOL_ORDER_FILE variable so commands can build with anDaniel Dunbar2010-09-161-0/+12
| | | | | | order file on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114050 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile.rules: LOADABLE_MODULE/Win32: "all" components may be linkedNAKAMURA Takumi2010-09-101-3/+6
| | | | | | | | only when ENABLE_SHARED=1. Loadable module for Win32 requires all symbols resolved for linking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113579 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Allow subdir Makefiles to provide an alternate location for the SRCDIRDaniel Dunbar2010-09-091-7/+11
| | | | | | Makefile, which can be used to allow building out of tree sources. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113503 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix Windows stuff to follow the existing source organization.Dan Gohman2010-09-031-15/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112976 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert "Rules for win32 ld shouldn't fire when cross-compiling."Mikhail Glushenkov2010-09-031-7/+0
| | | | | | This reverts commit 012b374e5b46fe93a8fdf605f5929fa8239e0960. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112963 91177308-0d34-0410-b5e6-96231b3b80d8
* Rules for win32 ld shouldn't fire when cross-compiling.Mikhail Glushenkov2010-09-031-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112954 91177308-0d34-0410-b5e6-96231b3b80d8
* have the makefiles check the llvm-config error code instead of chargingChris Lattner2010-09-011-3/+14
| | | | | | | on an producing weird link errors. Patch by Yuri Gribov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112714 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the "Finished Creating" messages for aliases to print theDan Gohman2010-08-181-1/+1
| | | | | | | right name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111340 91177308-0d34-0410-b5e6-96231b3b80d8
* This patch enables ENABLE_SHARED=1 to build DLL based LLVM toolchain on ↵Anton Korobeynikov2010-08-171-17/+65
| | | | | | | | MingW & Cygwin. Patch by Takumi Nakamura! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111268 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc: remove dynamic plugins.Mikhail Glushenkov2010-08-151-55/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111094 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify generating LLVMC_BUILTIN_PLUGIN.Mikhail Glushenkov2010-08-101-51/+6
| | | | | | Patch by NAKAMURA Takumi! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110680 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix this condition; it has an else clause attached for Darwin only. PatchNick Lewycky2010-08-021-1/+3
| | | | | | | by Takumi Nakamura. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110016 91177308-0d34-0410-b5e6-96231b3b80d8
* tests: Make 'lit' the default test tool. You can still use 'make check-dg' toDaniel Dunbar2010-08-021-2/+4
| | | | | | | | run the tests using DejaGNU, but not for much longer. This is a last call for DejaGNU supporters, if no one complains soon the DejaGNU support is going to die. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109997 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix library build messages.Dan Gohman2010-07-261-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109430 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't pass -export-dynamic to the linker on Cygwin and MinGW. These platformsNick Lewycky2010-07-251-1/+1
| | | | | | | | accept the flag and do nothing but warn about it, cleverly bypassing our configure-based detection system. Patch by Takumi Nakamura! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109385 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of exceptions in llvmc.Mikhail Glushenkov2010-07-231-3/+0
| | | | | | llvmc can be now compiled with llvm-gcc on Windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109215 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable LLVM to compile on Mips. Fix PR5828Bruno Cardoso Lopes2010-07-201-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108821 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unnecessary conditional.Eric Christopher2010-07-161-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108516 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Darwin: Add a missing directory dependency.Daniel Dunbar2010-07-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108463 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 108456. i.e. bring back r108444.Devang Patel2010-07-151-0/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108458 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 108444. It breaks a build.Devang Patel2010-07-151-21/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108456 91177308-0d34-0410-b5e6-96231b3b80d8
* build/Darwin: Add support for embedding version information in tool executables.Daniel Dunbar2010-07-151-0/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108444 91177308-0d34-0410-b5e6-96231b3b80d8
* Correctly set rpath on Mac OS X for executable tools. Note that I am not ↵Ted Kremenek2010-07-151-0/+5
| | | | | | certain this is the best fix; the code immediately above looks confused, as it first checks to see if we are NOT on Darwin and then checks the Darwin version number. This fix allows c-index-test (in Clang) to run outside of running the regression test suite. I would appreciate if someone reviewed this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108416 91177308-0d34-0410-b5e6-96231b3b80d8
* Patched Makefile.rules to allow objective C and objective C++ compilation.Greg Clayton2010-07-131-2/+56
| | | | | | | | This allows LLDB (llvm/tools/lldb) to build on Mac OS X. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108255 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename "Release" builds as "Release+Asserts"; rename "Release-Asserts"Duncan Sands2010-07-071-5/+4
| | | | | | | | | | | | | | builds to "Release". The default build is unchanged (optimization on, assertions on), however it is now called Release+Asserts. The intent is that future LLVM releases released via llvm.org will be Release builds in the new sense, i.e. will have assertions disabled (currently they have assertions enabled, for a more than 20% slowdown). This will bring them in line with MacOS releases, which ship with assertions disabled. It also means that "Release" now means the same things in make and cmake builds: cmake already disables assertions for "Release" builds AFAICS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107758 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix this build message so that it displays the correct libraryDan Gohman2010-06-281-1/+1
| | | | | | | name, specifically the "lib" prefix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107011 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo.Eric Christopher2010-06-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106505 91177308-0d34-0410-b5e6-96231b3b80d8
* improve portability to solaris 10, PR7380, patch by Simon Billingsley!Chris Lattner2010-06-181-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106259 91177308-0d34-0410-b5e6-96231b3b80d8
* fix PR7380: use 'test' instead of shell builtins. This improvesChris Lattner2010-06-151-5/+5
| | | | | | | | portability to Solaris 10, which apparently doesn't support [ foo -ot bar ] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106048 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefiles: Teach LLVM's recursive makefile descent to update objdir Makefiles ifDaniel Dunbar2010-06-081-4/+9
| | | | | | they are out of date, instead of only testing if they exist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105636 91177308-0d34-0410-b5e6-96231b3b80d8
* Freebsd's sed doesn't support \< in regexps, and GNU sed doesn'tDan Gohman2010-06-011-2/+2
| | | | | | | | support [[:<:]]. Use beginning-of-line and end-of-line anchors instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105277 91177308-0d34-0410-b5e6-96231b3b80d8
* -retain-symbols-file is not what it seems. Update the makefilesDan Gohman2010-06-011-2/+15
| | | | | | | and configury to use --version-script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105271 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid renaming loadable modules at install time. Now the gold plugin is namedRafael Espindola2010-05-161-0/+5
| | | | | | | LLVMgold.so both in both the build and install directories. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103897 91177308-0d34-0410-b5e6-96231b3b80d8
* Use $ORIGIN in the rpath of libraries.Rafael Espindola2010-05-161-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103896 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new configure option, --disable-timestamps, intended to turn off ↵Daniel Dunbar2010-05-101-1/+9
| | | | | | | | | anything which would mess up binary/object comparisons. Currently: - Disables 'Built on ...' in 'foo --version'. - Disables timestamps from being embedded into .dir files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103423 91177308-0d34-0410-b5e6-96231b3b80d8