Skip to content

Commit

Permalink
REL: Release v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RUrlus committed Jun 12, 2024
1 parent 746420e commit 7a8fbbe
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 14 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.8.0] - 2024-06-12

### Changes

* Adds support for Numpy v2
* BREAKING Minimum Pybind11 version is 2.12.0

## [0.7.0] - 2024-03-27

### Changes
Expand Down
18 changes: 9 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.16)

set(CARMA_VERSION_MAJOR 0)
set(CARMA_VERSION_MINOR 7)
set(CARMA_VERSION_MINOR 8)
set(CARMA_VERSION_PATCH 0)
set(CARMA_VERSION_INFO
"${CARMA_VERSION_MAJOR}.${CARMA_VERSION_MINOR}.${CARMA_VERSION_PATCH}")
Expand All @@ -14,9 +14,9 @@ include(GNUInstallDirs)

set(CMAKE_MODULE_PATH_SAVED ${CMAKE_MODULE_PATH})
list(INSERT CMAKE_MODULE_PATH 0 "${PROJECT_SOURCE_DIR}/cmake")
# # #############################################################################
# # # ############################################################################
# SETTINGS #
# # #############################################################################
# # # ############################################################################
option(CARMA_INSTALL_LIB "Install CARMA headers" OFF)
set(CARMA_INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_INCLUDEDIR}/carma")

Expand All @@ -43,9 +43,9 @@ configure_file(
${PROJECT_SOURCE_DIR}/include/carma_bits/config.h.in
${PROJECT_BINARY_DIR}/include/carma_bits/generated_config.h @ONLY)

# # #############################################################################
# # # ############################################################################
# TARGET #
# # #############################################################################
# # # ############################################################################
add_library(carma INTERFACE)
add_library(carma::carma ALIAS carma)

Expand Down Expand Up @@ -151,9 +151,9 @@ if(CARMA_INSTALL_LIB)
DESTINATION ${CARMA_INCLUDE_INSTALL_DIR}/carma_bits)

else()
# # ###########################################################################
# # # ##########################################################################
# REQUIREMENTS #
# # ###########################################################################
# # # ##########################################################################
find_package(
Python3
COMPONENTS Development NumPy
Expand All @@ -176,9 +176,9 @@ else()
target_precompile_headers(carma INTERFACE
${PROJECT_SOURCE_DIR}/include/carma_bits/cnalloc.h)
endif()
# # #############################################################################
# # # ############################################################################
# TEST TARGETS #
# # #############################################################################
# # # ############################################################################

if(CARMA_BUILD_TESTS OR CARMA_BUILD_EXAMPLES)
set(CMAKE_CXX_STANDARD 14)
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,18 @@ CARMA provides a number of configurations that can be set in the `carma_config.c

## Requirements

CARMA >= v0.8 requires a compiler with support for C++14 and supports:
Numpy v2.* is supported by CARMA >= v0.8.0 which requires a compiler with support for C++14 and supports:

* Python 3.8 -- 3.12
* Numpy >= 1.14
* Pybind11 >= v2.12.0
* **Pybind11 >= v2.12.0**
* Armadillo >= 10.5.2

CARMA <= v0.7 requires a compiler with support for C++14 and supports:

* Python 3.8 -- 3.12
* **Numpy >= 1.14 < 2.0**
* **Pybind11 >= v2.6.0 < v2.12.0**
* Armadillo >= 10.5.2

CARMA makes use of Armadillo's `ARMA_ALIEN_MEM_ALLOC` and `ARMA_ALIEN_MEM_FREE` functionality introduced in version 10.5.2 to use Numpy's (de)allocator.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
author = "R. Urlus"

# The full version, including alpha/beta/rc tags
release = "0.7.0"
release = "0.8.0"


# -- General configuration ---------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions include/carma
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ typedef SSIZE_T ssize_t;

#ifndef CARMA_VERSION_MAJOR
#define CARMA_VERSION_MAJOR 0
#define CARMA_VERSION_MINOR 7
#define CARMA_VERSION_MINOR 8
#define CARMA_VERSION_PATCH 0
#define CARMA_VERSION_NAME "0.7.0 HO"
#define CARMA_VERSION_NAME "0.8.0 HO"
#endif

namespace carma {
Expand Down

0 comments on commit 7a8fbbe

Please sign in to comment.