Commit graph

16 commits

Author SHA1 Message Date
Alex Crichton 7756fe685f Use new kind= syntax for libs throughout Cargo
This should inadvertently fix #1401
2015-03-26 14:05:13 -07:00
Alex Crichton 922a83eecc Probe for curl when configuring 2015-02-24 15:43:42 -08:00
Alex Crichton e144a669d5 Probe for a C compiler in the configure script
Probably a good sanity check to have up front to ensure that you've got a C
compiler locally!

Closes #820
2015-01-13 20:19:26 -08:00
Alex Crichton 48420965e6 Update to rust master 2014-12-21 12:33:09 -08:00
Alex Crichton 079d90235d Upgrade all deps to using build scripts 2014-11-11 14:31:23 -08:00
Alex Crichton 2830efec61 Continue to tweak the win64 build process on the bots 2014-09-16 20:39:01 -07:00
Alex Crichton 05c3079db6 Add an option to bootstrap from a local cargo 2014-09-16 18:49:18 -07:00
Alex Crichton 1b8f84ad3d Tweak the 32-bit windows triple 2014-09-16 12:57:08 -07:00
Alex Crichton b8739ce658 Move to rustdoc instead of ruby's middleman
* All markdown files are now rendered with `rustdoc` into HTML
* A JS syntax highlighter, prism, is included for TOML syntax highlighting.
* A new makefile target, `make doc`, will build docs into `target/doc`
2014-09-10 16:20:01 -07:00
Alex Crichton c64fd71ede Revert "Revert "Use libgit2 for driving git instead of the CLI""
This reverts commit 04440bb035.

Conflicts:
	src/cargo/sources/git/utils.rs
2014-08-26 20:12:44 -07:00
Alex Crichton c9e0863137 Revert "Use libgit2 for driving git instead of the CLI"
This reverts commit 3cd82ed7a1.

Conflicts:
	src/cargo/sources/git/utils.rs
2014-08-19 09:10:14 -07:00
Alex Crichton 230dbf6a59 Use libgit2 for driving git instead of the CLI
In general relying on external programs is dicey and tricky as they're very
different across systems in both how they're used as well as what versions
you'll find. Instead of binding to the least common denominator of CLI, we can
code against an exact version of libgit2.

This introduces a build-time dependency on cmake which libgit2 requires to build
itself, which is unfortunate, but thankfully it's only a build time dep. The
build process for libgit2 also automatically detects as many system libraries as
possible to use (if available), falling back to bundled versions if not
available. I have currently not figured how to control this, so the link-config
package is used to build libgit2 which requires that pkg-config be installed to
build cargo as well.

Closes #138
2014-08-16 15:54:07 -07:00
Alex Crichton cd7878eaad Add a configure option to disable cross-tests
The tests are enabled by default and must be opted out of.

Closes #346
2014-08-10 22:04:15 -07:00
Alex Crichton bfc1519490 Make freshness tests more robust with time travel
Add a helper function to forcibly move a tree back one hour so new edits are
picked up correctly.
2014-08-02 10:55:02 -07:00
Alex Crichton 3824c7bb2c Add a --enable-optimize flag to ./configure 2014-08-02 10:23:11 -07:00
Alex Crichton 442418b283 Add a configure script
This configure script is similar to rust's in that it doesn't require anything
like autotools, it's just a meta-script to "generate" a makefile and perform
run-of-the-mill validation/discovery before the Makefile is run.

The main purpose of this rewrite is to support multi-target and targeted builds.
This will allow us to produce 32-bit snapshots for platforms as well as easily
providing `./configure --target $foo` for initialization.

cc #274
2014-07-28 18:07:09 -07:00