Skip to content

BUG: Build fails on xyz with abc #7

@Mukulikaa

Description

@Mukulikaa

Describe the issue:

Build fails on xyz with abc

Reproduce the code example:

export CC=/path/to/gcc7
python setup.py build

Error message:

Defaulting to user installation because normal site-packages is not writeable
Processing /autofs/nccs-svm1_home1/[...]/numpy
  DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
   pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Building wheels for collected packages: numpy
  Building wheel for numpy (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /sw/summit/python/3.7/anaconda3/5.3.0/bin/python /sw/summit/python/3.7/anaconda3/5.3.0/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmp_k8vx39q
       cwd: /tmp/pip-req-build-vyase0q6
  Complete output (860 lines):
  gcc: build/src.linux-ppc64le-3.7/numpy/core/src/umath/loops_trigonometric.dispatch.c
  gcc: build/src.linux-ppc64le-3.7/numpy/core/src/umath/loops_exponent_log.dispatch.c
  gcc: build/src.linux-ppc64le-3.7/numpy/core/src/umath/loops_arithmetic.dispatch.c
  In file included from numpy/core/src/common/simd/vsx/vsx.h:73:0,
                   from numpy/core/src/common/simd/simd.h:40,
                   from numpy/core/src/umath/loops_arithm_fp.dispatch.c.src:9:
  numpy/core/src/common/simd/vsx/operators.h: In function 'npyv_and_b64':
  numpy/core/src/common/simd/vsx/operators.h:71:1: error: invalid parameter combination for AltiVec intrinsic __builtin_vec_and
   NPYV_IMPL_VSX_BIN_B64(and)
   ^~~~~~~~~~~~~~~~~~~~~
  In file included from numpy/core/src/common/simd/vsx/vsx.h:73:0,
                   from numpy/core/src/common/simd/simd.h:40,
                   from numpy/core/src/umath/loops_arithmetic.dispatch.c.src:11:
  numpy/core/src/common/simd/vsx/operators.h: In function 'npyv_and_b64':
  numpy/core/src/common/simd/vsx/operators.h:71:1: error: invalid parameter combination for AltiVec intrinsic __builtin_vec_and
   NPYV_IMPL_VSX_BIN_B64(and)
   ^~~~~~~~~~~~~~~~~~~~~
  In file included from numpy/core/src/common/simd/vsx/vsx.h:73:0,
ppc64le-3.7/numpy/core/src/umath/loops_trigonometric.dispatch.o.d -O3 -mcpu=power8" failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly

NumPy/Python version information:

NumPy: 1.22.0.dev0+944.gc6ac4dab5
Python: 3.9.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions