Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further improvements on the build environment #155

Merged
merged 6 commits into from
Aug 23, 2024

Conversation

IkerGalardi
Copy link
Contributor

@IkerGalardi IkerGalardi commented Aug 21, 2024

This PR further advances the build environment used for building the spartan engine for linux. This PR does the next things:

  • Fixes the installation of FreeImage inside the environment.
  • Adds OpenImageDenoise to the build environment
  • Adds the 7za binary for use in the project generation
  • Optimizes builds by not downloading windows libraries
  • Fixes wrong checks when the project generation is finished

This PR further advances on the #66 issue.

A newline was missing on the instalation. First the installer creates a
/usr/include/FreeImage directory and then copies the header files to
that directory.

Instead of that, the two commands were merged into a single line for
some reason. That's now fixed.
Simply downloads the 2.3.0 release from github.
The requests python package was missing so downloading the assets and
libraries did not work.
@PanosK92
Copy link
Owner

Thank you! 😄

@IkerGalardi IkerGalardi mentioned this pull request Aug 22, 2024
20 tasks
The generate_gmake2_vulkan.py script needs this binary in order to unzip
the necessary assets and libraries.
As an optimization, the script does not download and extract third party
libraries, as those are already included on the build environment.
The build script checks for the spartan.sln even on linux, which prints
a false error telling that the project was not generated succesfully.

This now checks for the makefiles instead for the visual studio solution
on linux.
@IkerGalardi IkerGalardi marked this pull request as ready for review August 23, 2024 15:00
@IkerGalardi
Copy link
Contributor Author

Ready for review!

Once this is in I'll start working on bringing FSR2 and LinearMath as the last two dependencies for the project (fmod for another time :P).

@PanosK92 PanosK92 merged commit e24a275 into PanosK92:master Aug 23, 2024
4 checks passed
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