rwe icon indicating copy to clipboard operation
rwe copied to clipboard

Figure out how to do reproducable builds

Open MHeasell opened this issue 7 years ago • 3 comments

Keep getting bitten by updates from upstream package maintainers, but it's not clear how we can lock library/compiler versions and only upgrade when we want.

Investigate this. Maybe we might have to scrap MSYS2/MinGW entirely?

See #34 for an example issue. There was at least one more... actually I think that was for TA3D.

MHeasell avatar Jan 29 '18 23:01 MHeasell

We sort of have this now when game is built with MSVC as all the libraries we depend on are checked into the repo.

MHeasell avatar Mar 04 '18 10:03 MHeasell

Hi @MHeasell,

First of all, thank you for your fantastic work. Maybe conan.io may help further with creating reproducable build?

PHLF avatar Apr 29 '18 16:04 PHLF

Conan looks really interesting and could turn out to be a good solution. It would also be worth looking at other package managers also, e.g. hunter, vcpkg and others and see which would be the most suitable, if any.

Ideally I'd like to find a solution that satisfies (or gets close to) the following:

  • provides all the packages RWE depends on
  • provides a mechanism to pin to specific versions
  • integrates with CMake
  • supports all the toolchains/environments that RWE supports (Windows, Linux, MSVC, MSYS2, GCC, Clang etc.)

This hasn't hurt too much recently but would be nice to solve all the same.

MHeasell avatar Apr 29 '18 18:04 MHeasell