about summary refs log tree commit diff
path: root/configure
AgeCommit message (Collapse)AuthorLines
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
2013-03-06mk: Cleanup. Minor fixesBrian Anderson-0/+1
2013-03-04build fixesGraydon Hoare-2/+2
2013-03-03rt: MIPS32 supportJyun-Yan You-4/+4
2013-03-02mk: cleanup - lib and executable suffix handlingYoung-il Choi-21/+39
2013-03-01mk: mingw32 flags addedYoung-il Choi-1/+1
2013-02-27mk: rewrite make filesYoung-il Choi-1/+21
2013-02-26Fix --disable-optimize-llvmBrian Anderson-1/+1
2013-02-21mk: Split target triples into bulid triple + host triples + target triplesBrian Anderson-12/+11
For cross compiling to targets that don't want to build a compiler
2013-02-12auto merge of #4876 : brson/rust/debuginfo, r=brsonbors-0/+2
Update of #4862
2013-02-10mk: Run debuginfo tests by default, but only if gdb is availableBrian Anderson-0/+1
2013-02-10etc: rework of how libuv is integrated into the buildJeff Olson-1/+1
- thanks to work in libuv's upstream, we can call libuv's Makefile directly with parameters, instead of descending in gyp-uv madness and generating our own.
2013-02-09Add debug info testsBrian Leibig-0/+1
2013-02-05mk: Parameterize tests.mk to the maxBrian Anderson-1/+1
2013-02-04Add support for clang 4.2 (as reported by apple clang) r=graydonDimitri Krassovski-1/+1
2013-01-30Remove CFG_LLVM_CONFIG probe from configure scriptCody Schroeder-1/+0
2013-01-28Add support for Ubuntu named clang packages.William Ting-1/+1
Ubuntu's clang packages have additional information appended to the end of the version. - Building Rust v0.5 with clang v3.0-6ubuntu3 fails. - Building Rust v0.5 and incoming with clang v3.1-5ppa (backported from Debian) works. Closes #4441.
2013-01-13Support ARM and Androidkyeongwoon-1/+1
Conflicts: src/libcore/os.rs src/librustc/back/link.rs src/librustc/driver/driver.rs src/librustc/metadata/loader.rs src/librustc/middle/trans/base.rs
2013-01-12support clang 3.2Jyun-Yan You-1/+1
2013-01-08Remove unused bigint from runtimeBrian Anderson-1/+1
2012-11-30add option validation to configure, now it will error out on undefined optionsJimmy Lu-0/+40
2012-11-14configure: force clang when on freebsd.Graydon Hoare-0/+9
2012-11-04Merge remote-tracking branch 'brson/repl'Brian Anderson-1/+1
Conflicts: mk/install.mk src/rt/rustrt.def.in
2012-10-30rusti: Remove linenoise module, add to rt, remove core::rlZack Corr-7/+1