Github messages for voidlinux
 help / color / mirror / Atom feed
From: Sturmflut <>
Subject: Re: darktable>=3.0.x: build fails for aarch64* with openmp
Date: Sat, 27 Aug 2022 13:57:57 +0200	[thread overview]
Message-ID: <20220827115757.J7sPVdshVcS_5kd2q3DBhEB4vtDCCPDRCWNVhhExzXU@z> (raw)
In-Reply-To: <>

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

New comment by Sturmflut on void-packages repository

`BUILD_SSE2_CODEPATHS=OFF` should be set automatically by CMake. `USE_OPENMP=OFF` is undesirable if you have more than one CPU core.

As a Proof-of-Concept, I converted all the `#ifdef _OPENMP` to `#if defined(_OPENMP) && !defined(__aarch64__)` if they wrapped around a `#pragma omp simd`. The attached patch does this for the current darktable master. It builds with OpenMP on a Raspberry Pi 3 and runs in parallel on all four cores.

Obviously this has to be fixed first and foremost in GCC. If the OpenMP standard supports mixed types for OpenMP SIMD and GCC supports mixed types on other platforms, it definitely also should do so on AArch64.

  parent reply	other threads:[~2022-08-27 11:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-18  6:37 [ISSUE] darktable-3.0.x: " lemmi
2021-01-06 16:37 ` Sturmflut
2021-01-07  4:09 ` lemmi
2022-04-16  2:02 ` github-actions
2022-04-30  2:13 ` [ISSUE] [CLOSED] " github-actions
2022-08-26 22:59 ` Sturmflut
2022-08-27  5:43 ` lemmi
2022-08-27  5:43 ` lemmi
2022-08-27  6:11 ` darktable>=3.0.x: " lemmi
2022-08-27 11:57 ` Sturmflut [this message]
2022-08-27 13:24 ` lemmi
2022-08-27 14:03 ` Sturmflut
2022-08-31 21:29 ` lemmi
2022-11-30  2:03 ` github-actions
2022-12-15  2:01 ` [ISSUE] [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:

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

  git send-email \
    --in-reply-to=20220827115757.J7sPVdshVcS_5kd2q3DBhEB4vtDCCPDRCWNVhhExzXU@z \ \ \

* 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).