With the cross compilation now working under Racket 8.2,
I can offer a Makefile to build binaries for different
platforms in a Linux build environment on Sourcehut.

Being able to cross-compile is important in this case
because Sourcehut doesn't have Windows or Mac OS X build
environments.

https://git.sr.ht/~sschwarzer/sudoku-solver/tree/main/item/Makefile

Raw download:
https://git.sr.ht/~sschwarzer/sudoku-solver/blob/main/Makefile

Build log example:
https://builds.sr.ht/~sschwarzer/job/547472

The build instructions in the makefile are kind of
straightforward, but maybe it saves someone a bit
head-scratching to get some of the details right. :-)

What might also be interesting is the use of `sed` to patch
the version in the `info.rkt` file and to work around the
requirement of static artifact paths in `.build.yml` files.
I patch the version part in the artifact paths before `git
push`, so I can create build files which contain the version
number.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/695dcf19-52b8-8349-f611-3b0c1ad46879%40sschwarzer.net.

Reply via email to