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 -