orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From owen-hortonworks <...@git.apache.org>
Subject [GitHub] orc pull request #191: ORC-265: [C++] Add documentation for C++ build suppor...
Date Tue, 28 Nov 2017 20:57:20 GMT
Github user owen-hortonworks commented on a diff in the pull request:

    https://github.com/apache/orc/pull/191#discussion_r153620812
  
    --- Diff: site/_docs/building.md ---
    @@ -70,3 +70,25 @@ To build:
     % mvn package
     ~~~
     
    +## Building just C++
    +
    +~~~ shell
    +% mkdir build
    +% cd build
    +% cmake .. -DBUILD_JAVA=OFF
    +% make package test-out
    +~~~
    +
    +## Specify third-party libraries for C++ build
    +
    +~~~ shell
    +% mkdir build
    +% cd build
    +% GTEST_HOME=<PATH to Google Test library> \
    +  SNAPPY_HOME=<PATH to Snappy library> \
    +  ZLIB_HOME=<PATH to ZLIB library> \
    +  LZ4_HOME=<PATH to LZ4 library> \
    +  PROTOBUF_HOME=<PATH to Protobuf library> \
    +  cmake  .. -DBUILD_JAVA=OFF
    +% make package test-out
    --- End diff --
    
    I'm using cmake 3.5.1, but it works for me. Why would you need environment variables instead
of cmake variables?


---

Mime
View raw message