From 734f813544155783f013aa33bbf1a3c986cf2206 Mon Sep 17 00:00:00 2001 From: q-posev Date: Fri, 21 Jan 2022 12:28:15 +0100 Subject: [PATCH] remove C-kind integer types for TREXIO_VERSION-s in Fortran --- src/templates_front/build.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/templates_front/build.sh b/src/templates_front/build.sh index 4d0dadc..eea06a5 100644 --- a/src/templates_front/build.sh +++ b/src/templates_front/build.sh @@ -25,9 +25,9 @@ cat prefix_python.py > trexio.py # append version string and attributes to the Fortran module file echo "" >> trexio_f.f90 echo "character(len = 12) :: TREXIO_PACKAGE_VERSION = ${VERSION_VAL}" >> trexio_f.f90 -echo "integer(c_int32_t) :: TREXIO_VERSION_MAJOR = ${VERSION_MAJOR_VAL}" >> trexio_f.f90 -echo "integer(c_int32_t) :: TREXIO_VERSION_MINOR = ${VERSION_MINOR_VAL}" >> trexio_f.f90 -echo "integer(c_int32_t) :: TREXIO_VERSION_PATCH = ${VERSION_PATCH_VAL}" >> trexio_f.f90 +echo "integer :: TREXIO_VERSION_MAJOR = ${VERSION_MAJOR_VAL}" >> trexio_f.f90 +echo "integer :: TREXIO_VERSION_MINOR = ${VERSION_MINOR_VAL}" >> trexio_f.f90 +echo "integer :: TREXIO_VERSION_PATCH = ${VERSION_PATCH_VAL}" >> trexio_f.f90 echo "" >> trexio_f.f90 # c front end @@ -48,4 +48,3 @@ cat populated/pop_*.py >> trexio.py cat suffix_s_front.h >> trexio_s.h cat suffix_front.h >> trexio.h cat suffix_fortran.f90 >> trexio_f.f90 -