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

Echo a message on setting PKG_CONFIG_PATH #1172

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

wantehchang
Copy link
Contributor

Similar to the message added to third-party/svt.cmd in commit 1a1b4d4.

Similar to the message added to third-party/svt.cmd in commit 1a1b4d4.
@wantehchang
Copy link
Contributor Author

@farindk Dirk: Please review. Would you like me to add the message to other third_party/*.cmd files?

Copy link
Contributor

@bradh bradh left a comment

Choose a reason for hiding this comment

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

The general approach looks fine.

third-party/aom.cmd Outdated Show resolved Hide resolved
third-party/dav1d.cmd Outdated Show resolved Hide resolved
Copy link
Contributor Author

@wantehchang wantehchang left a comment

Choose a reason for hiding this comment

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

Thanks for the review!

third-party/aom.cmd Outdated Show resolved Hide resolved
third-party/dav1d.cmd Outdated Show resolved Hide resolved
Copy link
Contributor

@bradh bradh left a comment

Choose a reason for hiding this comment

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

Seems OK. I didn't check the paths.

echo ""
echo "----- NOTE ----"
echo "Please add the path to the pkg-config file to your PKG_CONFIG_PATH, like this:"
echo "export PKG_CONFIG_PATH=\$PKG_CONFIG_PATH:$(pwd)/aom/dist/lib/pkgconfig"
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 path works on all platforms.

echo ""
echo "----- NOTE ----"
echo "Please add the path to the pkg-config file to your PKG_CONFIG_PATH, like this:"
echo "export PKG_CONFIG_PATH=\$PKG_CONFIG_PATH:$(pwd)/dav1d/dist/lib/x86_64-linux-gnu/pkgconfig"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi Brad,

I copied this path from the comment at line 4. This path will only work on Linux x86_64. I can clarify that in the message. How about this?

Please add the path to the pkg-config file to your PKG_CONFIG_PATH. For example, on Linux x86_64, run:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$(pwd)/dav1d/dist/lib/x86_64-linux-gnu/pkgconfig

Copy link
Contributor

Choose a reason for hiding this comment

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

That seems better.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor

@bradh bradh left a comment

Choose a reason for hiding this comment

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

LGTM

@wantehchang
Copy link
Contributor Author

@farindk Dirk: Please review. Thanks!

@farindk farindk merged commit 2011541 into strukturag:master Jun 11, 2024
35 checks passed
@farindk
Copy link
Contributor

farindk commented Jun 11, 2024

Thank you @wantehchang and @bradh

@wantehchang wantehchang deleted the add-note-on-pkg-config-path branch June 11, 2024 20:26
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