aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2008-03-21a happier version of happinessGabor Greif
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48663 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-28Run 'svn info' in the C locale. Also appropriately escape spaces and ? for ↵Gabor Greif
gawk in darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47723 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-28Simplify and clean up "update" target. AlsoGabor Greif
add an SVN-UPDATE-OPTIONS variable that controls the update behaviour. This allows to go to a common older revision of all svn directories: gmake update SVN-UPDATE-OPTIONS=-r47717 would rewind both llvm and clang to a common revision (if clang is checked out into the llvm tree). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47717 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-28Now that targets are serialized, introduceGabor Greif
two new convenience targets: - update: svn update toplevel and try hard to locate updatable subdirectories using cunning tricks - happiness: update then build and test so what one wants to do now is: nice gmake --jobs happiness Have fun! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47716 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-28Treat all targets serially at the toplevel. This allowsGabor Greif
to specify nice gmake --jobs all check and go to lunch, while a multiprocessor machine will build everything using spare resources and check the result thereafter. Since concurrency of make is not restricted in subdirectories, this should be a nearly optimal way to do it. Also teach the user about a configure switch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47715 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-29remove attributions from the rest of the llvm makefiles.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45416 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Add install-libs target which only installs libraries, not toolsNate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44979 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-18Adding ocaml language bindings for the vmcore and bitwriter libraries. These areGordon Henriksen
built atop the C language bindings, and user programs can link with them as such: # Bytecode ocamlc -cc g++ llvm.cma llvmbitwriter.cma -o example example.ml # Native ocamlopt -cc g++ llvm.cmxa llvmbitwriter.cmxa -o example.opt example.ml The vmcore.ml test exercises most/all of the APIs thus far bound. Unfortunately, they're not yet numerous enough to write hello world. But: $ cat example.ml (* example.ml *) open Llvm open Llvm_bitwriter let _ = let filename = Sys.argv.(1) in let m = create_module filename in let v = make_int_constant i32_type 42 false in let g = define_global "hello_world" v m in if not (write_bitcode_file m filename) then exit 1; dispose_module m; $ ocamlc -cc g++ llvm.cma llvm_bitwriter.cma -o example example.ml File "example.ml", line 11, characters 6-7: Warning Y: unused variable g. $ ./example example.bc $ llvm-dis < example.bc ; ModuleID = '<stdin>' @hello_world = global i32 42 ; <i32*> [#uses=0] The ocaml test cases provide effective tests for the C interfaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42093 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-11Get rid of annoying spaces.David Greene
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39766 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-08Install things needed by llvm-top to allow successful building Reid Spencer
of llvm from that level. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38423 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15Echo command lines only if the user wants them.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36050 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15Add a new testing target: check-one. It is used like this:Reid Spencer
make check-one TESTONE=test/path/to/test.ll This runs a single check in exactly the same way that dejagnu runs it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36049 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-29don't build runtime for now, everChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35470 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-21revert r1.68. This breaks 'make install' without doing 'make' first, butChris Lattner
fixes PR1208. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34466 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05Add a show-footprint target to run du a few times to show how much diskReid Spencer
space a build tree's objects are consuming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33934 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05Don't prevent install target from descending into the utils directory.Reid Spencer
It prevents "make install" on a clean directory from working. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33905 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-17Undo removal of the runtime libraries. While this may have been a bitReid Spencer
premature, these libraries will be going away for the 2.0 release. Other arrangements for profiling, gc, etc. should be made in the next few months. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31807 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-16In LLVM 2.0 we won't use the runtime libraries as llvm-gcc3 support willReid Spencer
be dropped. This patch pertains to removing the runtime directory from LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31793 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-04Document build order dependencies. Make sure that llvm-config is built beforeChris Lattner
tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30083 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-16Add .PHONY targets for building source and binary RPM packages. You canReid Spencer
now just "make rpm" or "make srpm" and it will build them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29717 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-26Revamp this to use filter-out, which makes the logic simpler and not nested.Chris Lattner
This restores building of examples and projects! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29297 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-02More of PR728, don't install utils either.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28673 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-02Part of PR728, don't install examples or projects.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28671 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-01Make a shorthand target for running the llvm2cpp test suite. This testReid Spencer
suite is disabled by default because of the length of time it takes to run. To enable it certain command line fu must be used. This patch just encodes the command line fu as the magical "check-llvm2cpp" target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28626 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-17Make some changes suggested by Chris:Reid Spencer
1. Remove the LLVM_DO_NOT_BUILD feature (not needed any more) 2. Ensure that lib/VMCore gets built first. This needs to be done because VMCore now uses tblgen to generate the Intrinsics header which are needed in other libraries. In parallel builds, this can cause problems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28374 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12Include the win32 and Xcode directories in the distribution.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27626 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-08Fix recursion:Reid Spencer
1. Make setting OPTIONAL_DIRS use immediate assignment 2. Include Makefile.config before ifeq tests and then Makefile.rules later instead of Makefile.common up front. This ensures that the variable values are set before the ifeq statements in Makefile.rules are evaluated. With this, recursion into projects/examples is corrected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27519 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-08Don't build projects/examples if libs-only was specified.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27518 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-07Invert the tests on LLVMGCC_MAJVERS to check for value 4 instead of valueReid Spencer
3. This ensures that if llvm-gcc isn't available and consequently the value of LLVMGCC_MAJVERS is blank, that the old (include runtime) behavior will persist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27499 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-07THis -> ThisChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27490 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-07For PR723:Reid Spencer
Print out something at the end of the build that indicates what kind of build has just completed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27485 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-06Avoid building the runtime libraries if llvm-gcc version 4 is detected.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27464 91177308-0d34-0410-b5e6-96231b3b80d8
2005-08-25For PR614:Reid Spencer
Move the implementation of the fix from Makefile.rules to Makefile. This ensures that it is only checked on a top-level rebuild, and not in every single subdirectory. This removes some annoying messages from the build and numerous executions of config.status if the .in file changes but not substantively enough to cause the .h file to be modified by config.status. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23039 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-29Make sure the tools get built if no build target is specified.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22184 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-25Add a "libs-only" target for avoiding construction of the tools andReid Spencer
runtime libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22169 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-24Two dist-check related changes:Reid Spencer
1. Allow DIST_CHECK_CONFIG_OPTION to specify a set of options to be passed to the configure script during the dist-check target. This allows things to be passed down on a project basis so the configure doesn't fail. 2. Use the tar | (cd ; tar ) idiom to copy files which is more flexible than using the cp command. THis allows us to exclude CVS .svn directories at source rather than stripping them out of the tar ball. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22166 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06Remove the check target. Its now in Makefile.rulesReid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18565 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04CVS directory elimination moved to Makefile.rulesReid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18503 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04Made it default to check instead of check-dejagnu.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18488 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03check is now a single colon rule. Also make it default to running dejagnu ↵Chris Lattner
instead of qmtest git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18471 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-29Add "docs" as a descendable directory (at the end)Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18328 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-25Add a convenience target to build all three modes: Debug, Release, ProfileReid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18241 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-08Move path override in test/Makefile.Alkis Evlogimenos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17613 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-08Override PATH to submake so that all tools are found if the PATH isAlkis Evlogimenos
not set up properly (it also avoids using different tools that happen to be in the path). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17612 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07Removed passing TARGET.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17587 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07Changed check-dejagnu to take TESTSUITE as its args instead of TEST in order ↵Tanya Lattner
to not conflict with other stuff. Added path for test/Scripts. Also added a check to deal with TESTSUITE and runtest flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17586 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07Minor error.Tanya Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17573 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07Added support to specify which test suite dejagnu should run (Feature or ↵Tanya Lattner
Regression). Use TEST=suite git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17572 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07Added rough support for dejagnu testing. Changes need to be made to autoconf ↵Tanya Lattner
to provide the target_triplet and to check for 'grep -C' which would be used instead of the python script we have now. Eventually the python script should be converted to bash. The dejagnu-clean needs to be fixed to use find. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17555 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-30Internalize variable names to prevent recursive assignment. Cleanup docs.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17359 91177308-0d34-0410-b5e6-96231b3b80d8