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

Can build with no render #30

Merged
merged 9 commits into from
Jan 11, 2024
Merged

Conversation

lrpablo
Copy link
Contributor

@lrpablo lrpablo commented Dec 28, 2023

To build without openGL use:

sh scripts/build_cuda no_render

or

sh scripts/build_dpcpp no_render

The executables should be able to run on systems without OpenGL. In both cases, both release and debug targets can be built, with release being the default.

Additionally, the .vscode/targets.json and .vscode/launch.json files are included as examples of how to run a debug session from VSCode after CMake has been run.

.vscode/launch.json Outdated Show resolved Hide resolved
.vscode/launch.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
.vscode/tasks.json Outdated Show resolved Hide resolved
@lrpablo
Copy link
Contributor Author

lrpablo commented Jan 8, 2024 via email

@lrpablo
Copy link
Contributor Author

lrpablo commented Jan 8, 2024 via email

Copy link
Member

@DuncanMcBain DuncanMcBain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like it fixes #28 , thank you very much! Just a couple of small comments.

src/CMakeLists.txt Outdated Show resolved Hide resolved
src/CMakeLists.txt Show resolved Hide resolved
@lrpablo
Copy link
Contributor Author

lrpablo commented Jan 10, 2024 via email

Copy link
Member

@DuncanMcBain DuncanMcBain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, we can merge this for now, but in future I think it would be valuable if it can be built using the standard CMAKE_BUILD_TYPE mechanism, as this will let it work with the rest of our projects (e.g. if we decide to make a benchmark suite, it would be useful to have this).

@DuncanMcBain DuncanMcBain merged commit 25957a0 into codeplaysoftware:main Jan 11, 2024
@lrpablo lrpablo deleted the devel branch January 25, 2024 10:14
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.

3 participants