Skip to content

Commit

Permalink
contrib/darktable: disable openmp on ppc64le/riscv64
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Aug 18, 2023
1 parent f7d3060 commit cc75004
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions contrib/darktable/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
# no tests in release tarball
options = ["!check"]

if self.profile().arch == "ppc64le":
# FIXME: ld: error: Invalid record (Producer: 'LLVM16.0.6' Reader: 'LLVM 16.0.6') ???
options += ["!lto"]
# with lto: ld: error: Invalid record (Producer: 'LLVM16.0.6' Reader: 'LLVM 16.0.6')
# without lto: ICE: fatal error: error in backend: Cannot select: 0x3fff9b420de0: ...
match self.profile().arch:
case "ppc64le" | "riscv64":
configure_args += ["-DUSE_OPENMP=OFF"]

0 comments on commit cc75004

Please sign in to comment.