summary refs log tree commit diff
path: root/src/etc/snapshot.py
AgeCommit message (Collapse)AuthorLines
2014-01-05Add tidy support for snapshotsCorey Richardson-0/+38
This let's us specify exactly which snapshot a given note to update after snapshot is for. Closes #2483
2013-12-18llvm: Disable pthread on mingwklutzy-2/+1
llvm supports both win32 native threads and pthread, but configure tries to find pthread first. This manually disables pthread to use native api. This removes libpthreads-2.dll dependency on librustc.
2013-12-06Link rustllvm statically, and distribute a static snapshotAlex Crichton-28/+4
In order to keep up to date with changes to the libraries that `llvm-config` spits out, the dependencies to the LLVM are a dynamically generated rust file. This file is now automatically updated whenever LLVM is updated to get kept up-to-date. At the same time, this cleans out some old cruft which isn't necessary in the makefiles in terms of dependencies. Closes #10745 Closes #10744
2013-11-29Statically link librustrt to libstdAlex Crichton-4/+0
This commit alters the build process of the compiler to build a static librustrt.a instead of a dynamic version. This means that we can stop distributing librustrt as well as default linking against it in the compiler. This also means that if you attempt to build rust code without libstd, it will no longer work if there are any landing pads in play. The reason for this is that LLVM and rustc will emit calls to the various upcalls in librustrt used to manage exception handling. In theory we could split librustrt into librustrt and librustupcall. We would then distribute librustupcall and link to it for all programs using landing pads, but I would rather see just one librustrt artifact and simplify the build process. The major benefit of doing this is that building a static rust library for use in embedded situations all of a sudden just became a whole lot more feasible. Closes #3361
2013-11-13be more robust when removing download artifacts and remove bogus raise statementBenjamin Peterson-2/+5
2013-10-29Move rust's uv implementation to its own crateAlex Crichton-0/+4
There are a few reasons that this is a desirable move to take: 1. Proof of concept that a third party event loop is possible 2. Clear separation of responsibility between rt::io and the uv-backend 3. Enforce in the future that the event loop is "pluggable" and replacable Here's a quick summary of the points of this pull request which make this possible: * Two new lang items were introduced: event_loop, and event_loop_factory. The idea of a "factory" is to define a function which can be called with no arguments and will return the new event loop as a trait object. This factory is emitted to the crate map when building an executable. The factory doesn't have to exist, and when it doesn't then an empty slot is in the crate map and a basic event loop with no I/O support is provided to the runtime. * When building an executable, then the rustuv crate will be linked by default (providing a default implementation of the event loop) via a similar method to injecting a dependency on libstd. This is currently the only location where the rustuv crate is ever linked. * There is a new #[no_uv] attribute (implied by #[no_std]) which denies implicitly linking to rustuv by default Closes #5019
2013-10-02Package system runtime dependencies into snapshotsVadim Chugunov-2/+27
2013-07-19mk: Remove CFG_INSTALL_SNAP logic. #2664Brian Anderson-30/+1
2013-06-30configure: Require one of wget or curl.Luqman Aden-2/+8
2013-06-20core -> extra for macJames Miller-1/+1
2013-06-20Fix update snapshot script for renameJames Miller-4/+4
2013-01-17Add a license check to tidy. #4018Brian Anderson-0/+2
2012-12-11Switch snapshots to static.rust-lang.org.Graydon Hoare-1/+1
2012-10-08Revert bogus snapshot.py changeTim Chevalier-2/+1
2012-10-08Remove extra spaces from snapshots.txtTim Chevalier-1/+2
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-1/+1
2012-05-31Add libsyntax to the Python script for making a snapshotKevin Cantu-5/+4
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-0/+1
Per issue #2418.
2012-04-03update make glob from .so to .dylibNiko Matsakis-1/+1
2012-03-29build: Add librustsyntax to snapshotsBrian Anderson-0/+4
2012-03-28python scripts run with Python 2.4 (for RHEL5)Grahame Bowland-5/+11
2012-01-17Python!Graydon Hoare-1/+1
2012-01-17Long line, grumble.Graydon Hoare-1/+2
2012-01-17don't leave files that will not checksum if download is interruptedGrahame Bowland-1/+7
2012-01-14build: Build libraries in the bin directory on win32Brian Anderson-5/+5
2012-01-12Revert "build: Build libraries in the bin directory on win32"Brian Anderson-5/+5
This reverts commit 23e0d16b5fd259dc252b220777f164f1e2eb9c30.
2012-01-12build: Build libraries in the bin directory on win32Brian Anderson-5/+5
2012-01-01fix link errorJyun-Yan You-1/+9
2011-12-19Remove cargo from snapshot file-list again; overestimated.Graydon Hoare-3/+0
2011-12-16Install and snapshot cargo by default.Graydon Hoare-0/+3
2011-12-16Update build machinery to build and install librustc everywhere (including ↵Graydon Hoare-0/+3
snapshots).
2011-12-13Attempt to fix windows builder.Graydon Hoare-1/+1
2011-12-12Update snapshot scripts to pick up the versioned librariesHaitao Li-9/+21
2011-12-07Change snapshot script to pick up host libcore as well.Graydon Hoare-6/+15
2011-12-02build: added CFG_INSTALL_SNAP for automatically activating test snapshotsStefan Plantikow-1/+31
This is only guaranteed to work when building in the top-level dir
2011-11-29tweak to get windows test-running correctNiko Matsakis-1/+2
2011-11-29update snapshot scriptsNiko Matsakis-17/+17
2011-10-31Register snapshotsBrian Anderson-9/+0
2011-10-31Update snapshot scripts for new stdlib nameBrian Anderson-1/+10
2011-09-29Register snapshots and finish filesystem reorgBrian Anderson-10/+0
2011-09-29Update snapshot scripts for the new regimeBrian Anderson-6/+6
2011-09-28Eliminate glue.o. Closes #990Brian Anderson-1/+11
2011-08-14Register new snapshotsBrian Anderson-9/+0
Use main.o from the snapshot
2011-08-14Fix typo in snapshot.pyBrian Anderson-1/+1
2011-08-14Add lib/main.o to snapshotBrian Anderson-1/+10
Snapshotting main.o is going to make it easier (I think) to convert main to use ivecs
2011-07-27Hack to make snap-stage1 actually build incompatible changesMarijn Haverbeke-1/+4
You can't build libstd both with stage0 and stage1 if the two are incompatible This is probably temporary
2011-07-21Build the stage1 compiler against the newly built librustrt.Michael Sullivan-8/+0
2011-07-21Grab librustrt.so instead of lib/librustrt.so in the snapshot.Michael Sullivan-0/+8
2011-07-21Build stage0/lib/libstd.so using the stage0 compiler.Michael Sullivan-3/+3
This essentially starts the bootstrapping one step earlier by building the stdlib from source using the stage0 compiler and then using that stdlib to build the stage1 compiler. (Instead of starting by building the stage1 compiler and then building a stdlib with it). This means we should now be able to add features to the stdlib and use them in the compiler without having to do a snapshot. (On the flip side, this means that we now need to do a snapshot if we want to use a new language feature in the stdlib, but that doesn't really seem too burdensome (we already need to snapshot if we want to use a new language feature in the compiler)).
2011-07-19Register new snapshotsBrian Anderson-9/+0
Update snapshot scripts to complete transition of intrinsics.bc to lib dir