You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "m-kuhn (via GitHub)" <gi...@apache.org> on 2025/02/23 17:56:38 UTC

[PR] Allow to build with system dependencies [arrow-adbc]

m-kuhn opened a new pull request, #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546

   Adds two build options to disable vendored dependencies fmt and nanoarrow
   
    - `WITH_VENDORED_FMT`
    - `WITH_VENDORED_NANOARROW`
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2680157274

   I see this is breaking elsewhere so let me investigate, thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2680944023

   The last failing test is known flaky (I need to go in and disable ASAN for Meson or otherwise figure out how to replicate it...)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Allow to build with system dependencies [arrow-adbc]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on code in PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#discussion_r1966887485


##########
c/CMakeLists.txt:
##########
@@ -29,9 +29,18 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
 
 include(CTest)
 
-add_subdirectory(vendor/fmt EXCLUDE_FROM_ALL)
-set_target_properties(fmt PROPERTIES POSITION_INDEPENDENT_CODE ON)
-add_subdirectory(vendor/nanoarrow)
+
+if(WITH_VENDORED_FMT)

Review Comment:
   ```suggestion
   if(ADBC_WITH_VENDORED_FMT)
   ```



##########
c/driver/common/CMakeLists.txt:
##########
@@ -18,8 +18,12 @@
 add_library(adbc_driver_common STATIC utils.c)
 adbc_configure_target(adbc_driver_common)
 set_target_properties(adbc_driver_common PROPERTIES POSITION_INDEPENDENT_CODE ON)
-target_include_directories(adbc_driver_common PRIVATE "${REPOSITORY_ROOT}/c/include"
-                                                      "${REPOSITORY_ROOT}/c/vendor")
+target_include_directories(adbc_driver_common PRIVATE "${REPOSITORY_ROOT}/c/include")
+if(WITH_VENDORED_NANOARROW)

Review Comment:
   ```suggestion
   if(WITH_VENDORED_NANOARROW OR WITH_VENDORED_FMT)
   ```
   
   maybe?



##########
c/CMakeLists.txt:
##########
@@ -29,9 +29,18 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
 
 include(CTest)
 
-add_subdirectory(vendor/fmt EXCLUDE_FROM_ALL)
-set_target_properties(fmt PROPERTIES POSITION_INDEPENDENT_CODE ON)
-add_subdirectory(vendor/nanoarrow)
+
+if(WITH_VENDORED_FMT)
+  add_subdirectory(vendor/fmt EXCLUDE_FROM_ALL)
+  set_target_properties(fmt PROPERTIES POSITION_INDEPENDENT_CODE ON)
+else()
+  find_package(fmt REQUIRED)
+endif()
+if(WITH_VENDORED_NANOARROW)

