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

fix: Parallel configure failure. #217

Merged
merged 2 commits into from
May 3, 2023
Merged

Conversation

Project579
Copy link
Contributor

When trying to configure multiple build directories in parallel project_options will try to create a symlink for compile_commands.json; multiple symlinks will be created at the same time with different targets, obviously this fails; Add a way to disable the symlink creation.
This also fixes CMake failing to configure projects with a read-only sources directory.

When trying to configure multiple build directories in parallel project_options will try to create a symlink for compile_commands.json; multiple symlinks will be created at the same time with different targets, obviously this fails; Add a way to disable the symlink creation.
This also fixes CMake failing to configure projects with a read-only sources directory.
Copy link
Owner

@aminya aminya left a comment

Choose a reason for hiding this comment

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

Could you make this feature optional, i.e., add an option for enabling it instead of disabling it?

@Project579
Copy link
Contributor Author

@aminya Do you want to make the "compile_commands.json" symlink disabled by default then? In the current version of the PR it stays enabled by default.

@aminya
Copy link
Owner

aminya commented May 2, 2023

@aminya Do you want to make the "compile_commands.json" symlink disabled by default then? In the current version of the PR it stays enabled by default.

Yeah, it seems it is causing issues as you mentioned. I prefer that we disable it by default to avoid any problems.

@aminya aminya merged commit d8857cc into aminya:main May 3, 2023
19 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.

None yet

2 participants