Bug 272727 - net/boinc-client: configure alternate platform according to ${ARCH}
Summary: net/boinc-client: configure alternate platform according to ${ARCH}
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Larry Rosenman
URL: https://boinc.berkeley.edu/trac/wiki/...
Keywords: easy, feature
Depends on:
Blocks:
 
Reported: 2023-07-26 00:54 UTC by Älven
Modified: 2024-06-09 08:36 UTC (History)
1 user (show)

See Also:
alster: maintainer-feedback-


Attachments
Trivial patch (1.06 KB, patch)
2023-07-26 00:54 UTC, Älven
no flags Details | Diff
[PATCH] net/boinc-client: Change alternate platform to x86_64-pc-linux-gnu (952 bytes, patch)
2023-08-05 10:12 UTC, Älven
no flags Details | Diff
[PATCH] net/boinc-client: Change alternate platform to x86_64-pc-linux-gnu (1.11 KB, patch)
2023-08-05 12:52 UTC, Älven
no flags Details | Diff
[PATCH] net/boinc-client: configure alternate platform according to ${ARCH} (1.78 KB, patch)
2024-06-09 08:36 UTC, Älven
alster: maintainer-approval? (ler)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Älven 2023-07-26 00:54:03 UTC
Created attachment 243618 [details]
Trivial patch

As most computers with BOINC clients are running on x86_64 nowadays
Comment 1 Älven 2023-07-26 01:49:14 UTC
We also could have it with both platforms enabled:

For example, on a x86_64 linux system that supports both 64-bit and 32-bit executables, you might specify --with-boinc-platform=x86_64-pc-linux-gnu and --with-boinc-alt-platform=i686-pc-linux-gnu.

Just not sure whether it could be of any use, as even if some BOINC projects still have 32-bit executables, they are very likely to have 64-bit ones too, which perform better. And whether Linuxulator subsystem would be able to run 32 bit Linux executables?

What else could we do with it: some kind of platform autodetection? Or manual selection via Makefile flags? This patch is just a simplest working solution, but what could the best one look like?
Comment 2 Älven 2023-08-05 10:12:51 UTC
Created attachment 243858 [details]
[PATCH] net/boinc-client: Change alternate platform to x86_64-pc-linux-gnu
Comment 3 Älven 2023-08-05 12:52:11 UTC
Created attachment 243865 [details]
[PATCH] net/boinc-client: Change alternate platform to x86_64-pc-linux-gnu
Comment 4 Älven 2023-10-31 21:22:11 UTC
Comment on attachment 243865 [details]
[PATCH] net/boinc-client: Change alternate platform to x86_64-pc-linux-gnu

Maintainer timeout
Comment 5 Älven 2024-06-05 16:40:38 UTC
Fixed with commit for bug #252273.
Comment 6 Älven 2024-06-09 08:30:55 UTC
I have a simple patch for this now.
Comment 7 Älven 2024-06-09 08:36:56 UTC
Created attachment 251307 [details]
[PATCH] net/boinc-client: configure alternate platform according to ${ARCH}