Review Comment:
   ```suggestion
   if(ADBC_WITH_VENDORED_NANOARROW)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on code in PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#discussion_r1976060429


##########
c/vendor/nanoarrow/CMakeLists.txt:
##########


Review Comment:
   I think this CMakeLists.txt lives in ADBC...is the suggestion that nanoarrow should include a CMakeLists.txt with the bundled nanoarrow.c/h? It may also be time to just use CMake install or build-time dependency for nanoarrow (since our existing CMakeLists.txt now supports that and is tested against a number of scenarios).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "m-kuhn (via GitHub)" <gi...@apache.org>.
m-kuhn commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2686823707

   Yes , good from my side


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2677237397

   Ah, is this for the vcpkg port? If so thank you for taking a stab at it. 
   
   I agree with Dewey's suggestion of prefixing the options, otherwise this makes sense. And we should add a CI config to test it (I can follow up with that)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "m-kuhn (via GitHub)" <gi...@apache.org>.
m-kuhn commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2684305068

   > The last failing test is known flaky (I need to go in and disable ASAN for Meson or otherwise figure out how to replicate it...)
   
   For the record, `LD_PRELOAD` of libSegFault might help to give a stacktrace


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2686491210

   Looks like this is green again - is this OK to re-review/merge?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on code in PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#discussion_r1972999925


##########
c/vendor/nanoarrow/CMakeLists.txt:
##########


Review Comment:
   @paleolimbot seems we should upstream this change?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on code in PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#discussion_r1967170973


##########
c/driver/common/CMakeLists.txt:
##########
@@ -18,8 +18,12 @@
 add_library(adbc_driver_common STATIC utils.c)
 adbc_configure_target(adbc_driver_common)
 set_target_properties(adbc_driver_common PROPERTIES POSITION_INDEPENDENT_CODE ON)
-target_include_directories(adbc_driver_common PRIVATE "${REPOSITORY_ROOT}/c/include"
-                                                      "${REPOSITORY_ROOT}/c/vendor")
+target_include_directories(adbc_driver_common PRIVATE "${REPOSITORY_ROOT}/c/include")
+if(WITH_VENDORED_NANOARROW)

Review Comment:
   Got it! We could also maybe better define the target in `vendor/nanoarrow/CMakeLists.txt` (but no need to do that in this PR!)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2677942110

   > Does someone have a hint where to start looking?
   
   Again, the CMake here isn't something I'm familiar with, but you could try flipping the default (i.e., make building against system opt-in) in case there are some builds that for some reason don't see the default options). Something like `ADBC_NANOARROW_SOURCE=SYSTEM` would be consistent with how Arrow C++ handles this kind of thing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "m-kuhn (via GitHub)" <gi...@apache.org>.
m-kuhn commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2679034483

   Note to self: the `nanoarrow` target is linked to various drivers in an unnamespaced version, this should probably be done once in the `common` target next to `nanoarrow::nanoarrow`, this might reduce the overall footprint of this dependency in variou `CMakeList.txt` files.
   
   I'll continue with this cleanup effort once the tests are restored.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "m-kuhn (via GitHub)" <gi...@apache.org>.
m-kuhn commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2677757631

   I can't explain the failing tests, in my opinion the libraries built by the pipelines should be completely equal to before (as the default is still to build with vendored dependencies). Does someone have a hint where to start looking?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2678106494

   I kicked all the jobs just to see.
   
   Something seems off in that it appears SQLite tests are failing in odd ways...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2677518619

   > CI tests would be great, what are your plans, building on top of the vcpkg dependencies or something else?
   
   I think having one pipeline that enables vcpkg and tries to build with all deps from vcpkg would be the starting point. Let's get this building first though


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2680332103

   Alright, hopefully if you rebase these problems should be fixed!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "m-kuhn (via GitHub)" <gi...@apache.org>.
m-kuhn commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2680506391

   @lidavidm any idea for the last failing test?
   Please don't merge yet, I have some last adjustments to make


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm merged PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2678108696

   Like this - I wonder if something else in the build environment changed?
   
   ```
   [ RUN      ] SqliteReaderTest.InferTypedParams
   /home/runner/work/arrow-adbc/arrow-adbc/c/driver/sqlite/sqlite_test.cc:446: Failure
   Expected equality of these values:
     0
     sqlite3_prepare_v2(db, query.c_str(), query.size(), &stmt, nullptr)
       Which is: 1
   
   /home/runner/work/arrow-adbc/arrow-adbc/c/driver/sqlite/sqlite_test.cc:801: Failure
   Expected: Exec(R"(INSERT INTO foo VALUES (0, "foo"), (1, NULL), (2, 4), (3, 1E2))") doesn't generate new fatal failures in the current thread.
     Actual: it does.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "m-kuhn (via GitHub)" <gi...@apache.org>.
m-kuhn closed pull request #2546: build(c): allow to build with system dependencies
URL: https://github.com/apache/arrow-adbc/pull/2546


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2680402082

   Filed https://github.com/apache/arrow-adbc/issues/2557 to track adding the CI config


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Allow to build with system dependencies [arrow-adbc]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on code in PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#discussion_r1966885871


##########
c/driver/common/CMakeLists.txt:
##########
@@ -18,8 +18,12 @@
 add_library(adbc_driver_common STATIC utils.c)
 adbc_configure_target(adbc_driver_common)
 set_target_properties(adbc_driver_common PROPERTIES POSITION_INDEPENDENT_CODE ON)
