Closed GPMueller closed 4 years ago
Remaining problems running test_pybind11
on CI:
/usr/bin/ld: cannot find -lpython3.8
on Ubuntu 18PermissionError: [WinError 5] Access is denied: 'build\\pylib\\default\\bin\\pylib.pyd'
on WindowsNote the include and library directories on the Ubuntu CI:
Python headers in: /home/travis/virtualenv/python3.8.1/include/python3.8
Python library in: /home/travis/virtualenv/python3.8.1/lib
I'm not particularly happy with the solution for the AppVeyor problem, but since it's only in the context of test cleanup I suppose it's fine for now. This PR should therefore be ready for merging now.
Merging #112 into master will increase coverage by
1.51%
. The diff coverage is97.22%
.
@@ Coverage Diff @@
## master #112 +/- ##
==========================================
+ Coverage 79.03% 80.54% +1.51%
==========================================
Files 17 17
Lines 1197 1218 +21
==========================================
+ Hits 946 981 +35
+ Misses 251 237 -14
Impacted Files | Coverage Δ | |
---|---|---|
clang_build/platform.py | 98.41% <96.66%> (+0.54%) |
:arrow_up: |
clang_build/compiler.py | 69.81% <100.00%> (+1.81%) |
:arrow_up: |
clang_build/target.py | 81.84% <100.00%> (+1.96%) |
:arrow_up: |
clang_build/single_source.py | 61.90% <0.00%> (+12.69%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 88350d2...4d842c2. Read the comment docs.
This PR implements some additional platform-parameters that can be used to locate the Python headers and library, as well as building binary extension modules. A test using pybind11 is included and integrated in the test-suite.
Closes #43.