You can manually download the archive and specify its location with
BROTLI_SOURCE_URL as seen in
https://github.com/apache/arrow/blob/8e6af2948f45af4c65a1aea652cd9806c377d8e7/cpp/cmake_modules/ThirdpartyToolchain.cmake#L153
See also the README for offline builds:
https://github.com/apache/arrow/tree/master/cpp/thirdparty
This will pull the dependency download out of the main build and should
at least workaround the problem for you.
Uwe

On Thu, Jul 26, 2018, at 4:03 AM, Xu,Wenjian wrote:
> Hi Uwe,
> 
> The result of *make VERBOSE=1* is as follows:
> 
> ======================================================================
> [ 29%] Built target zlib_ep
> make -f CMakeFiles/zstd_ep.dir/build.make
> CMakeFiles/zstd_ep.dir/depend> make[2]: Entering directory
> `/home/felix.xwj/workspace/arrow/cpp/release'> cd 
> /home/felix.xwj/workspace/arrow/cpp/release &&
> /home/felix.xwj/home/felix.xwj/bin/cmake -E cmake_depends "Unix
> Makefiles" /home/felix.xwj/workspace/arrow/cpp
> /home/felix.xwj/workspace/arrow/cpp
> /home/felix.xwj/workspace/arrow/cpp/release
> /home/felix.xwj/workspace/arrow/cpp/release /home/felix.xwj/workspace-
> /arrow/cpp/release/CMakeFiles/zstd_ep.dir/DependInfo.cmake --color=> make[2]: 
> Leaving directory
> `/home/felix.xwj/workspace/arrow/cpp/release'> make -f 
> CMakeFiles/zstd_ep.dir/build.make CMakeFiles/zstd_ep.dir/build> make[2]: 
> Entering directory
> `/home/felix.xwj/workspace/arrow/cpp/release'> make[2]: Nothing to be done 
> for `CMakeFiles/zstd_ep.dir/build'.
> make[2]: Leaving directory
> `/home/felix.xwj/workspace/arrow/cpp/release'> [ 34%] Built target zstd_ep
> make -f CMakeFiles/brotli_ep.dir/build.make
> CMakeFiles/brotli_ep.dir/depend> make[2]: Entering directory
> `/home/felix.xwj/workspace/arrow/cpp/release'> cd 
> /home/felix.xwj/workspace/arrow/cpp/release &&
> /home/felix.xwj/home/felix.xwj/bin/cmake -E cmake_depends "Unix
> Makefiles" /home/felix.xwj/workspace/arrow/cpp
> /home/felix.xwj/workspace/arrow/cpp
> /home/felix.xwj/workspace/arrow/cpp/release
> /home/felix.xwj/workspace/arrow/cpp/release /home/felix.xwj/workspace-
> /arrow/cpp/release/CMakeFiles/brotli_ep.dir/DependInfo.cmake --color=> 
> make[2]: Leaving directory
> `/home/felix.xwj/workspace/arrow/cpp/release'> make -f 
> CMakeFiles/brotli_ep.dir/build.make
> CMakeFiles/brotli_ep.dir/build> make[2]: Entering directory
> `/home/felix.xwj/workspace/arrow/cpp/release'> [ 34%] Performing download 
> step (download, verify and extract) for
> 'brotli_ep'> cd 
> /home/felix.xwj/workspace/arrow/cpp/release/brotli_ep-prefix/src &&
> /home/felix.xwj/home/felix.xwj/bin/cmake -P 
> /home/felix.xwj/workspace/arrow/cpp/release/brotli_ep-
> prefix/src/brotli_ep-stamp/brotli_ep-download-RELEASE.cmake> 
> ============================================================
> 
> I think it hangs at downloading *brotli_ep*. But I am able to download
> that package through the link
> https://github.com/google/brotli/archive/v0.6.0.tar.gz> 
> Any suggestion?
> 
> Thanks,
> Wenjian
> 
> 
> 
> On Thu, Jul 26, 2018 at 1:02 AM Uwe L. Korn <uw...@xhochy.com> wrote:>> Hello,
>> 
>>  the output is quite sparse. Can you run just `make VERBOSE=1` and
>>  have a look at the last lines of that. This should give you a better
>>  indication where it hangs.>> 
>>  Uwe
>> 
>>  On Wed, Jul 25, 2018, at 11:39 AM, Xu,Wenjian wrote:
>>  > Hello,
>>  > 
>>  > I want to build Arrow C++ from source. I follow the steps
>>  > according to the>>  > instructions in:
>>  > https://github.com/apache/arrow/tree/master/cpp
>>  > 
>>  > But I was stuck for a few hours after entering the commands *make
>>  > unittest*>>  > as follows:
>>  > 
>>  > =====================================================
>>  > $make unittest -j4
>>  > [  4%] Built target flatbuffers_ep
>>  > [ 10%] Built target lz4_ep
>>  > [ 12%] Built target snappy_ep
>>  > [ 16%] Built target rapidjson_ep
>>  > [ 20%] Built target zlib_ep
>>  > [ 20%] Performing download step (download, verify and extract) for>>  > 
>> 'brotli_ep'
>>  > [ 27%] Built target zstd_ep
>>  > [ 29%] Built target googletest_ep
>>  > [ 35%] Built target metadata_fbs
>>  > [ 35%] Built target gflags_ep
>>  > 
>>  > ======================================================
>>  > 
>>  > My environment is Linux with gcc 4.8.5 and cmake 3.12.0.
>>  > 
>>  > I guess it keeps downloading for 'brotli_ep'? Any suggestion
>>  > would be>>  > helpful. Thanks.
>>  > 
>>  > 
>>  > Best regards,
>>  > Wenjian

Reply via email to