Skip to content

Commit 3e4ec2a

Browse files
committed
unterminated llvm:MemoryBuffer; fix check_import.py path
1 parent 7c88d61 commit 3e4ec2a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ci/travis_script_manylinux.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ set -ex
2727
source $TRAVIS_BUILD_DIR/ci/travis_env_common.sh
2828
source $TRAVIS_BUILD_DIR/ci/travis_install_conda.sh
2929

30+
pushd python/manylinux1
31+
3032
cat << EOF > check_imports.py
3133
import sys
3234
import pyarrow
@@ -39,8 +41,6 @@ if sys.version_info.major > 2:
3941
import pyarrow.gandiva
4042
EOF
4143

42-
pushd python/manylinux1
43-
4444
for PYTHON_TUPLE in ${PYTHON_VERSIONS}; do
4545
IFS="," read PYTHON_VERSION UNICODE_WIDTH <<< $PYTHON_TUPLE
4646

cpp/src/gandiva/engine.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Status Engine::LoadPreCompiledIR() {
134134

135135
/// Read from file into memory buffer.
136136
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> buffer_or_error =
137-
llvm::MemoryBuffer::getMemBuffer(bitcode);
137+
llvm::MemoryBuffer::getMemBuffer(bitcode, "precompiled", false);
138138

139139
ARROW_RETURN_IF(!buffer_or_error,
140140
Status::CodeGenError("Could not load module from IR: ",

0 commit comments

Comments
 (0)