Github messages for voidlinux
 help / color / mirror / Atom feed
From: snwnde <snwnde@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [WIP] New package: singularity-3.11.0
Date: Tue, 07 Mar 2023 20:15:33 +0100	[thread overview]
Message-ID: <20230307191533.tR3cW6ZdsU5FOGLREkchC53h48pUNcGJSRt90PAIT-M@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42592@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 950 bytes --]

New comment by snwnde on void-packages repository

https://github.com/void-linux/void-packages/pull/42592#issuecomment-1457061551

Comment:
Caution and tweaks for cross compilation.
- The configuration script `./mconf` needs host go to run.
- `./mconf` tries to build and run some test codes. While building can be done with another architecture, the execution is not possible AFAIK. See [this line](https://github.com/sylabs/singularity/blob/47809b518ec412896fe668cbb3674a6bed6e4548/mlocal/checks/project-post.chk#L202). We have to remove this block from the check script.
- We can remove that block to proceed and get a Makefile. A Makefile target called `codegen` again needs host go to run,
- Cross compilation with `cgo` requires specifying `-extld` in go `ldflags`.

Could we make this an x86-64 only package, given that binaries released by upstream are also only in this architecture https://github.com/sylabs/singularity/releases.



  parent reply	other threads:[~2023-03-07 19:15 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-04 22:49 [PR PATCH] " snwnde
2023-03-04 22:53 ` [PR REVIEW] " classabbyamp
2023-03-04 23:14 ` snwnde
2023-03-06 20:50 ` [PR PATCH] [Updated] [WIP] " snwnde
2023-03-06 20:59 ` snwnde
2023-03-06 21:40 ` snwnde
2023-03-06 21:55 ` snwnde
2023-03-06 22:16 ` [PR PATCH] [Updated] " snwnde
2023-03-06 22:17 ` snwnde
2023-03-07 19:01 ` snwnde
2023-03-07 19:06 ` snwnde
2023-03-07 19:07 ` snwnde
2023-03-07 19:07 ` snwnde
2023-03-07 19:09 ` snwnde
2023-03-07 19:10 ` snwnde
2023-03-07 19:11 ` snwnde
2023-03-07 19:12 ` [PR REVIEW] " snwnde
2023-03-07 19:13 ` snwnde
2023-03-07 19:15 ` snwnde [this message]
2023-03-07 19:26 ` snwnde
2023-03-07 19:31 ` snwnde
2023-03-07 19:32 ` snwnde
2023-03-07 19:34 ` snwnde
2023-06-06  2:05 ` github-actions
2023-06-21  1:57 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230307191533.tR3cW6ZdsU5FOGLREkchC53h48pUNcGJSRt90PAIT-M@z \
    --to=snwnde@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).