Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Updated versioning and fixed issue with debug flags on MacOS (sanitiz…
Browse files Browse the repository at this point in the history
…e causes problems in LLVM-based macs)
  • Loading branch information
daminton committed Nov 29, 2023
1 parent e42b47c commit 853b443
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
14 changes: 8 additions & 6 deletions cmake/Modules/SetSwiftestFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -417,12 +417,14 @@ IF (CMAKE_BUILD_TYPE STREQUAL "DEBUG" OR CMAKE_BUILD_TYPE STREQUAL "TESTING" )
Fortran "-fbacktrace" # GNU (gfortran)
)
# Sanitize
SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG}"
Fortran "-fsanitize=address, undefined" # Gnu
)
SET_COMPILE_FLAG(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}"
C "-fsanitize=address, undefined" # Gnu
)
IF (NOT APPLE)
SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG}"
Fortran "-fsanitize=address, undefined" # Gnu
)
SET_COMPILE_FLAG(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}"
C "-fsanitize=address, undefined" # Gnu
)
ENDIF()
# Check everything
SET_COMPILE_FLAG(CMAKE_Fortran_FLAGS_DEBUG "${CMAKE_Fortran_FLAGS_DEBUG}"
Fortran "-fcheck=all" # GNU
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "swiftest"
version = "2023.10.3"
version = "2023.11.0"
authors=[
{name = 'David A. Minton', email='daminton@purdue.edu'},
{name = 'Carlisle Wishard'},
Expand Down Expand Up @@ -48,6 +48,7 @@ Repository = 'https://github.itap.purdue.edu/MintonGroup/swiftest'
requires = [
"scikit-build-core",
"cython>=3.0.0",
"pyproject_metadata",
"pytest",
]
build-backend = "scikit_build_core.build"
Expand Down
2 changes: 1 addition & 1 deletion src/globals/globals_module.f90
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module globals
integer(I4B), parameter :: UPPERCASE_OFFSET = iachar('A') - iachar('a') !! ASCII character set parameter for lower to upper
!! conversion - offset between upper and lower

character(*), parameter :: VERSION = "2023.10.3" !! Swiftest version
character(*), parameter :: VERSION = "2023.11.0" !! Swiftest version

!> Symbolic name for integrator types
character(*), parameter :: UNKNOWN_INTEGRATOR = "UKNOWN INTEGRATOR"
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023.10.3
2023.11.0

0 comments on commit 853b443

Please sign in to comment.