Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659682 - sci-libs/openfoam can't be build for arm64 (+ patch)
Summary: sci-libs/openfoam can't be build for arm64 (+ patch)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Deadline: 2019-10-28
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords: PATCH, PMASKED
Depends on:
Blocks:
 
Reported: 2018-06-30 14:10 UTC by Paul Osmialowski
Modified: 2019-10-31 15:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix arm64 build (2.4.0-r1_aarch64.patch,9.59 KB, text/plain)
2018-06-30 14:11 UTC, Paul Osmialowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Osmialowski 2018-06-30 14:10:09 UTC
openfoam's buidl scripts poses two problems:
1. aarch64 architecture is not recognized, hence incompatible 32-bit build is forced by default
2. even after adding aarch64 case to build scripts, linux64 builds always invoke compiler with incompatible -m64 flag


Reproducible: Always

Steps to Reproduce:
1. emerge openfoam
2.
3.
Actual Results:  
build failure

Expected Results:  
build complete
Comment 1 Paul Osmialowski 2018-06-30 14:11:16 UTC
Created attachment 537864 [details]
fix arm64 build

Attached is the patch that correct openfoam's build scripts for AArch64 builds.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-31 15:36:46 UTC
Package removed.