-
Notifications
You must be signed in to change notification settings - Fork 7
Clean up packaging. #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
0001-Use-a-non-existent-test-path-instead-of-clobbering-d.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,8 @@ | ||
| From fbd3fbdb24563a9d8fd3651f6bdc90bbbbd81d3e Mon Sep 17 00:00:00 2001 | ||
| From e9491f4aa3b1c2c0f9b1fdc684e986ba035a5486 Mon Sep 17 00:00:00 2001 | ||
| From: Josh Stone <[email protected]> | ||
| Date: Fri, 1 May 2020 16:50:10 -0700 | ||
| Subject: [PATCH] Use a non-existent test path instead of clobbering /dev/null | ||
| Subject: [PATCH 1/3] Use a non-existent test path instead of clobbering | ||
| /dev/null | ||
|
|
||
| Signed-off-by: Raine Makelainen <[email protected]> | ||
| --- | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,17 @@ | ||
| --- config.toml.example 2020-06-01 18:44:15.000000000 +0300 | ||
| +++ config.toml.example.new 2020-06-17 12:42:44.752144283 +0300 | ||
| From 60d68652869d79e75d30c45ae8a7575bc2da6019 Mon Sep 17 00:00:00 2001 | ||
| From: Matti Kosola <[email protected]> | ||
| Date: Thu, 9 Jul 2020 11:22:10 +0000 | ||
| Subject: [PATCH 2/3] Set proper llvm targets. | ||
|
|
||
| Signed-off-by: Matti Kosola <[email protected]> | ||
| --- | ||
| config.toml.example | 2 +- | ||
| 1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
|
||
| diff --git a/config.toml.example b/config.toml.example | ||
| index 9121d1e1799..7990f01ab42 100644 | ||
| --- a/config.toml.example | ||
| +++ b/config.toml.example | ||
| @@ -63,7 +63,7 @@ | ||
| # support. You'll need to write a target specification at least, and most | ||
| # likely, teach rustc about the C ABI of the target. Get in touch with the | ||
|
|
@@ -9,3 +21,6 @@ | |
|
|
||
| # LLVM experimental targets to build support for. These targets are specified in | ||
| # the same format as above, but since these targets are experimental, they are | ||
| -- | ||
| 2.26.2 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,28 @@ | ||
| Disable statx for all builds. | ||
| From 191c6df3cfb0a3daae7ba40966ed22f8a63af453 Mon Sep 17 00:00:00 2001 | ||
| From: =?UTF-8?q?Tomi=20Lepp=C3=A4nen?= <[email protected]> | ||
| Date: Fri, 26 Jun 2020 11:58:19 +0300 | ||
| Subject: [PATCH 3/3] Disable statx for all builds. JB#50106 | ||
| MIME-Version: 1.0 | ||
| Content-Type: text/plain; charset=UTF-8 | ||
| Content-Transfer-Encoding: 8bit | ||
|
|
||
| libstd implements statx using syscall and thus it will not work on | ||
| scratchbox2. Moreover as it is supported only by Linux 4.11 and newer | ||
| it's little use for us at the moment. It can be disabled and which means | ||
| that optional extra information is set to None. Software should handle | ||
| that gracefully without issues thanks to rust's type system. | ||
|
|
||
| Signed-off-by: Tomi Leppänen <[email protected] | ||
| Signed-off-by: Matti Kosola <[email protected]> | ||
| --- | ||
| --- rustc-1.44.0-src/src/libstd/sys/unix/fs.rs.old 2020-06-01 18:44:16.000000000 +0300 | ||
| +++ rustc-1.44.0-src/src/libstd/sys/unix/fs.rs 2020-06-26 12:42:46.438070586 +0300 | ||
| @@ -58,20 +58,9 @@ | ||
| src/libstd/sys/unix/fs.rs | 15 ++------------- | ||
| 1 file changed, 2 insertions(+), 13 deletions(-) | ||
|
|
||
| diff --git a/src/libstd/sys/unix/fs.rs b/src/libstd/sys/unix/fs.rs | ||
| index a233aa47dff..45fb192fc8c 100644 | ||
| --- a/src/libstd/sys/unix/fs.rs | ||
| +++ b/src/libstd/sys/unix/fs.rs | ||
| @@ -58,20 +58,9 @@ pub struct File(FileDesc); | ||
| // https://github.com/rust-lang/rust/pull/67774 | ||
| macro_rules! cfg_has_statx { | ||
| ({ $($then_tt:tt)* } else { $($else_tt:tt)* }) => { | ||
|
|
@@ -32,3 +45,6 @@ that gracefully without issues thanks to rust's type system. | |
| } | ||
|
|
||
| cfg_has_statx! {{ | ||
| -- | ||
| 2.26.2 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,9 @@ | ||
| * Fri Jul 10 2020 Matti Kosola <[email protected]> - 1.44.0+git3 | ||
| - [rust] Clean up packaging. JB#50106 | ||
| - [rust] Use default codegen units. JB#50106 | ||
| - [rust] Disable tests for arm. JB#50106 | ||
| - [rust] Disable aarch64 build. JB#50106 | ||
|
|
||
| * Fri Jun 26 2020 Tomi Leppänen <[email protected]> - 1.44.0+git2 | ||
| - [rust] Disable statx for all builds. JB#50106 | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.