Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659696 - sci-libs/tensorflow can't be build for arm64 (+ patch)
Summary: sci-libs/tensorflow 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)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-06-30 19:01 UTC by Paul Osmialowski
Modified: 2018-11-13 17:27 UTC (History)
2 users (show)

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


Attachments
fix arm64 build (1.9.0_rc1-arm64.patch,486 bytes, patch)
2018-06-30 19:02 UTC, Paul Osmialowski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Osmialowski 2018-06-30 19:01:26 UTC
Due to use of incompatible -mfpu=neon flag during compiler invocation, tensorflow can't be build for arm64.

Reproducible: Always

Steps to Reproduce:
1. emerge tensorflow
2.
3.
Actual Results:  
build failed

Expected Results:  
build succeeded

Note that even with proposed that one needs to build tensorflow with USE="-python" in order to succeed (but I guess this is not arm64-related problem)
Comment 1 Paul Osmialowski 2018-06-30 19:02:13 UTC
Created attachment 537878 [details, diff]
fix arm64 build
Comment 2 Guilherme Amadio gentoo-dev 2018-11-12 10:39:10 UTC
tensorflow-1.9 is no longer in Gentoo, is this bug still there for 1.11?
Comment 3 Paul Osmialowski 2018-11-13 17:27:59 UTC
Indeed, I managed to upgrade to 1.11.0 with my patch removed.