summary refs log tree commit diff
path: root/mk
AgeCommit message (Collapse)AuthorLines
2013-06-30mk: clean-llvm for cross-compileYoung-il Choi-1/+1
2013-06-29auto merge of #7442 : graydon/rust/clean-llvm-trigger, r=brsonbors-1/+1
This makes it possible for us to trigger the llvm-clean make-target by checking in a change that touches rustllvm/llvm-auto-clean-stamp. Most developers don't need to see or know about this, but when you push a change that "needs an LLVM rebuild", even if not otherwise obvious, this should give a mechanism to do it.
2013-06-28auto merge of #7437 : brson/rust/winver, r=brsonbors-2/+3
r? @graydon (or anybody)
2013-06-28add a tutorial on containers and iteratorsDaniel Micay-0/+10
2013-06-27mk: Include all bins in the windows installBrian Anderson-2/+3
2013-06-27mk: add mechanisms for triggering clean-llvm builds from commitsGraydon Hoare-1/+1
2013-06-25Deny common lints by default for lib{std,extra}Alex Crichton-2/+11
2013-06-25Rename all files with the 'rc' extensionAlex Crichton-7/+7
2013-06-20auto merge of #7128 : yichoi/rust/fix_sometc, r=brsonbors-3/+1
- Fix stat struct for Android (found by SEGV at run-pass/stat.rs) - Adjust some test cases to rpass for Android - Modify some script to rpass for Android
2013-06-18Turn off jemallocBrian Anderson-2/+2
2013-06-17mk: tests.mk simplify the method to clean arm testing directoryYoung-il Choi-3/+1
2013-06-15Remove the fuzzerBrian Anderson-47/+0
It is suffering from a bad case of megabitrot.
2013-06-13mk: arm support - disable tls of jemalloc on rt.mkYoung-il Choi-0/+12
2013-06-10Pass the correct build flags to jemallocJames Miller-1/+7
Apparently the standard --build and --host flags don't actually _do_ anything. This re-uses the libuv flags, since they are the same for getting jemalloc to cross-compile
2013-06-07pass correct flags to jemalloc for cross-compilingDaniel Micay-1/+2
2013-06-06auto merge of #6895 : cmr/rust/jemalloc, r=brsonbors-11/+16
2013-06-06mk: Fix _RUST_STAGEX variables under cross compile. Fix incomingBrian Anderson-0/+9
2013-06-05mk: Bulid rustrt with -pthread instead of -lpthreadBrian Anderson-6/+6
2013-06-01Windows fixesCorey Richardson-1/+1
2013-06-01integrate jemalloc into the buildDaniel Micay-5/+10
2013-06-01mk: test.mk modify to better supportYoung-il Choi-0/+10
2013-05-30auto merge of #6689 : graydon/rust/issue-5661-doc-test-targets, r=graydonbors-1/+1
Re-enables `make check-stage2-doc-tutorial` and friends. r? @brson
2013-05-30fix the check-stageN-doc-$doc targets, close #5661Graydon Hoare-1/+1
2013-05-30Attempt to get reuse of common code from multiple clones in different ↵Felix S. Klock II-0/+5
directories.
2013-05-29auto merge of #6813 : pnkfelix/rust/fsk-issue-6805-ccache-support, ↵bors-0/+29
r=catamorphism Fix #6805: add --enable-ccache configure option to prefix compiler invocations with `ccache` to attempt to reuse common results, e.g. for LLVM (re)builds. The information at developer [Note-ccache](../../wiki/Note-ccache) and at [ccache and clang concerns](http://petereisentraut.blogspot.fr/2011/09/ccache-and-clang-part-2.html) were what drove my introduction of the `-Qunused-arguments` and `CCACHE_CPP2` options. (Though I did confirm first-hand that at least the first really is necessary.) Yes, one certainly can re-route how `gcc` and `clang` are resolved in one's PATH and use that as a way to invoke `ccache`. But I personally do not want to introduce that change to my own PATH, and this seems like a small enough change that it does not hurt to add it, at least for now. (I don't know what form it would take when we move over to `rustpkg`.)
2013-05-29Fix #6805: add --enable-ccache configure option to prefix compiler ↵Felix S. Klock II-0/+29
invocations with ccache to attempt to reuse common results, e.g. for LLVM (re)builds.
2013-05-29auto merge of #6733 : alexcrichton/rust/issue-2400, r=brsonbors-0/+7
Most of the relevant information can be found in the commit messages. r? @brson - I just wanted to make sure the make changes aren't completely bogus This would close #2400, #6517, and #6489 (although a run through incoming-full on linux would have to confirm the latter two)
2013-05-28Define rustc's host triple at compile timeAlex Crichton-0/+7
This way a cross-compiled rustc's answer to host_triple() is correct. The return value of host_triple() reflects the actual host triple that the compiler was build for, not the triple the compiler is being built on
2013-05-29Refactor optimization pass handling.James Miller-1/+1
Refactor the optimization passes to explicitly use the passes. This commit just re-implements the same passes as were already being run. It also adds an option (behind `-Z`) to run the LLVM lint pass on the unoptimized IR.
2013-05-28Fix 'make check-stage1-std' by correcting dependenciesAlex Crichton-1/+1
2013-05-24auto merge of #6728 : alexcrichton/rust/update-linenoise, r=Aatchbors-1/+1
This updates the bundled linenoise library, and explicitly builds it with UTF8 support. This way rusti correctly handles utf8 characters when doing line operations. Closes #6681
2013-05-24Set the USE_UTF8 flag for linenoise to handle utf8-inputAlex Crichton-1/+1
2013-05-24Define _RUST_STAGEN when building rustrt.Tom Lee-49/+55
This lets us use #ifdefs to determine which stage of the build we happen to be in, which is useful in the event we need to make changes to rustrt that are incompatible with the code generated by stage0. This should help pave the way to completing #6575, which will likely require changes to type signatures for spawn_fn & glue_fn in rustrt.
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-68/+68
This only changes the directory names; it does not change the "real" metadata names.
2013-05-17auto merge of #6249 : crabtw/rust/arm, r=brsonbors-0/+30
It uses the private field of TCB head to store stack limit. I tested on my Raspberry PI. A simple hello world program ran without any problem. However, for a more complex program, it segfaulted as #6231.
2013-05-14Get unit tests for rusti workingAlex Crichton-11/+11
* They didn't work before, because the location of the tests caused the 'sysroot' option to crate lookup to be wrong for finding the correct stage's core/std libraries. This moves the compiled tests from the $host/test directory into a $host/$stage/test directory. This means that the sysroot will be correct and the core/std libraries can actually be found * The LLVM bindings apparently aren't threadsafe, so we can't run multiple tests in parallel.
2013-05-13Update make dependencies of librustAlex Crichton-0/+3
2013-05-09improve MIPS backend and implement segmented stacksJyun-Yan You-2/+2
2013-05-07auto merge of #6295 : yichoi/rust/pull-mingw32, r=brsonbors-2/+4
fix for #6279 #6253 mk: rt.mk regression patch for mingw32 after #6176 currently do not pass optimization option just make it works only mk: target.mk host.mk fix for duplicated rules of mingw32 after #6235 It can be simply fixed with CFG_LIB check whether bin or lib however considering multiple target triples with linux and windows, CFG_LIB needs to configurable #5223 and #5577
2013-05-07mk: target.mk host.mk fix for duplicated rules of mingw32 after #6235Young-il Choi-0/+4
2013-05-07mk: rt.mk regression patch for mingw32 after #6176Young-il Choi-2/+0
2013-05-07preliminary Linux ARM supportJyun-Yan You-0/+30
2013-05-06minor automatic whitespace fixesDaniel Micay-6/+6
2013-05-06auto merge of #6150 : yichoi/rust/arm-test-pull, r=brsonbors-5/+160
Support #5297 install.mk : install-runtime-target added for conveneice automatically push runtime library to android device test.mk : expanded to support android test automation with adb compiletest : expanded to support android test automation with adb
2013-05-05auto merge of #6235 : ↵bors-19/+51
pnkfelix/rust/issue-3326-play-with-directory-orderonly-prereqs, r=z0w0 r? (for #3326)
2013-05-04Fix another goof: consistently use parent directory of target for rule.Felix S. Klock II-10/+16
(I wonder if there's a better way to write this in the rule itself; i.e. something like `$$(dirname $$@)`. But for now this will do.)
2013-05-04Fix syntax: had to use escaped $$ to have an effect after first expansion.Felix S. Klock II-2/+2
2013-05-04compiletest: remove --host and cleanupYoung-il Choi-2/+1
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-15/+14
2013-05-03Make build products depend on their target directories.Felix S. Klock II-19/+45
This is an attempt to address Issue #3326 by adding [*order-only*][1] prerequsites of each build product on the directory where it is to go. It is important that the prerequisites be order-only, since the timestamp on a parent directory is not relevant to whether a product is out of date; the parent directory merely needs to exist. (This use case of generating target directories was provided as an [example][2] of how order-only prequisites are used.) [1]: http://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html [2]: http://www.kolpackov.net/pipermail/notes/2004-January/000001.html