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 CMAKE_INSTALL_LIBDIR exampel in README.md #200

Closed
wants to merge 1 commit into from

Conversation

linuxias
Copy link
Contributor

In README, CMAKE_INSTALL_LIBDIR is set up with the "lib" path.
The lib path is recorded in the pc file referenced by the pkg-config tool.
This path must be modified to the absolute path "/lib".

@taos-ci
Copy link
Collaborator

taos-ci commented Feb 27, 2024

📝 TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #200. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

@taos-ci
Copy link
Collaborator

taos-ci commented Feb 27, 2024

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://ci.nnstreamer.ai/nnstreamer-edge/ci/repo-workers/pr-checker/200-202402272300190.54708003997803-548693b7d7dcc1ba1a16cced86f98a23de54c861/report/misspelling_result.txt.

 In README, CMAKE_INSTALL_LIBDIR is set up with the "lib" path.
 The lib path is recorded in the pc file referenced by the pkg-config tool.
 This path must be modified to the absolute path "/lib".

Signed-off-by: linuxias <[email protected]>
@taos-ci
Copy link
Collaborator

taos-ci commented Feb 27, 2024

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://ci.nnstreamer.ai/nnstreamer-edge/ci/repo-workers/pr-checker/200-202402272300480.81850290298462-8df0279175a61d204354d08be04c557e6915629a/report/misspelling_result.txt.

Copy link
Collaborator

@taos-ci taos-ci left a comment

Choose a reason for hiding this comment

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

@linuxias, 💯 All CI checkers are successfully verified. Thanks.

@@ -45,7 +45,7 @@ $ sudo systemctl start mosquitto
### Build and Run test
```
# cd $NNST_EDGE_ROOT
$ cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DENABLE_TEST=ON -DMQTT_SUPPORT=ON
$ cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/lib -DENABLE_TEST=ON -DMQTT_SUPPORT=ON
Copy link
Member

Choose a reason for hiding this comment

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

Nope. We don't install our .so files at /lib. I think the CMakeLists.txt is not handling install direcctories properly for creating .pc files. It should depend on PREFIX. (i.e., $PREFIX/$LIBDIR)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@myungjoo Thanks for your comment.
I agree your comment. It seems that the LIBDIR path is not used properly in the CMakeLists.txt file.
I will close this PR and fix the problem, and create a new PR.

thank you!! 👍

@linuxias linuxias closed this Feb 28, 2024
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