Skip to content

Instantly share code, notes, and snippets.

@yannick
Created July 21, 2017 08:59
Show Gist options
  • Select an option

  • Save yannick/8cd34fe837b3bbfe97886d1ca306a4ec to your computer and use it in GitHub Desktop.

Select an option

Save yannick/8cd34fe837b3bbfe97886d1ca306a4ec to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
brew install openssl@1.1
export build="h2o-kafka"
git clone https://github.com/yannick/h2o.git $build
cd $build
git checkout --track -b features/log_to_kafka origin/features/log_to_kafka
mkdir build
mkdir installed
cd build
cmake -DWITH_BUNDLED_SSL=off -DWITH_MRUBY=ON -LAHT -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl@1.1/1.1.0f -DCMAKE_INSTALL_PREFIX=$(pwd)/../installed/ ..
make h2o
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment