Skip to content

Commit

Permalink
LuaJIT2.0 does not support for Arm64
Browse files Browse the repository at this point in the history
Signed-off-by: Bin Lu <[email protected]>
  • Loading branch information
Bin Lu authored and jongwu committed Jun 22, 2018
1 parent c75fb59 commit 28f4df1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/build_container/build_recipes/luajit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

VERSION=2.0.5
VERSION=2.1.0-beta3

wget -O LuaJIT-"$VERSION".tar.gz https://github.com/LuaJIT/LuaJIT/archive/v"$VERSION".tar.gz
tar xf LuaJIT-"$VERSION".tar.gz
Expand Down
1 change: 1 addition & 0 deletions ci/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ elif [[ "$1" == "bazel.debug.server_only" ]]; then
elif [[ "$1" == "bazel.asan" ]]; then
setup_clang_toolchain
echo "bazel ASAN/UBSAN debug build with tests..."

cd "${ENVOY_FILTER_EXAMPLE_SRCDIR}"
echo "Building and testing..."
bazel --batch test ${BAZEL_TEST_OPTIONS} -c dbg --config=clang-asan @envoy//test/... \
Expand Down
4 changes: 2 additions & 2 deletions ci/prebuilt/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ cc_library(
cc_library(
name = "luajit",
srcs = ["thirdparty_build/lib/libluajit-5.1.a"],
hdrs = glob(["thirdparty_build/include/luajit-2.0/*"]),
hdrs = glob(["thirdparty_build/include/luajit-2.1/*"]),
includes = ["thirdparty_build/include"],
# TODO(mattklein123): We should strip luajit-2.0 here for consumers. However, if we do that
# TODO(mattklein123): We should strip luajit-2.1 here for consumers. However, if we do that
# the headers get included using -I vs. -isystem which then causes old-style-cast warnings.
)

Expand Down
2 changes: 1 addition & 1 deletion source/extensions/filters/common/lua/lua.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "common/common/c_smart_ptr.h"
#include "common/common/logger.h"

#include "luajit-2.0/lua.hpp"
#include "luajit-2.1/lua.hpp"

namespace Envoy {
namespace Extensions {
Expand Down

0 comments on commit 28f4df1

Please sign in to comment.