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

TST: add test package depending on a cmake subproject #599

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

TST: make cmake-subproject test package work with older Meson

b1f6a08
Select commit
Loading
Failed to load commit list.
Open

TST: add test package depending on a cmake subproject #599

TST: make cmake-subproject test package work with older Meson
b1f6a08
Select commit
Loading
Failed to load commit list.
Cirrus CI / manylinux-python3.11 failed Mar 12, 2024 in 1m 25s

Task Summary

Instruction test failed in 01:22

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:00 clone
❌ 01:22 test

| -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
| -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
| -- Performing Test COMPILER_HAS_DEPRECATED_ATTR
| -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
| -- Configuring done (0.6s)
| -- Generating done (0.0s)
| -- Build files have been written to: /tmp/cirrus-ci-build/tests/packages/cmake-subproject/.mesonpy-ueq4pk_h/subprojects/cmaketest/__CMake_build

cmaketest| CMake configuration: SUCCEEDED
cmaketest| CMake project cmaketest has 1 build targets.
cmaketest| Generated Meson AST: /tmp/cirrus-ci-build/tests/packages/cmake-subproject/.mesonpy-ueq4pk_h/subprojects/cmaketest/meson.build
cmaketest| Project name: cmaketest
cmaketest| Project version: undefined
cmaketest| C++ compiler for the host machine: c++ (gcc 12.2.1 "c++ (GCC) 12.2.1 20221121 (Red Hat 12.2.1-7)")
cmaketest| C++ linker for the host machine: c++ ld.bfd 2.38-17
cmaketest| Build targets in project: 1
cmaketest| Subproject cmaketest finished.

Dependency cmaketest from subproject subprojects/cmaketest found: YES undefined
Program python found: YES (/tmp/cirrus-ci-build/env/bin/python3)
Run-time dependency python found: YES 3.11
Build targets in project: 2

cmake-subproject 1

  Subprojects
    cmaketest   : YES

  User defined options
    Native files: /tmp/cirrus-ci-build/tests/packages/cmake-subproject/.mesonpy-ueq4pk_h/meson-python-native-file.ini
    buildtype   : release
    b_ndebug    : if-release
    b_vscrt     : md

Found ninja-1.8.2 at /usr/bin/ninja
+ /usr/bin/ninja
[1/6] Compiling C++ object subprojects/cmaketest/libcmaketest.so.p/cmaketest.cpp.o
[2/6] Linking target subprojects/cmaketest/libcmaketest.so
[3/6] Generating symbol file subprojects/cmaketest/libcmaketest.so.p/libcmaketest.so.symbols
[4/6] Compiling Cython source /tmp/cirrus-ci-build/tests/packages/cmake-subproject/cmakesubproject.pyx
[5/6] Compiling C++ object cmakesubproject.cpython-311-x86_64-linux-gnu.so.p/meson-generated_cmakesubproject.pyx.cpp.o
[6/6] Linking target cmakesubproject.cpython-311-x86_64-linux-gnu.so

meson-python: error: Could not map installation path to an equivalent wheel directory: '{prefix}/lib/libcmaketest.so'
=========================== short test summary info ============================
SKIPPED [3] tests/test_options.py:18: Ninja version too old
SKIPPED [1] tests/test_project.py:204: Requires MSVC
SKIPPED [3] tests/test_project.py:216: macOS specific test
SKIPPED [2] tests/test_project.py:233: macOS specific test
SKIPPED [1] tests/test_tags.py:47: macOS specific test
SKIPPED [1] tests/test_tags.py:59: macOS specific test
SKIPPED [1] tests/test_tags.py:69: macOS specific test
SKIPPED [2] tests/test_wheel.py:249: macOS specific test
ERROR tests/test_wheel.py::test_cmake_subproject - SystemExit: 1
============== 94 passed, 14 skipped, 1 error in 61.39s (0:01:01) ==============
��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������