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

Add support for clang 13.0 #60

Open
paddyroddy opened this issue Nov 12, 2021 · 0 comments
Open

Add support for clang 13.0 #60

paddyroddy opened this issue Nov 12, 2021 · 0 comments
Labels

Comments

@paddyroddy
Copy link
Collaborator

Looks like conan has been updated to support it conan-io/conan#9643 but clearly however pyssht uses it doesn't reflect that update

pip intall pyssht

Collecting pyssht
  Using cached pyssht-1.5.1.tar.gz (78 kB)
  Installing build dependencies ... \\done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting scipy
  Downloading scipy-1.7.2-cp39-cp39-macosx_10_9_x86_64.whl (33.2 MB)
     |████████████████████████████████| 33.2 MB 9.7 MB/s
Collecting numpy
  Downloading numpy-1.21.4-cp39-cp39-macosx_10_9_x86_64.whl (17.0 MB)
     |████████████████████████████████| 17.0 MB 9.3 MB/s
Building wheels for collected packages: pyssht
  Building wheel for pyssht (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/paddy/miniforge3/bin/python /Users/paddy/miniforge3/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/tmpfhp9075e
       cwd: /private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-install-5xr1arb5/pyssht_3231792106434516895c500f2985c5a6
  Complete output (76 lines):
  Not searching for unused variables given on the command line.
  -- The C compiler identification is AppleClang 13.0.0.13000029
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-install-5xr1arb5/pyssht_3231792106434516895c500f2985c5a6/_cmake_test_compile/build
  -- The C compiler identification is AppleClang 13.0.0.13000029
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Downloading conan.cmake from https://github.com/conan-io/cmake-conan
  -- Conan: checking conan executable
  -- Conan: Found program /private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-build-env-kv4g_3pc/overlay/bin/conan
  -- Conan: Version found Conan version 1.42.1

  -- Conan executing: /private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-build-env-kv4g_3pc/overlay/bin/conan install /private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-install-5xr1arb5/pyssht_3231792106434516895c500f2985c5a6/conanfile.txt --remote conancenter --generator cmake_find_package --generator cmake_paths --build missing --settings build_type=Release --settings compiler=apple-clang --settings compiler.version=13.0
  ERROR: Invalid setting '13.0' is not a valid 'settings.compiler.version' value.
  Possible values are ['5.0', '5.1', '6.0', '6.1', '7.0', '7.3', '8.0', '8.1', '9.0', '9.1', '10.0', '11.0', '12.0']
  Read "http://docs.conan.io/en/latest/faq/troubleshooting.html#error-invalid-setting"
  CMake Error at _skbuild/macosx-10.16-x86_64-3.9/cmake-build/conan.cmake:631 (message):
    Conan install failed='1'
  Call Stack (most recent call first):
    cmake/conan_dependencies.cmake:12 (conan_cmake_install)
    CMakeLists.txt:17 (include)


  -- Configuring incomplete, errors occurred!
  See also "/private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-install-5xr1arb5/pyssht_3231792106434516895c500f2985c5a6/_skbuild/macosx-10.16-x86_64-3.9/cmake-build/CMakeFiles/CMakeOutput.log".
  See also "/private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-install-5xr1arb5/pyssht_3231792106434516895c500f2985c5a6/_skbuild/macosx-10.16-x86_64-3.9/cmake-build/CMakeFiles/CMakeError.log".
    File "/private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-build-env-kv4g_3pc/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 586, in setup
      env = cmkr.configure(cmake_args,
    File "/private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-build-env-kv4g_3pc/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 237, in configure
      raise SKBuildError(


  --------------------------------------------------------------------------------
  -- Trying "Ninja" generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying "Ninja" generator - success
  --------------------------------------------------------------------------------

  Configuring Project
    Working directory:
      /private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-install-5xr1arb5/pyssht_3231792106434516895c500f2985c5a6/_skbuild/macosx-10.16-x86_64-3.9/cmake-build
    Command:
      cmake /private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-install-5xr1arb5/pyssht_3231792106434516895c500f2985c5a6 -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-install-5xr1arb5/pyssht_3231792106434516895c500f2985c5a6/_skbuild/macosx-10.16-x86_64-3.9/cmake-install -DPYTHON_EXECUTABLE:FILEPATH=/Users/paddy/miniforge3/bin/python -DPYTHON_VERSION_STRING:STRING=3.9.7 -DPYTHON_INCLUDE_DIR:PATH=/Users/paddy/miniforge3/include/python3.9 -DPYTHON_LIBRARY:FILEPATH=/Users/paddy/miniforge3/lib/libpython3.9.dylib -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-build-env-kv4g_3pc/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DBUILD_TESTING:BOOL=OFF -Dconan_deps=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.16 -DCMAKE_OSX_ARCHITECTURES:STRING=x86_64

  Traceback (most recent call last):

  An error occurred while configuring with CMake.
    Command:
      cmake /private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-install-5xr1arb5/pyssht_3231792106434516895c500f2985c5a6 -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-install-5xr1arb5/pyssht_3231792106434516895c500f2985c5a6/_skbuild/macosx-10.16-x86_64-3.9/cmake-install -DPYTHON_EXECUTABLE:FILEPATH=/Users/paddy/miniforge3/bin/python -DPYTHON_VERSION_STRING:STRING=3.9.7 -DPYTHON_INCLUDE_DIR:PATH=/Users/paddy/miniforge3/include/python3.9 -DPYTHON_LIBRARY:FILEPATH=/Users/paddy/miniforge3/lib/libpython3.9.dylib -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-build-env-kv4g_3pc/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DBUILD_TESTING:BOOL=OFF -Dconan_deps=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.16 -DCMAKE_OSX_ARCHITECTURES:STRING=x86_64
    Source directory:
      /private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-install-5xr1arb5/pyssht_3231792106434516895c500f2985c5a6
    Working directory:
      /private/var/folders/_c/43kmhsb94tn3922mqy9gl2000000gn/T/pip-install-5xr1arb5/pyssht_3231792106434516895c500f2985c5a6/_skbuild/macosx-10.16-x86_64-3.9/cmake-build
  Please see CMake's output for more information.
  ----------------------------------------
  ERROR: Failed building wheel for pyssht
Failed to build pyssht
ERROR: Could not build wheels for pyssht which use PEP 517 and cannot be installed directly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant