Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fblualib/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mkdir -p build
cd build
cmake ..
make
sudo make install
make install

rocks="util luaunit complex \
ffivector editline trepl debugger mattorch python thrift torch"
Expand All @@ -31,5 +31,5 @@ for rock in $rocks; do
cd $root/$rock
# Unfortunately, luarocks doesn't like separating the "build" and
# "install" phases, so we have to run as root.
sudo luarocks make rockspec/fb$rock-$version.rockspec
luarocks make rockspec/fb$rock-$version.rockspec VERBOSE=1
done
2 changes: 1 addition & 1 deletion fblualib/ffivector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ INCLUDE_DIRECTORIES(
${FOLLY_INCLUDE_DIR}
)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++14")

SET(src
FFIVector.cpp
Expand Down
2 changes: 1 addition & 1 deletion fblualib/ffivector/FFIVector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <algorithm>
#include <cerrno>
#include <folly/Malloc.h>
#include <folly/memory/Malloc.h>
#include <glog/logging.h>

extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion fblualib/mattorch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ INCLUDE_DIRECTORIES(
${MATIO_INCLUDE_DIR}
)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++14")

SET(src
MatTorch.cpp
Expand Down
2 changes: 1 addition & 1 deletion fblualib/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ INCLUDE_DIRECTORIES(
${Boost_INCLUDE_DIRS}
)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++14")

SET(src
Debug.cpp
Expand Down
2 changes: 1 addition & 1 deletion fblualib/thrift/ChunkedCompression.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <vector>

#include <folly/io/IOBuf.h>
#include <folly/io/Compression.h>
#include <folly/compression/Compression.h>

#include <fblualib/thrift/if/gen-cpp2/ChunkedCompression_types.h>

Expand Down
2 changes: 1 addition & 1 deletion fblualib/thrift/Encoding.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef FBLUA_THRIFT_ENCODING_H_
#define FBLUA_THRIFT_ENCODING_H_

#include <folly/io/Compression.h>
#include <folly/compression/Compression.h>
#include <folly/io/IOBuf.h>
#include <fblualib/thrift/if/gen-cpp2/LuaObject_types.h>

Expand Down
2 changes: 1 addition & 1 deletion fblualib/thrift/LuaSerialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <fblualib/LuaUtils.h>
#include "Encoding.h"
#include "Serialization.h"
#include <folly/io/Compression.h>
#include <folly/compression/Compression.h>

using namespace fblualib;
using namespace fblualib::thrift;
Expand Down
2 changes: 1 addition & 1 deletion fblualib/torch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ INCLUDE_DIRECTORIES(

INCLUDE_DIRECTORIES(${LUA_INCDIR})

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++14")

SET(src
AsyncRNG.cpp
Expand Down