-target_include_directories(adbc_driver_common PRIVATE "${REPOSITORY_ROOT}/c/include"
-                                                      "${REPOSITORY_ROOT}/c/vendor")
+target_include_directories(adbc_driver_common PRIVATE "${REPOSITORY_ROOT}/c/include")
+if(WITH_VENDORED_NANOARROW)

Review Comment:
   ```suggestion
   if(ADBC_WITH_VENDORED_NANOARROW OR ADBC_WITH_VENDORED_FMT)
   ```
   
   maybe?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "WillAyd (via GitHub)" <gi...@apache.org>.
WillAyd commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2685799436

   I believe the ASAN issue is an upstream bug, at least according to:
   
   https://github.com/llvm/llvm-project/issues/87324
   
   and confirmed to be flaky, so not sure how much luck we will have with a reproducer.
   
   Does it just affect Dremio? I wonder if we should have the ASAN test run exclude that driver for now. I'd personally hate to disable the entire ASAN suite if the scope of the issue can be limited to one driver


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on code in PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#discussion_r1976755545


##########
c/vendor/nanoarrow/CMakeLists.txt:
##########


Review Comment:
   Ah, sorry, I see then. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Allow to build with system dependencies [arrow-adbc]

Posted by "m-kuhn (via GitHub)" <gi...@apache.org>.
m-kuhn commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2677497291

   Thanks for all the suggestions. Yes, it is for vcpkg, I am also working on nanoarrow and fmt ports. 
   
   > It might be helpful to specify a version (I think >= 0.5.0 would do it but nanoarrow is pre-1.0).
   
   If 0.5.0 is the correct version, I can add it.
   
   > I also wonder if there's a way to use a pre-built driver (e.g., Python, R, a pre-built .so) in the project you are working on?
   
   There's also a python port which could/shoule be used eventually. R is not bundled in the project I'm working on so I'll leave this exercise for someone else.
   
   > And we should add a CI config to test it (I can follow up with that)
   
   CI tests would be great, what are your plans, building on top of the vcpkg dependencies or something else?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "m-kuhn (via GitHub)" <gi...@apache.org>.
m-kuhn commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2678128150

   Last successful build here: https://github.com/apache/arrow-adbc/actions/runs/13381287796/job/37370182406#step:8:53
   
   ```
   -- Found SQLite3: /home/runner/miniconda3/envs/test/include (found version "3.48.0")
   ```
   
   vs this one
   https://github.com/apache/arrow-adbc/actions/runs/13493324155/job/37705363691?pr=2546#step:8:53
   
   ```
   -- Found SQLite3: /home/runner/miniconda3/envs/test/include (found version "3.49.1")
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build(c): allow to build with system dependencies [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#issuecomment-2680209036

   Appears to be https://github.com/apache/arrow-adbc/pull/2555


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Allow to build with system dependencies [arrow-adbc]

Posted by "m-kuhn (via GitHub)" <gi...@apache.org>.
m-kuhn commented on code in PR #2546:
URL: https://github.com/apache/arrow-adbc/pull/2546#discussion_r1967059401


##########
c/driver/common/CMakeLists.txt:
##########
@@ -18,8 +18,12 @@
 add_library(adbc_driver_common STATIC utils.c)
 adbc_configure_target(adbc_driver_common)
 set_target_properties(adbc_driver_common PROPERTIES POSITION_INDEPENDENT_CODE ON)
-target_include_directories(adbc_driver_common PRIVATE "${REPOSITORY_ROOT}/c/include"
-                                                      "${REPOSITORY_ROOT}/c/vendor")
+target_include_directories(adbc_driver_common PRIVATE "${REPOSITORY_ROOT}/c/include")
+if(WITH_VENDORED_NANOARROW)

Review Comment:
   I believe fmt is only used once and properly linked by its target, so I guess it does not depend on this include specification
   
   https://github.com/apache/arrow-adbc/blob/8dade5b7e916a0df75b6c5abaf5493bafc4488f1/c/driver/framework/CMakeLists.txt#L26
   
   We could nest nanoarrow a bit deeper to make this line explicit for nanoarrow
   
   ```
   ${REPOSITORY_ROOT}/c/include/nanoarrow"
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org