Bug 238631 - science/PETSc: fix build with non-x86
Summary: science/PETSc: fix build with 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: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-16 22:20 UTC by Piotr Kubaj
Modified: 2019-07-01 19:48 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
patch (1.30 KB, patch)
2019-06-16 22:20 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 2019-06-16 22:20:42 UTC
Created attachment 205150 [details]
patch

Only i386 and amd64 have SSE, don't use it on other platforms.

It probably also builds on ARM platforms with this patch, but someone would have to test it.
Comment 1 commit-hook freebsd_committer 2019-07-01 19:48:31 UTC
A commit references this bug:

Author: pkubaj
Date: Mon Jul  1 19:47:39 UTC 2019
New revision: 505632
URL: https://svnweb.freebsd.org/changeset/ports/505632

Log:
  science/PETSc: fix build with non-x86

  Only i386 and amd64 have SSE, don't use it on other platforms.

  It probably also builds on ARM platforms with this patch, but someone would have to test it.

  PR:		238631
  Approved by:	yuri (maintainer timeout), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20821

Changes:
  head/science/PETSc/Makefile