if "pip3 install --break-system-packages --user CppHeaderParser" fails on ubuntu, try next "pip install CppHeaderParser"
install same dependencies for Linux Mint than for the Ubuntu
if Linux Mint version is 21.* or Ubuntu version is 22.04 then install never versions of 3 packages that get installed by default to solve errors for not finding and libgfortan
Tested on Linux Mint 21 build and build succeeds now until the build of onnxruntime which requires newer cmake 3.26 instead of cmake 3.22.1 offered by the ubuntu 22.04/mint 21.
…cies
fixes: https://github.com/lamikr/rocm_sdk_builder/issues/46