Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Script stack at exporting cflags #1

Open
best4username opened this issue Jul 31, 2019 · 0 comments
Open

Build Script stack at exporting cflags #1

best4username opened this issue Jul 31, 2019 · 0 comments

Comments

@best4username
Copy link

best4username commented Jul 31, 2019

Build Script Stack at cflags when it try to grep numpy version the following line will never finish :

FLAGS+=" -DPYTHON3_NUMPY_VERSION=$(cat $(find ${deps_path}/ -wholename 'python3numpy-.egg' | grep -i 'PKG-INFO') | grep -i "version" | tail -n1 | awk '{ print $2 }')"

Reason is no PKG-INFO in that file this ouput of cat :

Metadata-Version: 1.1
Name: numpy
Version: 1.8.1
Summary: NumPy: array processing for numbers, strings, records, and objects.
Home-page: http://www.numpy.org
Author: NumPy Developers
Author-email: [email protected]
License: BSD
Download-URL: http://sourceforge.net/projects/numpy/files/NumPy/
Description: NumPy is a general-purpose array-processing package designed to
efficiently manipulate large multi-dimensional arrays of arbitrary
records without sacrificing too much speed for small multi-dimensional
arrays. NumPy is built on the Numeric code base and adds features
introduced by numarray as well as an extended C-API and the ability to
create arrays of arbitrary type which also makes NumPy suitable for
interfacing with general-purpose data-base applications.

    There are also basic facilities for discrete fourier transform,
    basic linear algebra and random number generation.

Platform: Windows
Platform: Linux
Platform: Solaris
Platform: Mac OS-X
Platform: Unix
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved
Classifier: Programming Language :: C
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development
Classifier: Topic :: Scientific/Engineering
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS

I cant figure it out So I have fixed the verison
FLAGS+=" -DPYTHON3_NUMPY_VERSION=1.8.1"

This also happens with python2 numpy

Thank u

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant