kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [1/4] incubator-kudu git commit: docs: update build-from-source instructions for blessed build layout
Date Wed, 03 Feb 2016 23:27:48 GMT
Repository: incubator-kudu
Updated Branches:
  refs/heads/master b2d0ecbd6 -> bd4927265


docs: update build-from-source instructions for blessed build layout

I'm not convinced that this makes sense; in my opinion, installation.adoc
isn't intended for Kudu developers, but for people running on platforms for
which we lack prebuilt binaries. JD pointed out that the Java client build
muddies this somewhat, as it's reasonable to expect these people to want to
build the Java client, and by default maven will run unit tests, which will
fail unless they're using the blessed build layout (or pass -DbinDir).

Anyway, the blessed build layout doesn't actually hurt casual
build-from-source people; it's just more complexity.

I also removed the various mentions of openssl-devel as with the dlopen()
change to squeasel it's no longer necessary for building.

Change-Id: Ic482c084397d13a0fd9e0b3e710449bc5cd866c4
Reviewed-on: http://gerrit.cloudera.org:8080/1997
Tested-by: Kudu Jenkins
Reviewed-by: Jean-Daniel Cryans


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/cf1acc6b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/cf1acc6b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/cf1acc6b

Branch: refs/heads/master
Commit: cf1acc6bee8352898a5a164790a26dd2dcc25071
Parents: b2d0ecb
Author: Adar Dembo <adar@cloudera.com>
Authored: Tue Feb 2 14:22:04 2016 -0800
Committer: Adar Dembo <adar@cloudera.com>
Committed: Wed Feb 3 08:30:45 2016 +0000

----------------------------------------------------------------------
 docs/installation.adoc | 83 ++++++++++++++++++++-------------------------
 1 file changed, 37 insertions(+), 46 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/cf1acc6b/docs/installation.adoc
----------------------------------------------------------------------
diff --git a/docs/installation.adoc b/docs/installation.adoc
index b36abff..a695bcd 100644
--- a/docs/installation.adoc
+++ b/docs/installation.adoc
@@ -212,7 +212,7 @@ on a version older than 7.0, the Red Hat Developer Toolset must be installed
 +
 ----
 $ sudo yum install gcc gcc-c++ autoconf automake libtool \
-  boost-static boost-devel openssl-devel cyrus-sasl-devel \
+  boost-static boost-devel cyrus-sasl-devel \
   cyrus-sasl-plain patch pkgconfig make rsync vim-common gdb
 ----
 
@@ -254,12 +254,12 @@ except for the `kudu` directory itself.
 +
 [source,bash]
 ----
-mkdir -p build
-cd build
-../build-support/enable_devtoolset.sh \
-  ../thirdparty/installed/bin/cmake \
+mkdir -p build/release
+cd build/release
+../../build-support/enable_devtoolset.sh \
+  ../../thirdparty/installed/bin/cmake \
   -DCMAKE_BUILD_TYPE=release \
-  ..
+  ../..
 make -j4
 ----
 
@@ -290,7 +290,7 @@ automated deployment scenario. It skips the steps marked *Optional* above.
 #!/bin/bash
 
 sudo yum -y install gcc gcc-c++ autoconf automake libtool \
-  boost-static boost-devel openssl-devel cyrus-sasl-devel \
+  boost-static boost-devel cyrus-sasl-devel \
   cyrus-sasl-plain patch pkgconfig make rsync vim-common gdb
 DTLS_RPM=rhscl-devtoolset-3-epel-6-x86_64.noarch.rpm
 DTLS_RPM_URL=https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/epel-6-x86_64/download/${DTLS_RPM}
@@ -299,12 +299,12 @@ sudo yum install -y scl-utils ${DTLS_RPM}
 sudo yum install -y devtoolset-3-toolchain
 cd kudu
 build-support/enable_devtoolset.sh thirdparty/build-if-necessary.sh
-mkdir -p build
-cd build
-../build-support/enable_devtoolset.sh \
-  ../thirdparty/installed/bin/cmake \
+mkdir -p build/release
+cd build/release
+../../build-support/enable_devtoolset.sh \
+  ../../thirdparty/installed/bin/cmake \
   -DCMAKE_BUILD_TYPE=release \
-  ..
+  ../..
 make -j4
 ----
 ====
@@ -316,7 +316,7 @@ make -j4
 +
 ----
 $ sudo apt-get install git autoconf automake libboost-thread-dev \
-  libboost-system-dev curl gcc g++ libssl-dev libsasl2-dev libsasl2-modules \
+  libboost-system-dev curl gcc g++ libsasl2-dev libsasl2-modules \
   libtool ntp patch pkg-config make rsync unzip vim-common gdb python
 ----
 
