57 Commits

Author SHA1 Message Date
PulkoMandy
f163d1eec6 Rust: update from-source recipe to 1.79, disable on x86_64
Build fails with:

```
error[E0463]: can't find crate for `core`

error[E0463]: can't find crate for `std`

For more information about this error, try `rustc --explain E0463`.
```

The relevant bit of the "explain":

```
Common causes for missing std or core
*   You are cross-compiling for a target which doesn't have std prepackaged. Consider one of the
    following:
    + Adding a pre-compiled version of std with rustup target add
    + Building std from source with cargo build -Z build-std
    + Using #![no_std] at the crate root, so you won't need std in the first place.
*   You are developing the compiler itself and haven't built libstd from source. You can usually build it with x.py build library/std. More
    information about x.py is available in the rustc-dev-guide.
```

Since I know nothing about Rust, my efforts stop here for today.
According to the git log, this seems to be the same state we were in the
1.73 recipe.
2024-08-10 20:19:47 +02:00
Niels Sascha Reedijk
556ef50e0e Rust: cleanup recipes and WIP for 1.73.0 (#9752)
This commit cleans out all previous Rust recipes, and provides a work
in progress recipe for 1.73.0.

The current status of the 1.73.0 recipe is that it contains all changes
that are needed to do a successful build. I am running into an error,
where the intermediate stage1 compiler is not able to find the core
and standard libraries. This is not an issue building outside of
`haikuporter`. I suspect the chroot environment may be the reason, but
it requires more investigation.
2023-11-20 07:38:23 +01:00
Niels Sascha Reedijk
0d9a522e1e Rust:add version 1.55.0 (#6191) 2021-09-30 12:08:56 -04:00
waddlesplash
4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00
Niels Sascha Reedijk
02fefe9f73 Rust: add version 1.54.0 (#6107) 2021-07-30 15:03:44 +03:00
Niels Sascha Reedijk
2b9cffa3af Rust: add version 1.53.0 (#6007) 2021-06-22 08:57:43 -05:00
Schrijvers Luc
97c510b9bd Use https over http, fixes problems reported by repology (#5916) 2021-05-15 09:30:48 +02:00
Niels Sascha Reedijk
45a52d4949 Rust: add version 1.52.0 (#5873) 2021-05-08 10:02:12 +02:00
Niels Sascha Reedijk
014d98c390 Rust: add version 1.51.0 (#5796) 2021-03-25 20:00:20 +03:00
Niels Sascha Reedijk
c8267d1a55 Rust haiku 1.50.0 (#5711)
* Rust: add version 1.49.0

* Rust: add version 1.50.0
2021-02-14 12:33:39 +01:00
Niels Sascha Reedijk
edaf48c136 Rust: add version 1.49.0 (#5572) 2021-01-10 12:02:53 +01:00
Niels Sascha Reedijk
094329476c Rust: add version 1.48.0 (#5422) 2020-11-21 11:35:50 +03:00
Niels Sascha Reedijk
190c377a31 Rust: Add version 1.45.0 (#5242)
Note that rust_bin does not include rls in this version, as the current
incarnation depends on an unsupported dependency. Rls seems to be
falling out of favour for rust-analyser anyway, so this is not a
blocker.
2020-09-12 22:40:14 +03:00
Niels Sascha Reedijk
cfaf7a1be3 Rust: Add version 1.44.0 (#5114) 2020-06-13 19:30:34 +03:00
Niels Sascha Reedijk
521e8b287c Rust: add recipe for 1.43.0 (#4906) 2020-04-25 12:02:35 -04:00
Augustin Cavalier
165a784ece Bump revisions of all packages that depend on curl. 2020-04-11 17:32:56 -04:00
Niels Sascha Reedijk
18b6d42345 Rust: add recipe for 1.42.0 (#4791) 2020-03-14 14:47:00 -04:00
Niels Sascha Reedijk
cb4d04a67e Rust: add recipe for 1.41.0 (#4706) 2020-02-16 14:36:33 +01:00
Niels Sascha Reedijk
76d6654067 Rust: add recipe for 1.40.0 (#4491) 2019-12-27 18:00:46 -05:00
Niels Sascha Reedijk
7e9510b8f8 Rust: add recipe for 1.38.0 (#4280) 2019-10-08 23:28:59 -04:00
Niels Sascha Reedijk
df2d529173 Rust: add recipe for 1.36.0 (#4017)
This also removes the _x86 postfix from some earlier patchsets
2019-07-20 15:01:46 -04:00
Niels Sascha Reedijk
8a661cc34e Rust: add recipe for 1.35.0 2019-06-09 09:33:28 +02:00
Niels Sascha Reedijk
05b27ed37b Rust: add recipe for 1.34.2 2019-06-07 08:32:47 +02:00
Niels Sascha Reedijk
6e3a4028c7 Rust: add recipe for 1.33.0 2019-06-05 21:11:59 +02:00
Niels Sascha Reedijk
efbcd7305b Rust: add recipe for 1.32.0 (#3639) 2019-03-06 13:27:19 -05:00
Niels Sascha Reedijk
93b8bb28b7 Rust: add recipe for 1.29.0 (#3147) 2019-02-13 14:21:04 -05:00
Jerome Duval
0d782eba67 dev-*: reorder sections. 2018-08-08 16:18:18 +02:00
Jerome Duval
3ef5b9655d rust: srcGitRev2 => srcGitRev_2.
* code style.
2018-08-07 10:33:00 +02:00
Niels Sascha Reedijk
d6ef4a6e22 Rust: add recipe for 1.28.0 (#2882) 2018-08-05 21:57:02 +00:00
Niels Sascha Reedijk
8b189c34ca Rust: Add recipe for 1.27.0 (#2771)
This change includes both the rust and rust_bin recipe. The remark
regarding the memory usage of the build on Haiku remains, that's
why the build is marked as untested. I have, however, tested the 
recipe up to the point where the main build starts so the odds are 
good that it might build.

Also remove the rust~dev recipe for the 1.22 version.
2018-07-05 14:53:56 +00:00
Niels Sascha Reedijk
e473b27aaa Rust: Add recipe for 1.21.0 (#2647)
The rust_bin recipe is built of binary artifacts. The main reason is
that the 32 bit version can no longer be built on Haiku, because it
crosses a hard memory limit. Perhaps this changes later on. In any case,
an added advantage is that this makes the package buildable by the
buildbots.

For documentation purposes, a regular rust recipe is also provided. This
will probably run on a x86_64 machine with a decent amount of RAM. The
package depends on rustc and cargo being available for the same version.
This makes it both buildable from the rust_bin and the rust recipe.
2018-07-03 17:18:15 +00:00
Niels Sascha Reedijk
3582a04140 Rust: add recipe for Rust 1.20.0
This recipe stops building the src tarball, which means that our dependency
on cargo-vendor is not necessary anymore.
2018-06-03 20:43:12 +00:00
Niels Sascha Reedijk
a4f6f21436 Rust: add recipe for 1.19.0 2018-06-03 20:43:12 +00:00
Niels Sascha Reedijk
225d02851c Rust: add recipe for Rust 1.18.0 2018-06-03 20:43:12 +00:00
Niels Sascha Reedijk
aba5767078 Rust 1.17.0: update the git2 dependency of cargo to prevent crashes 2018-06-03 20:43:12 +00:00
Niels Sascha Reedijk
21294480d6 [Rust] Add recipes for 1.16.0 and 1.17.0 (#2540)
* Rust: add recipe for Rust 1.16.0

This is the first instance of the recipe where it builds cargo itself.

* Rust: add recipe for Rust 1.17.0
2018-05-08 14:28:13 -04:00
Niels Sascha Reedijk
f45daffffc Rust: several changes to the 1.15.1 recipe (#1735)
Add the cargo command to the package. Rust's package management tool is now
included in the package. The rationale for inclusion versus external package
is that the cargo command is closely related to the version of the rustc
compiler, and with the future dependency of the rust build system on cargo
they are closely linked.
2017-10-24 07:35:54 +02:00
Niels Sascha Reedijk
02720c5025 Rust: add recipe for 1.15.1 (#1701)
The recipe is based on the official github sources, plus patches where
applicable. The tree including patches can be found at
https://github.com/nielx/rust
2017-10-08 19:23:21 +03:00
Niels Sascha Reedijk
2c67b6bd90 Rust: add recipe for 1.14.0 (#1689)
This recipe is based on the official sources, but has some additional patches.
The tree with integrated patches can be found at https://github.com/nielx/rust
2017-10-05 09:27:57 +02:00
Niels Sascha Reedijk
c432f58865 Rust: add recipe for rust 1.13.0 (#1668)
The difference with the recipes for versions 1.9.0 through 1.12.1 is that
this one is based off the "official" rust sources, after Alexander
von Gluck integrated the existing patches and added some additional of his
own. The recipe uses some additional patches to fix the build system (and
some oversights). The complete patched source tree can be found at
https://github.com/nielx/rust
2017-10-04 07:21:36 +02:00
Niels Sascha Reedijk
b7be7b5b6f Rust 1.12.1: Specify the buildtools version (#1683) 2017-10-03 18:55:58 +02:00
Jérôme Duval
55a4c36af6 rust: enable 1.12 on gcc2_x86. 2017-09-25 15:30:11 +02:00
Jérôme Duval
a96cc162f4 rust: enable 1.11 on gcc2_x86. 2017-09-25 08:16:31 +02:00
Niels Sascha Reedijk
2dd16a1b3a Rust: fix checksums for 1.10.0 and 1.11.0 (#1666) 2017-09-24 22:49:49 +03:00
Jerome Duval
515034125a rust: enable 1.10 on gcc2_x86. 2017-09-24 20:38:55 +02:00
Niels Sascha Reedijk
71d6de91d6 Rust 1.9.0: fixed invalid checksums (#1665) 2017-09-24 09:17:30 +02:00
Jérôme Duval
03895ad142 rust: disable x86 on 1.9.0. 2017-09-23 22:34:55 +02:00
Jérôme Duval
9d264a2498 rust: disable versions for which reqs can't be met. 2017-09-23 22:21:17 +02:00
Niels Sascha Reedijk
abcea533a6 Rust: mark the x86 as tested, to see whether this triggers the buildbot (#1659) 2017-09-23 16:30:30 +02:00
Niels Sascha Reedijk
0b46481fce rust: mark as tested 1.9.0 through 1.12.1 on gcc2_x86 (#1658) 2017-09-22 22:06:25 +02:00