Closed ajensen1234 closed 12 months ago
Need to figure out how to create a docker container that has all the libraries that we need and want for this. We also need to figure out how to set this for both windows and Ubuntu to do cross-platform development.
@nicholasverdugo let me know if you find anything out about this \
Actions are running nicely though! A new branch was created for testing out the automatic runners.
https://github.com/Jimver/cuda-toolkit https://github.com/marketplace/actions/setup-opencv https://github.com/marketplace/actions/install-qt
This looks super promising for getting libraries to live in the github environemt n
Because all the packages that we are using are open-source, maybe we could include them as submodules. This also means that we might be able to just create a new directory and build open-cv, etc at runtime with a basic script in github actions. That might be a major PITA though.
(Sorry for all the comments in such a short amount of time)
I'm not sure exactly what the differences are for Docker for reproducible builds (https://sweetcode.io/using-docker-reproducible-build-environments/) and using docker as a GitHub actions backend for building.
Need to learn these differences because it seems like the main idea here is reproducible builds without needing to suffer through extensive library installation every time.
Okay, I hope I've got the main idea of this down (happy to be corrected):
Some problems I'm foreseeing:
slots
definition, so we'd need to find a way to edit that file.https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/ https://stackoverflow.com/questions/36862589/install-opencv-in-a-docker-container
Another option that seems like it might work well for what we're trying to do.
Here's something that @stefankiesz showed me: looks hugely promising.
I don't think we'll be getting to this anytime soon. I considered having some build environment put into HPG, but I'd like to graduate, not take this to the moon.
We want to be able to build on both Linux and Windows machines. Probably using GitHub actions for now.