quickstep-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From navsan <...@git.apache.org>
Subject [GitHub] incubator-quickstep pull request #13: Add option to build using shared libra...
Date Thu, 09 Jun 2016 01:37:38 GMT
Github user navsan commented on a diff in the pull request:

    --- Diff: cli/CMakeLists.txt ---
    @@ -30,6 +30,12 @@ if(LIBNUMA_FOUND)
    +  set(GFLAGS_LIB_NAME gflags_nothreads-shared)
    +  set(GFLAGS_LIB_NAME gflags_nothreads-static)
    --- End diff --
    Yes, as I noted in the comment below, we can definitely do that. But 
    - CMake is *not* smart enough to figure out the double-linking on its own.
    - Specifically for gflags, there's no common target name that we can use to link whichever
static/shared automatically so that CMake can resolve the library name on its own. This works
for all other libraries, third_party and our own. Just not for gflags.
    - The NOT TARGET test will have to be added everywhere that a third_party library is being
linked, in all the CMakeLists. That's a *lot* of changes for very limited benefit.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message