mirror of
https://github.com/anrieff/libcpuid
synced 2024-11-30 23:05:48 +00:00
20fbc35374
When building the binding, link the dynamic C library as built by `make` instead of linking the system-installed C library. This simplifies packaging in Linux distributions and also the build of the live docs.
26 lines
471 B
YAML
26 lines
471 B
YAML
# Read the Docs configuration file
|
|
|
|
version: 2
|
|
|
|
build:
|
|
os: ubuntu-22.04
|
|
tools:
|
|
python: latest
|
|
apt_packages:
|
|
- autoconf
|
|
- libtool
|
|
- automake
|
|
jobs:
|
|
pre_install:
|
|
- libtoolize
|
|
- autoreconf --install
|
|
- ./configure
|
|
- make
|
|
- pip install cffi
|
|
- python python/src/libcpuid/_ffi_build.py --runtime-link
|
|
sphinx:
|
|
configuration: python/docs/conf.py
|
|
|
|
python:
|
|
install:
|
|
- requirements: python/docs/requirements.txt
|