Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Benson Muite
On 2/2/22 7:40 PM, Li Jin wrote: David - Will give it a try. I am using Apple clang 12 on MacOS. Related issue https://issues.apache.org/jira/browse/ARROW-15531

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Li Jin
David - Will give it a try. I am using Apple clang 12 on MacOS.

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread David Li
Glad to hear it. A PR would be much appreciated, but I think we just need to declare the function static inline, or move its body to a .cc file (since it is used). Which compiler/version are you using? (Presumably some variant of Clang on MacOS?) On Wed, Feb 2, 2022, at 11:24, Li Jin wrote: >

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Li Jin
David Li - Thanks! -DBUILD_WARNING_LEVEL=PRODUCTION does the trick! I am happy to submit a PR to remove the used function if that's the proper way to fix this. Benson - I think I got this on fresh build too with -DARROW_COMPUTE=ON (I am using the preset ninja-debug-basic) On Wed, Feb 2, 2022 at

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Benson Muite
Perhaps try a fresh build in a clean build directory. Most testing has been on Clang 11. Also check your other options, is -DARROW_COMPUTE=ON set? On 2/2/22 6:46 PM, Li Jin wrote: Thanks! -DARROW_DEPENDENCY_SOURCE=BUNDLED seems to do the trick - I can build without adding find_package! Altho

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread David Li
- skipped >> > >> > -- Detecting CXX compile features >> > >> > -- Detecting CXX compile features - done >> > >> > -- Found Boost: /usr/local/lib/cmake/Boost-1.76.0/BoostConfig.cmake >> (found >> > version "1.76.0&quo

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Li Jin
> > On Wed, Feb 2, 2022 at 9:32 AM Li Jin wrote: > > > >> Yep, Here it is! > >> > >> https://gist.github.com/icexelloss/db0e5df214addd63dc4ab0570ca7ee30 > >> > >> On Tue, Feb 1, 2022 at 6:28 PM Sutou Kouhei wrote: > >> > >>> Hi, &

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Benson Muite
8 PM Sutou Kouhei wrote: Hi, Could you upload the log to something such as https://gist.github.com/ and share the URL? Thanks, -- kou In "Re: Building Arrow Cpp: Cannot find Boost on MacOS" on Tue, 1 Feb 2022 16:47:45 -0500, Li Jin wrote: Hi! I ran "cmake

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Li Jin
-- Found Boost: /usr/local/lib/cmake/Boost-1.76.0/BoostConfig.cmake (found > version "1.76.0") found components: program_options > > " > > On Wed, Feb 2, 2022 at 9:32 AM Li Jin wrote: > >> Yep, Here it is! >> >> https://gist.github.com/icexelloss/db0e5df214addd63dc4ab

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Li Jin
t is! > > https://gist.github.com/icexelloss/db0e5df214addd63dc4ab0570ca7ee30 > > On Tue, Feb 1, 2022 at 6:28 PM Sutou Kouhei wrote: > >> Hi, >> >> Could you upload the log to something such as >> https://gist.github.com/ and share the URL? >> >> >&g

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-02 Thread Li Jin
> In > "Re: Building Arrow Cpp: Cannot find Boost on MacOS" on Tue, 1 Feb 2022 > 16:47:45 -0500, > Li Jin wrote: > > > Hi! > > > > I ran > > > > "cmake .. -DARROW_BUILD_TESTS=ON -DARROW_COMPUTE=ON -DARROW_DATASET=ON > > -DCMAKE

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-01 Thread Sutou Kouhei
Hi, Could you upload the log to something such as https://gist.github.com/ and share the URL? Thanks, -- kou In "Re: Building Arrow Cpp: Cannot find Boost on MacOS" on Tue, 1 Feb 2022 16:47:45 -0500, Li Jin wrote: > Hi! > > I ran > > "cmake .. -DARROW_

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-01 Thread Li Jin
Hi! I ran "cmake .. -DARROW_BUILD_TESTS=ON -DARROW_COMPUTE=ON -DARROW_DATASET=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_FIND_DEBUG_MODE=ON" and here is the log. Perhaps Cmake cannot find where Brew installed this by default? (Just guessing, new to CMake too..) Li On Tue, Feb 1, 2022 at 4:30 PM Suto

Re: Building Arrow Cpp: Cannot find Boost on MacOS

2022-02-01 Thread Sutou Kouhei
Hi, Could you run cmake with -DCMAKE_FIND_DEBUG_MODE=ON and share log of it? FYI: Boost 1.76.0 is found in our CI: https://github.com/apache/arrow/runs/5017148285?check_suite_focus=true#step:7:183 -- Found Boost: /usr/local/lib/cmake/Boost-1.76.0/BoostConfig.cmake (found suitable version