@@ -347,9 +347,9 @@ except for the `kudu` directory itself.
 +
 [source,bash]
 ----
-mkdir -p build
-cd build
-../thirdparty/installed/bin/cmake -DCMAKE_BUILD_TYPE=release ..
+mkdir -p build/release
+cd build/release
+../../thirdparty/installed/bin/cmake -DCMAKE_BUILD_TYPE=release ../..
 make -j4
 ----
 
@@ -380,16 +380,16 @@ the steps marked *Optional* above.
 #!/bin/bash
 
 sudo apt-get -y install git autoconf automake libboost-thread-dev \
-  libboost-system-dev curl gcc g++ libssl-dev libsasl2-dev libsasl2-modules \
+  libboost-system-dev curl gcc g++ libsasl2-dev libsasl2-modules \
   libtool ntp patch pkg-config make rsync unzip vim-common gdb python
 git clone https://github.com/cloudera/kudu
 cd kudu
 thirdparty/build-if-necessary.sh
-mkdir -p build
-cd build
-../thirdparty/installed/bin/cmake \
+mkdir -p build/release
+cd build/release
+../../thirdparty/installed/bin/cmake \
   -DCMAKE_BUILD_TYPE=release \
-  ..
+  ../..
 make -j4
 ----
 ====
@@ -406,7 +406,7 @@ built alongside Kudu.
 +
 ----
 $ sudo zypper install autoconf automake curl cyrus-sasl-devel gcc gcc-c++ \
-  gdb git libtool make ntp openssl-devel patch pkg-config python rsync unzip vim
+  gdb git libtool make ntp patch pkg-config python rsync unzip vim
 ----
 
 . Install Boost.
@@ -442,12 +442,12 @@ except for the `kudu` directory itself.
 +
 [source,bash]
 ----
-mkdir -p build
-cd build
+mkdir -p build/release
+cd build/release
 BOOST_ROOT=../../boost_1_59_0 \
-  ../thirdparty/installed/bin/cmake \
+  ../../thirdparty/installed/bin/cmake \
   -DCMAKE_BUILD_TYPE=release \
-  ..
+  ../..
 make -j4
 ----
 
@@ -471,7 +471,7 @@ the steps marked *Optional* above.
 #!/bin/bash
 
 sudo zypper install autoconf automake curl cyrus-sasl-devel gcc gcc-c++ \
-  gdb git libtool make ntp openssl-devel patch pkg-config python rsync unzip vim
+  gdb git libtool make ntp patch pkg-config python rsync unzip vim
 wget https://downloads.sourceforge.net/project/boost/boost/1.59.0/boost_1_59_0.tar.gz
 tar xzf boost_1_59_0.tar.gz
 pushd boost_1_59_0
@@ -481,12 +481,12 @@ popd
 git clone https://github.com/cloudera/kudu
 cd kudu
 thirdparty/build-if-necessary.sh
-mkdir -p build
-cd build
+mkdir -p build/release
+cd build/release
 BOOST_ROOT=../../boost_1_59_0 \
-  ../thirdparty/installed/bin/cmake \
+  ../../thirdparty/installed/bin/cmake \
   -DCMAKE_BUILD_TYPE=release \
-  ..
+  ../..
 make -j4
 ----
 ====
@@ -512,13 +512,6 @@ for more information.
 $ brew install autoconf automake cmake libtool pkg-config boost pstree
 ----
 
-. OS X 10.11 El Capitan only: install OpenSSL.
-+
-----
-$ brew install openssl
-$ brew link -f openssl
-----
-
 . Clone the Git repository and change to the new `kudu` directory.
 +
 [source,bash]
@@ -539,9 +532,9 @@ anywhere in your filesystem except for the `kudu` directory itself.
 +
 [source,bash]
 ----
-mkdir -p build
-cd build
-../thirdparty/installed/bin/cmake ..
+mkdir -p build/release
+cd build/release
+../../thirdparty/installed/bin/cmake -DCMAKE_BUILD_TYPE=release ../..
 make -j4
 ----
 
@@ -555,14 +548,12 @@ are installed.
 #!/bin/bash
 
 brew install autoconf automake cmake libtool pkg-config boost pstree
-brew install openssl
-brew link -f openssl
 git clone https://github.com/cloudera/kudu
 cd kudu
 thirdparty/build-if-necessary.sh
-mkdir -p build
-cd build
-../thirdparty/installed/bin/cmake ..
+mkdir -p build/release
+cd build/release
+../../thirdparty/installed/bin/cmake -DCMAKE_BUILD_TYPE=release ../..
 make -j4
 ----
 ====


Mime
View raw message