Alex Crichton
139f44bae8
rollup merge of #20375 : brson/windistfix
2014-12-31 11:13:37 -08:00
Brian Anderson
7608dbad65
mk: Fix the location of a temp dir when building installer on win
2014-12-31 10:06:21 -08:00
Alex Crichton
04f42212a3
rollup merge of #20344 : brson/srctarballs
...
Easier for scripts to figure out which artifact is the source code.
2014-12-30 16:26:21 -08:00
Brian Anderson
1131acbc8e
mk: Append -src to source tarballs for easier identification
2014-12-30 11:47:12 -08:00
Brian Anderson
b12dfbb491
Simplify some logic in dist.mk
2014-12-29 19:08:35 -08:00
Brian Anderson
7628806997
mk: Package mingw components in unix installer on windows
...
This puts stdc++ and the unwinding dll into the main package
and creates a separate rust-mingw package for everything else.
2014-12-29 17:26:05 -08:00
Brian Anderson
022d48566b
mk: Make distcheck build binary tarballs on windows
...
These work, but aren't being built and uploaded because the bots run
'distcheck' not 'dist'.
2014-12-29 17:26:05 -08:00
Brian Anderson
8b3c67690c
Install copyright information and package docs
...
This distributes docs in a separate package called rust-docs. The rust-packaging
project will combine it with Rust and Cargo into a single installer in a variety of formats.
2014-12-29 17:26:05 -08:00
Brian Anderson
4f2ab2bf46
Upgrade rust-installer to v2
2014-12-29 17:26:02 -08:00
Ken Tossell
cbf80f3a68
Only try to install the doc directory if it exists.
...
If you configure with `--disable-docs`, the `doc` directory does not get generated, so
`cp -r doc dist/` fails when you `make dist{,-tar-bins,-doc}` or `make install`
2014-12-17 19:24:40 -05:00
Brian Anderson
e92e8ac365
Use rust-installer for installation
...
This is just a refactoring of the current installer so that Rust and Cargo
use the same codebase.
cc #16456
2014-12-11 17:14:17 -08:00
Brian Anderson
65bca024a7
Don't try to dist src/README.md which does not exist
2014-12-10 09:47:36 -08:00
Vadim Chugunov
de8f48b10a
- Support gcc-less installation on Windows. To do so in unattended mode run:<intaller>.exe /TYPE=compact /SILENT
.
...
- Do not require admin privileges to install.
2014-12-06 12:48:32 -08:00
Vitali Haravy
c254957078
Attempt to fix the problem with failing distcheck.
2014-11-10 21:05:34 +00:00
Brian Anderson
ea4d5d2a24
Rename RELEASES.txt to RELEASES.md. It's markdown.
2014-10-07 11:18:47 -07:00
Aaron Turon
c5d2ed54a3
Remove libuv, gyp
...
This commit removes the libuv and gyp submodules, as well as all build
infrastructure related to them.
For more context, see the [runtime removal
RFC](https://github.com/rust-lang/rfcs/pull/230 )
[breaking-change]
2014-10-01 12:42:30 -07:00
Brian Anderson
0f75b2911c
mk: Start producing binary tarballs on windows
...
We may use these for creating combined rust/cargo installers
2014-09-29 15:29:10 -07:00
Vadim Chugunov
7085b3edd9
Package rustc's mingw dependencies into Windows installer.
...
gcc, ld, ar, dlltool, windres go into $(RUST)/bin/rustlib/<triple>/bin/
platform libraries and startup objects got into $(RUST)/bin/rustlib/<triple>/lib/
2014-09-11 09:40:21 -07:00
Brian Anderson
5206e79b92
Fix naming of windows installer
2014-09-09 13:33:29 -07:00
Brian Anderson
3ebf25ee80
Fix snapshot.py for win64
2014-09-09 13:29:55 -07:00
Brian Anderson
e34e86d151
mk: Have the various flavors of 'dist' install all targets by default
...
Closes #15711
2014-07-23 12:04:29 -07:00
Brian Anderson
ce20571a55
Revert "Made 'make install' include libs for additional targets"
...
This reverts commit 87334fb05f
.
Conflicts:
mk/install.mk
2014-07-22 17:18:03 -07:00
Alex Crichton
3e49647a49
mk: Don't run rustc manually during distcheck
...
This is already checked by the install script, no need to check it twice.
2014-07-10 08:09:43 -07:00
Steven Fackler
21dba11fec
Fix distcheck
...
libcoretest wasn't being included which broke the verification of the
tarball.
2014-06-30 09:13:09 -07:00
Alex Crichton
034f218061
mk: Bundle jemalloc with make dist
...
The dist tarball doesn't depend on git, so all git submodules must be included
inside of it.
2014-05-11 17:41:36 -04:00
Alex Crichton
9306e840f5
rustdoc: Migrate from sundown to hoedown
...
This primary fix brought on by this upgrade is the proper matching of the ```
and ~~~ doc blocks. This also moves hoedown to a git submodule rather than a
bundled repository.
Additionally, hoedown is stricter about code blocks, so this ended up fixing a
lot of invalid code blocks (ending with " ```" instead of "```", or ending with
"~~~~" instead of "~~~").
Closes #12776
2014-05-03 17:36:20 -07:00
Brian Anderson
8f3c2a6ffd
dist: Make Windows installer uninstall first. Closes #9563
...
This will remove existing files before installing new ones. Note
that I took some code with no license from stackoverflow, as
indicated in comments.
2014-04-15 19:45:00 -07:00
Dmitry Promsky
87334fb05f
Made 'make install' include libs for additional targets
2014-04-08 00:03:12 -07:00
Huon Wilson
b236f45e35
Add stdlib docs to the Linux binary tarball.
...
These are not installed anywhere, but are included under `./doc` for
those who want an offline copy with their nightlies. This increases the
size of the (compressed) tarball from 76 to 83 MB.
2014-04-04 13:23:00 -07:00
Brian Anderson
d2686c751a
mk: Workaround distcheck failure on mac. #13224
...
Mac can't actually build our source tarballs because it's `tar`
command doesn't support the --exclude-vcs flag. This is just
a workaround to make our mac nightlies work (we get our source
tarballs from the linux bot).
2014-03-31 00:10:13 -07:00
Brian Anderson
84e9c0692a
mk: distcheck --uninstall
2014-03-30 21:23:43 -07:00
Brian Anderson
45f2d83d3c
dist: Add libbacktrace to source tarballs
2014-03-30 21:13:25 -07:00
Brian Anderson
4aa7a8a5c8
mk: Fix 'make dist' on Mac
2014-03-30 19:14:39 -07:00
Alex Crichton
bec333c4bc
dist: Tweak the OSX pkg installer
...
This performs a few touch-ups to the OSX installer:
* A rust logo is shown during installation
* The installation happens to /usr/local by default (instead of /)
* A new welcome screen is shown that's slightly more relevant
2014-03-28 18:29:29 -07:00
Brian Anderson
0f4f786b62
mk: Use 'find' invocation that works on mac
2014-03-26 21:28:56 -07:00
Brian Anderson
c060e2e515
install: Don't allow installation over the install files
2014-03-26 18:52:23 -07:00
Brian Anderson
92d0ec2ec7
install: name the bundled manifest 'manifest.in'. Cleanup
...
The installed manifest is a different file, so they should have
different names. This should prevent various wierd conflicts in the future.
2014-03-26 14:59:08 -07:00
Brian Anderson
ce1e48a52b
install: Support --libdir and --mandir correctly
...
This adds a hack to rustc to make it find the library directory
regardless of whether it is named lib/lib64/lib32.
2014-03-25 23:57:39 -07:00
Brian Anderson
6f9b30c6c1
configure: Make rustlibdir non-configurable
...
Trying to reduce the complexity of installation
2014-03-25 21:35:10 -07:00
Brian Anderson
e509cd6e2b
Revert "Revert "mk: Run 'make install' through install.sh""
...
This reverts commit d62163188a
.
Conflicts:
mk/install.mk
2014-03-25 21:35:10 -07:00
Brian Anderson
ff17b7c099
mk: Remove leading './' from manifest entries
2014-03-25 21:35:10 -07:00
Brian Anderson
39b48fb883
mk: Make distcheck depend on dist-docs
2014-03-24 14:29:23 -07:00
Brian Anderson
d62163188a
Revert "mk: Run 'make install' through install.sh"
...
This reverts commit e93709a911637194835268420e67d768ee19b5df.
2014-03-24 14:29:22 -07:00
Brian Anderson
c796f89dbc
mk: Fix prepare.mk
...
The way it was formulated you could only 'prepare' one directory per build.
2014-03-24 14:29:20 -07:00
Brian Anderson
169f08dd59
mk: Cleanup dist.mk yet more
2014-03-24 14:29:18 -07:00
Brian Anderson
c2e5e62135
mk: Fix some dist deps for parallel builds
2014-03-24 14:29:18 -07:00
Brian Anderson
8694c28762
mk: Run 'make install' through install.sh
2014-03-24 14:29:17 -07:00
Brian Anderson
b8138e0cf2
mk: Wire up everything to dist and distcheck
...
Fix some misc bugs
2014-03-24 14:29:17 -07:00
Brian Anderson
dd7a60e0c3
mk: Fix distcheck
...
Also, add more distcheck tests
2014-03-24 14:29:17 -07:00
Brian Anderson
ae0e47a6eb
mk: Add FIXME about making windows installer support all hosts
2014-03-24 14:29:17 -07:00