Skip to content
Snippets Groups Projects
Verified Commit 000fe21e authored by Tim Kaune's avatar Tim Kaune
Browse files

Bump CMake package version number to 1.8.0

Update copyright notice
Update download links and archive paths
parent 35a0a6a9
No related branches found
No related tags found
No related merge requests found
#[[
CMake build script for ACM Collected Algorithms: DCUHRE and DQUAD
Copyright (C) 2024 Tim Kaune
Copyright (C) 2025 Tim Kaune
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
......@@ -23,7 +23,7 @@ set(CMAKE_MAXIMUM_SUPPORTED_VERSION 3.29)
include("./cmake/HandlePolicies.cmake" NO_POLICY_SCOPE)
project(CalgoIntegrators VERSION 1.7.0 LANGUAGES C)
project(CalgoIntegrators VERSION 1.8.0 LANGUAGES C)
include(GNUInstallDirs)
include(FetchContent)
......@@ -71,9 +71,9 @@ set(LoadStaticSharedTargets_INCLUDE_PACKAGING "${CalgoIntegrators_INCLUDE_PACKAG
FetchContent_Declare(
NetlibF2C
GIT_REPOSITORY "git@gitlab.aei.uni-hannover.de:netlib/netlib-f2c.git"
GIT_TAG v1.7.0
GIT_TAG v1.7.1
SYSTEM
FIND_PACKAGE_ARGS 1.7.0 CONFIG NAMES NetlibF2C
FIND_PACKAGE_ARGS 1.7.1 CONFIG NAMES NetlibF2C
)
set(NetlibF2C_SHARED_LIBS "${BUILD_SHARED_LIBS}")
......
<!---
CMake build script for ACM Collected Algorithms: DCUHRE and DQUAD
Copyright (C) 2024 Tim Kaune
Copyright (C) 2025 Tim Kaune
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
......@@ -164,9 +164,9 @@ include(FetchContent)
FetchContent_Declare(
CalgoIntegrators
GIT_REPOSITORY "git@gitlab.aei.uni-hannover.de:netlib/calgo-integrators.git"
GIT_TAG v1.7.0
GIT_TAG v1.7.1
SYSTEM
FIND_PACKAGE_ARGS 1.7.0 CONFIG NAMES CalgoIntegrators
FIND_PACKAGE_ARGS 1.7.1 CONFIG NAMES CalgoIntegrators
)
set(CalgoIntegrators_INCLUDE_PACKAGING TRUE)
FetchContent_MakeAvailable(CalgoIntegrators)
......
......@@ -2,7 +2,7 @@
MIT License
CMake build script for ACM Collected Algorithms: DCUHRE and DQUAD
Copyright (c) 2024 Tim Kaune
Copyright (c) 2025 Tim Kaune
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
#[[
CMake build script for ACM Collected Algorithms: DCUHRE and DQUAD
Copyright (C) 2024 Tim Kaune
Copyright (C) 2025 Tim Kaune
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
......
......@@ -2,7 +2,7 @@
MIT License
CMake build script for ACM Collected Algorithms: DCUHRE and DQUAD
Copyright (c) 2024 Tim Kaune
Copyright (c) 2025 Tim Kaune
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
#[[
CMake build script for ACM Collected Algorithms: DCUHRE and DQUAD
Copyright (C) 2024 Tim Kaune
Copyright (C) 2025 Tim Kaune
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
......@@ -17,8 +17,6 @@ License along with this program. If not, see
<https://www.gnu.org/licenses/>.
]]
find_program(GZIP_EXE gzip REQUIRED)
if (BUILD_SHARED_LIBS)
set(CALGO_INTEGRATORS_DEBUG_POSTFIX "-debug")
else ()
......
#[[
CMake build script for ACM Collected Algorithms: DCUHRE and DQUAD
Copyright (C) 2024 Tim Kaune
Copyright (C) 2025 Tim Kaune
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
......@@ -21,10 +21,8 @@ find_program(SH_EXE sh REQUIRED)
FetchContent_Declare(
netlib_DCUHRE
URL "http://calgo.acm.org/698.gz"
URL_HASH SHA256=27d891c14cabaefddd7c9cd6d3a6a2ae5b60eafa70901c32914f019363fda501
DOWNLOAD_NAME "dcuhre.shar.gz"
DOWNLOAD_NO_EXTRACT TRUE
URL "https://calgo.acm.org/698.zip"
URL_HASH SHA256=ce1ae6d841edda350475c30fd58afc23fc4f7c898cf23dbfc7e7d4f7b289a3d2
)
FetchContent_MakeAvailable(netlib_DCUHRE)
FetchContent_GetProperties(
......@@ -92,12 +90,12 @@ list(TRANSFORM DCUHRE_BYPRODUCTS PREPEND "${DCUHRE_FORTRAN_DIR}/")
add_custom_command(
OUTPUT ${DCUHRE_FORTRAN_SOURCES}
COMMAND ${GZIP_EXE} -dkc "dcuhre.shar.gz" | ${SH_EXE}
COMMAND ${CMAKE_COMMAND} -E cat "Original/698.txt" | ${SH_EXE}
COMMAND ${CMAKE_COMMAND} -E touch ${DCUHRE_FORTRAN_SOURCES} ${DCUHRE_BYPRODUCTS}
DEPENDS "${DCUHRE_FORTRAN_DIR}/dcuhre.shar.gz"
DEPENDS "${DCUHRE_FORTRAN_DIR}/Original/698.txt"
BYPRODUCTS ${DCUHRE_BYPRODUCTS}
WORKING_DIRECTORY "${DCUHRE_FORTRAN_DIR}"
COMMENT "Extracting gzipped shell archive"
COMMENT "Extracting shell archive"
VERBATIM
)
......
#[[
CMake build script for ACM Collected Algorithms: DCUHRE and DQUAD
Copyright (C) 2024 Tim Kaune
Copyright (C) 2025 Tim Kaune
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
......@@ -22,10 +22,8 @@ find_program(HEAD_EXE head REQUIRED)
FetchContent_Declare(
netlib_DQUAD
URL "http://calgo.acm.org/691.gz"
URL_HASH SHA256=01b45773f813b674e036401bcc01a8523aa94cd6a1f65700d2bf194630ca0af2
DOWNLOAD_NAME "dquad.gz"
DOWNLOAD_NO_EXTRACT TRUE
URL "https://calgo.acm.org/691.zip"
URL_HASH SHA256=8f6fdcab17b0386b1ef79a2a4018c80075a0fb6c609d7d60d4be747e98f7485c
)
FetchContent_MakeAvailable(netlib_DQUAD)
FetchContent_GetProperties(
......@@ -72,20 +70,18 @@ list(TRANSFORM DQUAD_BYPRODUCTS PREPEND "${DQUAD_FORTRAN_DIR}/")
add_custom_command(
OUTPUT ${DQUAD_FORTRAN_SOURCES}
COMMAND ${GZIP_EXE} -dkc "dquad.gz" > "dquad.f.in"
COMMAND ${HEAD_EXE} -n 50 "dquad.f.in" > "README"
COMMAND ${HEAD_EXE} -n 87 "dquad.f.in" | ${TAIL_EXE} -n +52 > "LICENSE"
COMMAND ${HEAD_EXE} -n 808 "dquad.f.in" | ${TAIL_EXE} -n +88 > "daux.f"
COMMAND ${HEAD_EXE} -n 2338 "dquad.f.in" | ${TAIL_EXE} -n +809 > "dquad.f"
COMMAND ${HEAD_EXE} -n 2403 "dquad.f.in" | ${TAIL_EXE} -n +2339 > "dtest.f"
COMMAND ${HEAD_EXE} -n 3096 "dquad.f.in" | ${TAIL_EXE} -n +2440 > "saux.f"
COMMAND ${HEAD_EXE} -n 4626 "dquad.f.in" | ${TAIL_EXE} -n +3097 > "squad.f"
COMMAND ${TAIL_EXE} -n +4627 "dquad.f.in" > "stest.f"
COMMAND ${CMAKE_COMMAND} -E rm "dquad.f.in"
DEPENDS "${DQUAD_FORTRAN_DIR}/dquad.gz"
COMMAND ${HEAD_EXE} -n 50 "Original/691.txt" > "README"
COMMAND ${HEAD_EXE} -n 87 "Original/691.txt" | ${TAIL_EXE} -n +52 > "LICENSE"
COMMAND ${HEAD_EXE} -n 808 "Original/691.txt" | ${TAIL_EXE} -n +88 > "daux.f"
COMMAND ${HEAD_EXE} -n 2338 "Original/691.txt" | ${TAIL_EXE} -n +809 > "dquad.f"
COMMAND ${HEAD_EXE} -n 2403 "Original/691.txt" | ${TAIL_EXE} -n +2339 > "dtest.f"
COMMAND ${HEAD_EXE} -n 3096 "Original/691.txt" | ${TAIL_EXE} -n +2440 > "saux.f"
COMMAND ${HEAD_EXE} -n 4626 "Original/691.txt" | ${TAIL_EXE} -n +3097 > "squad.f"
COMMAND ${TAIL_EXE} -n +4627 "Original/691.txt" > "stest.f"
DEPENDS "${DQUAD_FORTRAN_DIR}/Original/691.txt"
BYPRODUCTS ${DQUAD_BYPRODUCTS}
WORKING_DIRECTORY "${DQUAD_FORTRAN_DIR}"
COMMENT "Extracting gzipped archive"
COMMENT "Extracting archive"
VERBATIM
)
......
#[[
CMake build script for ACM Collected Algorithms: DCUHRE and DQUAD
Copyright (C) 2024 Tim Kaune
Copyright (C) 2025 Tim Kaune
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
......
#[[
CMake build script for ACM Collected Algorithms: DCUHRE and DQUAD
Copyright (C) 2024 Tim Kaune
Copyright (C) 2025 Tim Kaune
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
......
#[[
CMake build script for ACM Collected Algorithms: DCUHRE and DQUAD
Copyright (C) 2024 Tim Kaune
Copyright (C) 2025 Tim Kaune
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment