Bug 242847 - math/mkl-dnn: fix build on non-x86
Summary: math/mkl-dnn: fix build on non-x86
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-24 02:01 UTC by Piotr Kubaj
Modified: 2019-12-24 13:40 UTC (History)
1 user (show)

See Also:
yuri: maintainer-feedback+


Attachments
patch (2.20 KB, patch)
2019-12-24 02:01 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (yuri)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2019-12-24 02:01:37 UTC
Created attachment 210188 [details]
patch

Remove hardcoded -msse4.1 and instead add it to our Makefile, but only on amd64 and i386.

Other than that, this port builds ok, at least on powerpc64.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-12-24 13:40:59 UTC
A commit references this bug:

Author: pkubaj
Date: Tue Dec 24 13:40:03 UTC 2019
New revision: 520806
URL: https://svnweb.freebsd.org/changeset/ports/520806

Log:
  math/mkl-dnn: fix build on non-x86

  Remove hardcoded -msse4.1 and instead add it to our Makefile, but only on amd64 and i386.

  PR:		242847
  Approved by:	yuri (maintainer)

Changes:
  head/math/mkl-dnn/Makefile
  head/math/mkl-dnn/files/patch-cmake_platform.cmake