Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/scripts/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ cd ../..

#Install glog
echo "## Building glog"
git clone --branch v0.4.0 --depth 1 https://github.com/google/glog
mkdir -p glog/build_0_4_0
cd glog/build_0_4_0
git clone --branch v0.7.1 --depth 1 https://github.com/google/glog
mkdir -p glog/build_0_7_1
cd glog/build_0_7_1
cmake -DCMAKE_PREFIX_PATH=/usr ..
make
make install
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
python_version: ['3.11']

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
name: Install Python ${{ matrix.python_version }}
with:
python-version: ${{ matrix.python_version }}
Expand All @@ -31,7 +31,7 @@ jobs:
python -m pip install cibuildwheel twine
cibuildwheel --output-dir ${{ github.workspace }}/wheelhouse ${{ github.workspace }}/build
env:
CIBW_DEBUG_KEEP_CONTAINER=: TRUE
CIBW_DEBUG_KEEP_CONTAINER: "TRUE"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
# Skip building PyPy wheels on all platforms
Expand All @@ -41,9 +41,9 @@ jobs:
CIBW_BUILD_VERBOSITY: 3
CIBW_BEFORE_ALL: >
cd {project} && ./.github/scripts/install_deps.sh {package}
CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-*"
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-*"
CIBW_ENVIRONMENT: COMPILE_BINDINGS="True"
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: manylinux_wheels
path: ${{ github.workspace }}/wheelhouse
Expand All @@ -54,12 +54,12 @@ jobs:
needs: [build_wheels]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
name: Install Python 3.11
with:
python-version: '3.11'
- uses: actions/download-artifact@v4.1.7
- uses: actions/download-artifact@v7
with:
name: manylinux_wheels
- name: Upload to PyPI
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

if(NOT ${CMAKE_VERSION} VERSION_LESS "3.18.0")
# https://cmake.org/cmake/help/v3.18/policy/CMP0068.html
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:
OS_VERSION: jammy
artifactName: 'Linux-Ubuntu-22.04'
deploy_doxygen:
imageName: 'ubuntu-20.04'
imageName: 'ubuntu-22.04'
OS_TYPE: 'doxygen'
OS_VERSION: focal
artifactName: 'Linux-Ubuntu-20.04'
artifactName: 'Linux-Ubuntu-22.04'
pool:
vmImage: $(imageName)
steps:
Expand Down
2 changes: 1 addition & 1 deletion bindings/csharp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

set(CSHARP_WRAPPER_DLL ${PROJECT_NAME}-sharp-cxx-wrap)

Expand Down
2 changes: 1 addition & 1 deletion bindings/labview/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
set (CMAKE_CXX_STANDARD 11)
#Find libiio and link it to the targets generated by this project

Expand Down
2 changes: 1 addition & 1 deletion bindings/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL "")
set(CMAKE_VERBOSE_MAKEFILE ON)
Expand Down
2 changes: 1 addition & 1 deletion doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
project(doc)

find_program(DOXYGEN_PATH doxygen)
Expand Down
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

add_subdirectory(analog)
add_subdirectory(digital)
Expand Down
2 changes: 1 addition & 1 deletion examples/analog/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
set (CMAKE_CXX_STANDARD 11)
project(analog LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion examples/digital/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
set (CMAKE_CXX_STANDARD 11)
project(digital LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion examples/powersupply/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
set (CMAKE_CXX_STANDARD 11)
project(powersupply LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion examples/voltmeter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)
set (CMAKE_CXX_STANDARD 11)
project(voltmeter LANGUAGES CXX)

Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

option(OSX_PACKAGE "Create OSX package" OFF)
set(BUILD_SHARED_LIBS ON CACHE BOOL "Build shared libraries")
Expand Down
2 changes: 1 addition & 1 deletion tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

add_subdirectory(m2kcli)
add_subdirectory(communication/examples)
2 changes: 1 addition & 1 deletion tools/communication/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

add_subdirectory(spi)
add_subdirectory(i2c)
Expand Down
2 changes: 1 addition & 1 deletion tools/communication/examples/i2c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

set(CMAKE_CXX_STANDARD 11)

Expand Down
2 changes: 1 addition & 1 deletion tools/communication/examples/spi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

set(CMAKE_CXX_STANDARD 11)

Expand Down
2 changes: 1 addition & 1 deletion tools/communication/examples/uart/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

set(CMAKE_CXX_STANDARD 11)

Expand Down
2 changes: 1 addition & 1 deletion tools/m2kcli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# * */

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

set(CMAKE_CXX_STANDARD 11)

Expand Down
Loading