Skip to content

Commit

Permalink
Build works past gflags and glog
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbw committed Apr 10, 2016
1 parent d191b47 commit 7d92b4e
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 24 deletions.
6 changes: 5 additions & 1 deletion double-conversion/build.sh
@@ -1 +1,5 @@
scons DESTDIR=$PREFIX install
# scons DESTDIR=$PREFIX install

$PREFIX/bin/cmake . -DCMAKE_INSTALL_PREFIX=$PREFIX -DBUILD_SHARED_LIBS=ON
make
make install
3 changes: 2 additions & 1 deletion double-conversion/meta.yaml
Expand Up @@ -12,7 +12,8 @@ build:

requirements:
build:
- scons
# - scons
- cmake

about:
home: https://github.com/google/double-conversion
Expand Down
17 changes: 8 additions & 9 deletions folly/build.sh
@@ -1,9 +1,8 @@
open $PREFIX
rm $PREFIX/lib/libglog.la
rm $PREFIX/lib/libglog.a
open .
cd folly && autoreconf -ivf --prepend-include=$PREFIX/include
./configure --prefix=$PREFIX LDFLAGS="-L$PREFIX/lib" CPPFLAGS="-I$PREFIX/include"
# LD_LIBRARY_PATH=$PREFIX/ make
# make check
# make install
# open $PREFIX
# open .
cd folly
autoreconf -ivf --prepend-include=$PREFIX/include
./configure --prefix=$PREFIX LDFLAGS="-L$PREFIX/lib" CPPFLAGS="-I$PREFIX/include -std=c++11" BOOST_CPPFLAGS="-I$PREFIX/include" BOOST_LDFLAGS="-L$PREFIX/lib"
make
make check
make install
24 changes: 12 additions & 12 deletions folly/meta.yaml
Expand Up @@ -13,8 +13,8 @@ build:

requirements:
build:
# - gcc
- libtool
- gcc
- libtool ==2.4.6
- autoconf
- automake
- gflags
Expand All @@ -28,19 +28,19 @@ requirements:
# - numa [linux] # TODO
# - edit # TODO
# - matio # TODO
# - flex
# - bison
- flex
- bison
# - jemalloc
# - lzma
# - lz4
- lz4
# - lzmq
# - snappy
# - zlib
# - krb5
# - pkg-config
# - openssl
# - python
# - numpy
- snappy
- zlib
- krb5
- pkg-config
- openssl
- python
- numpy

about:
home: https://github.com/facebook/folly
Expand Down
2 changes: 1 addition & 1 deletion gflags/build.sh
@@ -1,5 +1,5 @@
mkdir -p build_
cd build_
$PREFIX/bin/cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX
$PREFIX/bin/cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX -DGFLAGS_NAMESPACE=google
make
make install

0 comments on commit 7d92b4e

Please sign in to comment.