Skip to content

Commit

Permalink
bugfix: Regression in DKCODER_TTL_MINUTES
Browse files Browse the repository at this point in the history
With the change to downloading URL .zip archives not GIT projects, the FetchContent() always thinks there are no updates (unless the URL changes, which it won't). So forcibly delete the FetchContent control ("subbuild") directory so that the URL is re-downloaded.
  • Loading branch information
jonahbeckford committed Oct 19, 2024
1 parent ae0f9d8 commit 52a3ed6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
## 2.1.4.4

- `DKML_TARGET_ABI` environment variable, if set, is honored in `./dk dksdk.java.jdk.download`. `./dk dksdk.java.jdk.download DKML_TARGET_ABI <abi>` is also supported.
- Support for `DKCODER_TTL_MINUTES` had regressed, and is now fixed so that it re-fetches DkCoder after the specified minutes from the last time.

## 2.1.4.3

Expand Down
1 change: 1 addition & 0 deletions __dk.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,7 @@ endfunction()
endif()
if(NOT tstamp_EPOCHSECS OR tstamp_EPOCHSECS LESS_EQUAL min_valid_EPOCHSECS)
# Cache miss. Time to update dkcoder.
file(REMOVE_RECURSE "${dkcoder_subbuild_dir}")
FetchContent_Populate(dkcoder
QUIET
SOURCE_DIR "${dkcoder_src_dir}"
Expand Down

0 comments on commit 52a3ed6

Please sign in to comment.