about summary refs log tree commit diff
path: root/configure
AgeCommit message (Collapse)AuthorLines
2013-09-21Pass --disable-terminfo to LLVM's configure script. Closes #9334Brian Anderson-0/+3
The right way to link to terminfo varies by linux distribution, so this is making our snapshots less compatible.
2013-09-20Invert --cfg debug to --cfg ndebugAlex Crichton-1/+1
Many people will be very confused that their debug! statements aren't working when they first use rust only to learn that they should have been building with `--cfg debug` the entire time. This inverts the meaning of the flag to instead of enabling debug statements, now it disables debug statements. This way the default behavior is a bit more reasonable, and requires less end-user configuration. Furthermore, this turns on debug by default when building the rustc compiler.
2013-09-06Be sure to reconfigure LLVM even when relocatedAlex Crichton-1/+1
2013-09-04Move the `rt` build directory under $targetAlex Crichton-4/+3
Closes #2302
2013-09-03Build rustllvm into $target/rustllvmAlex Crichton-3/+1
2013-09-03Move llvm into the artifacts build directoryAlex Crichton-2/+2
2013-08-25Revert "auto merge of #8745 : brson/rust/metadata, r=cmr"Brian Anderson-2/+1
This reverts commit 491bc3568c87dadaba4d342135bd308961c6e0ef, reversing changes made to 05f1bbba16912f63b562a7847801823872f89ec6.
2013-08-24Don't ever compress metadataBrian Anderson-1/+0
2013-08-23Allow metadata to be not compressedBrian Anderson-1/+3
2013-08-20enable tests for the container tutorialDaniel Micay-0/+1
2013-08-19doc: add condition tutorialGraydon Hoare-0/+1
2013-08-11Allow disabling optimizations in tests onlyAlex Crichton-0/+1
2013-07-31Provide a "configure" option to disable LLVM assertionsBjörn Steinbrink-3/+11
Builds are considerably faster without assertions, so when working on e.g. libstd, which doesn't directly interact with LLVM, one might want to disable them.
2013-07-19auto merge of #7868 : ↵bors-3/+0
pnkfelix/rust/issue6929-remove-bogus-sed-invoke-from-configure, r=brson ... in tree. Fix #6929
2013-07-18auto merge of #7847 : alexcrichton/rust/verbose-submodule, r=pnkfelixbors-6/+6
Closes #3816. Without --quiet, git shows its own progress report of download. It's not really a progress bar, but it's a percentage and files incoming. This will help initial downloads of LLVM to not cause people to wonder why their configure script is hanging for hours. r? @graydon
2013-07-18remove non-portable sed invocation as brson says we no longer have clang in ↵Felix S. Klock II-3/+0
tree.
2013-07-17Remove --quiet from git submodule operationsAlex Crichton-6/+6
2013-07-16Add configure and make machinery to activate perf metrics and ratchets.Graydon Hoare-0/+1
2013-07-11wire up makefile to run codegen tests and add one to startGraydon Hoare-0/+1
2013-06-30configure: Require one of wget or curl.Luqman Aden-1/+1
2013-06-25Stop passing --disable-threads to LLVMAlex Crichton-3/+1
2013-06-08configure: replace echo "" with plain echoRamkumar Ramachandra-5/+5
When no arguments are given, echo prints a blank line. These two are equivalent: $ echo "" $ echo Replace the former by the latter. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-06-01integrate jemalloc into the buildDaniel Micay-1/+2
2013-05-30auto merge of #6836 : pnkfelix/rust/fsk-issue6805-ccache-rewrite-basedir, ↵bors-0/+7
r=catamorphism Attempt to get reuse of common object code from multiple clones in different directories. This is a followup to issue #6805.
2013-05-30bump clang versionCorey Richardson-1/+1
2013-05-30Attempt to get reuse of common code from multiple clones in different ↵Felix S. Klock II-0/+7
directories.
2013-05-29auto merge of #6813 : pnkfelix/rust/fsk-issue-6805-ccache-support, ↵bors-4/+39
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-4/+39
invocations with ccache to attempt to reuse common results, e.g. for LLVM (re)builds.
2013-05-25Issue #6419: Better clang version detection for Apple ClangKevin Ballard-2/+2
Apple Clang uses different version numbering than "regular" clang, but it also provides the "regular" version it's based on. Update the sed pattern to pull out this "regular" version number instead of the Apple version number.
2013-05-24Define _RUST_STAGEN when building rustrt.Tom Lee-5/+9
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-1/+1
This only changes the directory names; it does not change the "real" metadata names.
2013-05-14Get unit tests for rusti workingAlex Crichton-0/+3
* 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-04configure: CFG_ADB for adb addedYoung-il Choi-0/+4
2013-04-11auto merge of #5837 : tdaede/rust/fix_file_command, r=catamorphismbors-1/+1
Without 'file' it assumes a 32 bit userspace even with a 64 bit kernel, which is incorrect in most cases.
2013-04-11Pass the value of python to LLVM's configure script. #5835Brian Anderson-1/+1
2013-04-11Add check for 'file' command which is necessary for 32-bit userspace detection.Thomas Daede-1/+1
2013-04-10LLVM versionsSeo Sanghyeon-1/+1
2013-03-29Stop building clangBrian Anderson-0/+4
Removing it from the tree is an ordeal and there is no official way to disable clang via LLVM's Makefiles so this edits the Makefile in llvm/tools after running configure.
2013-03-28auto merge of #5561 : fabiand/rust/wllvm32, r=catamorphismbors-1/+1
Previously the build system only checked for llvm-3.1 - 2.8. Now also 3.2 and 3.2svn is accepted. Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2013-03-27auto merge of #5576 : yichoi/rust/pull-0327, r=brsonbors-1/+1
minor fix configure: cleanup - parsing supported target triples
2013-03-27Fix cpu type normalization in configure scriptBrian Anderson-3/+0
This condition was added for cygwin support but appears to simply turn off the normalization of CPU types
2013-03-27configure: cleanup - parsing supported target triplesYoung-il Choi-1/+1
2013-03-26configure: Accept llvm-3.2Fabian Deutsch-1/+1
Previously the build system only checked for llvm-3.1 - 2.8. Now also 3.2 and 3.2svn is accepted. Signed-off-by: Fabian Deutsch <fabian.deutsch@gmx.de>
2013-03-26auto merge of #5540 : dbaupp/rust/configure-pandoc-version, r=brsonbors-6/+7
The version recognition was failing for pandoc version 1.11, thinking the minor version was 1 rather than 11, and thus not building the documentation.
2013-03-26auto merge of #5537 : yichoi/rust/pull-0325, r=brsonbors-1/+16
In order to mitigate typo of target-triples, error notification of unsupported target triples which defined in mk/platform.mk added. minor fix for arm-linux-androideabi added.
2013-03-26configure: simplify pandoc version recognition.Huon Wilson-6/+7
The version recognition was failing for version 1.11, thinking the minor version was 1 rather than 11.
2013-03-25configure: error on unsupported target-triples and arm-linux-androideabi fixYoung-il Choi-1/+16
2013-03-23changed /configure to be compatible with Cygwin and removed annoying --help ↵Thad Guidry-2/+40
not a command available message
2013-03-22configure: accept clang 3.3 when passed --enable-clangLuqman Aden-1/+1
2013-03-06Merge remote-tracking branch 'brson/cross7'Brian Anderson-15/+54
Conflicts: configure mk/rt.mk