Bug 272727

Summary: net/boinc-client: configure alternate platform according to ${ARCH}
Product: Ports & Packages Reporter: Älven <alster>
Component: Individual Port(s)Assignee: Larry Rosenman <ler>
Status: Open ---    
Severity: Affects Only Me CC: ler
Priority: --- Keywords: easy, feature
Version: LatestFlags: alster: maintainer-feedback-
Hardware: amd64   
OS: Any   
URL: https://boinc.berkeley.edu/trac/wiki/BuildSystem
Attachments:
Description Flags
Trivial patch
none
[PATCH] net/boinc-client: Change alternate platform to x86_64-pc-linux-gnu
none
[PATCH] net/boinc-client: Change alternate platform to x86_64-pc-linux-gnu
none
[PATCH] net/boinc-client: configure alternate platform according to ${ARCH} alster: maintainer-approval? (ler)

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}