Skip to content

Conversation

@crasbe
Copy link
Contributor

@crasbe crasbe commented Oct 22, 2025

Prerequisite for RIOT-OS/RIOT#21813

Copy link
Contributor

@mguetschow mguetschow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable. Thanks!

@crasbe
Copy link
Contributor Author

crasbe commented Oct 22, 2025

You can test this locally when checking out the other PR (c25519 is a lot smaller than the nRF5_SDK :D ).

cbuec@W11nMate:~/RIOTstuff/riot-guides/RIOT$ sudo mkdir -m777 /cache

cbuec@W11nMate:~/RIOTstuff/riot-guides/RIOT$ DLCACHE_DIR=/cache/.dlcache BOARD=nrf52840dk make -C tests/pkg/c25519
make: Entering directory '/home/cbuec/RIOTstuff/riot-guides/RIOT/tests/pkg/c25519'
Building application "tests_c25519" for "nrf52840dk" with CPU "nrf52".

mkdir -p /home/cbuec/RIOTstuff/riot-guides/RIOT/build/pkg
/home/cbuec/RIOTstuff/riot-guides/RIOT/dist/tools/dlcache/dlcache.sh: downloading "https://www.dlbeer.co.nz/downloads/c25519-2017-10-05.zip"...
2025-10-22 16:55:53 URL:https://www.dlbeer.co.nz/downloads/c25519-2017-10-05.zip [68419/68419] -> "/cache/.dlcache/c25519-2017-10-05.zip" [1]
/home/cbuec/RIOTstuff/riot-guides/RIOT/dist/tools/dlcache/dlcache.sh: done downloading "https://www.dlbeer.co.nz/downloads/c25519-2017-10-05.zip"
test "dbfb4285837ab2ea3d99c448b22877cc7a139ccbaebb1de367e2bec1fd562fe629b389d86603915448078b8fd7e631c8fc9a7d126eb889a1ba0c17611369b190  /home/cbuec/RIOTstuff/riot-guides/RIOT/build/pkg/c25519-2017-10-05.zip" =  "$(sha512sum "/home/cbuec/RIOTstuff/riot-guides/RIOT/build/pkg/c25519-2017-10-05.zip")"
"make" -C /home/cbuec/RIOTstuff/riot-guides/RIOT/pkg/c25519/
"make" -C /home/cbuec/RIOTstuff/riot-guides/RIOT/build/pkg/c25519/src -f /home/cbuec/RIOTstuff/riot-guides/RIOT/Makefile.base MODULE=c25519
"make" -C /home/cbuec/RIOTstuff/riot-guides/RIOT/pkg/cmsis/
...
"make" -C /home/cbuec/RIOTstuff/riot-guides/RIOT/sys/tsrb
   text    data     bss     dec     hex filename
  18872     148    2552   21572    5444 /home/cbuec/RIOTstuff/riot-guides/RIOT/tests/pkg/c25519/bin/nrf52840dk/tests_c25519.elf
make: Leaving directory '/home/cbuec/RIOTstuff/riot-guides/RIOT/tests/pkg/c25519'

@crasbe crasbe requested a review from maribu October 22, 2025 17:25
@crasbe crasbe added this pull request to the merge queue Oct 23, 2025
Merged via the queue into RIOT-OS:master with commit 6662ca1 Oct 23, 2025
1 check passed
@crasbe crasbe deleted the pr/set_dlcache_folder branch October 23, 2025 08:46
@crasbe
Copy link
Contributor Author

crasbe commented Oct 23, 2025

The change works as expected, I connected to one of the murdock workers on skyleaf and the environment variable is set :)

buechse@skyleaf:/srv/murdock-worker$ sudo docker exec -it eb3c66ec72fa bash
riotbuild@46b7f9e517fe:~$ env | grep DLCACHE_DIR
DLCACHE_DIR=/cache/.dlcache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants