Skip to content

Build still non-portable despite SAGE_FAT_BINARY=yes because of numpy #31565

@mkoeppe

Description

@mkoeppe

Follow-up from #29537, #31521.

Observed on cygwin-standard but likely also affects the Docker images and the Sage binary distribution.

With the upgrade to numpy 1.20.x (#31008), the non-portability shows as an error message instead of a crash:

  [sagelib-9.4.beta0]       from numpy.core._multiarray_umath import (
  [sagelib-9.4.beta0]   RuntimeError: NumPy was built with baseline optimizations: 
  [sagelib-9.4.beta0]   (SSE SSE2 SSE3 SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_SKX) but your machine doesn't support:
  [sagelib-9.4.beta0]   (AVX512F).
  [sagelib-9.4.beta0]   ************************************************************************
  [sagelib-9.4.beta0]   Error building the Sage library
  [sagelib-9.4.beta0]   ************************************************************************
  [sagelib-9.4.beta0] Full log file: /cygdrive/d/a/sage/sage/logs/pkgs/sagelib-9.4.beta0.log

Report withs the 9.3 Linux binary:

Depends on #32257

CC: @embray @kliem @dimpase @vbraun @kiwifb @slel

Component: build

Keywords: sdl

Author: Jonathan Kliem

Branch/Commit: 49e531d

Reviewer: Thierry Monteil

Issue created by migration from https://trac.sagemath.org/ticket/31565

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions