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

When the layout, use different folder for the 'conan infos' files #11820

Merged
merged 9 commits into from
Aug 23, 2022

Conversation

lasote
Copy link
Contributor

@lasote lasote commented Aug 9, 2022

Changelog: Fix: When the layout() is declared in the recipe, the files such as conainfo.txt, conanbuildinfo.txt were written in the test_package folder, now there are written in the generators_folder.
Docs: omit

Close #11779

@lasote lasote added this to the 1.52 milestone Aug 9, 2022
@lasote lasote requested review from jcar87 and memsharded and removed request for jcar87 and memsharded August 9, 2022 09:32
@lasote lasote changed the title When the layout, use different folder for the 'conan infos' files WIP BROKEN: When the layout, use different folder for the 'conan infos' files Aug 10, 2022
@@ -93,7 +93,7 @@ def test_autotools_relocatable_libs_darwin():
shutil.move(os.path.join(package_folder, "lib"), os.path.join(client.current_folder, "tempfolder"))
# will fail because rpath does not exist
client.run_command("test_package/build-release/main", assert_error=True)
assert "Library not loaded: @rpath/libhello.0.dylib" in client.out
assert "Library not loaded: @rpath/libhello.0.dylib" in str(client.out).replace("'", "")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not related to this PR but fails with my apple-clang that output with quotes the rpath

@lasote lasote changed the title WIP BROKEN: When the layout, use different folder for the 'conan infos' files WIP: When the layout, use different folder for the 'conan infos' files Aug 11, 2022
@lasote lasote requested a review from memsharded August 12, 2022 12:57
@lasote lasote changed the title WIP: When the layout, use different folder for the 'conan infos' files When the layout, use different folder for the 'conan infos' files Aug 12, 2022
Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

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

I think there is some risk of breaking some users, but as it is connected to the experimental layout() feature, it should be ok, and the proposed new behavior seems to make sense

@lasote lasote marked this pull request as ready for review August 16, 2022 06:47
@memsharded memsharded merged commit ec7349b into conan-io:develop Aug 23, 2022
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.

[question] Investigate generated files when layout() method is specified (Conan v1 compat)
2 participants