Skip to content

Apache DataFusion SQL Query Engine

ARROW-3539: [CI/Packaging] Update scripts to build against vendored jemalloc

Krisztián Szűcse22c3907fdf2
diff --git a/ci/conda_env_cpp.yml b/ci/conda_env_cpp.yml
index 5aa3c32b41..0ae21ec6d9 100644
--- a/ci/conda_env_cpp.yml
+++ b/ci/conda_env_cpp.yml
@@ -22,7 +22,6 @@ flatbuffers
gflags
glog
gtest
-jemalloc
libprotobuf
lz4-c
python
diff --git a/ci/travis_install_linux.sh b/ci/travis_install_linux.sh
index c1db2d5c5b..4dbfce0dba 100755
--- a/ci/travis_install_linux.sh
+++ b/ci/travis_install_linux.sh
@@ -19,7 +19,7 @@
sudo apt-get install -y -q \
gdb binutils ccache libboost-dev libboost-filesystem-dev \
- libboost-system-dev libboost-regex-dev libjemalloc-dev
+ libboost-system-dev libboost-regex-dev
if [ "$CXX" == "g++-4.9" ]; then
sudo apt-get install -y -q g++-4.9
diff --git a/dev/container/Dockerfile b/dev/container/Dockerfile
index de0729ba53..e77279968a 100644
--- a/dev/container/Dockerfile
+++ b/dev/container/Dockerfile
@@ -41,9 +41,8 @@ ENV PATH="/miniconda/bin:$PATH"
RUN conda create -y -q -n pyarrow-dev \
python=3.6 numpy six setuptools cython pandas pytest \
cmake flatbuffers rapidjson boost-cpp thrift-cpp snappy zlib \
- gflags brotli jemalloc lz4-c zstd -c conda-forge \
+ gflags brotli lz4-c zstd -c conda-forge \
&& conda clean --all
ADD script ./script
RUN chmod u=rwx ./script/*.sh
-
diff --git a/dev/docker_common/Dockerfile.xenial.base b/dev/docker_common/Dockerfile.xenial.base
index 49d9fd72d9..bead6948c0 100644
--- a/dev/docker_common/Dockerfile.xenial.base
+++ b/dev/docker_common/Dockerfile.xenial.base
@@ -57,7 +57,6 @@ RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -
gtest \
re2 \
brotli \
- jemalloc \
lz4-c \
zstd \
setuptools \
diff --git a/dev/spark_integration/Dockerfile b/dev/spark_integration/Dockerfile
index 81b801cc62..84e353a9b5 100644
--- a/dev/spark_integration/Dockerfile
+++ b/dev/spark_integration/Dockerfile
@@ -52,7 +52,6 @@ RUN conda create -y -q -c conda-forge -n pyarrow-dev \
zlib \
gflags \
brotli \
- jemalloc \
lz4-c \
zstd \
setuptools \
diff --git a/dev/tasks/linux-packages/apt/debian-stretch/Dockerfile b/dev/tasks/linux-packages/apt/debian-stretch/Dockerfile
index 24a7ddf7c7..4dde574cbf 100644
--- a/dev/tasks/linux-packages/apt/debian-stretch/Dockerfile
+++ b/dev/tasks/linux-packages/apt/debian-stretch/Dockerfile
@@ -41,7 +41,6 @@ RUN \
libboost-system-dev \
libgirepository1.0-dev \
libglib2.0-doc \
- libjemalloc-dev \
libprotobuf-dev \
libprotoc-dev \
lsb-release \
diff --git a/dev/tasks/linux-packages/apt/ubuntu-bionic/Dockerfile b/dev/tasks/linux-packages/apt/ubuntu-bionic/Dockerfile
index dcf783604a..5d3c9ba293 100644
--- a/dev/tasks/linux-packages/apt/ubuntu-bionic/Dockerfile
+++ b/dev/tasks/linux-packages/apt/ubuntu-bionic/Dockerfile
@@ -39,7 +39,6 @@ RUN \
libboost-system-dev \
libgirepository1.0-dev \
libglib2.0-doc \
- libjemalloc-dev \
libprotobuf-dev \
libprotoc-dev \
lsb-release \
diff --git a/dev/tasks/linux-packages/apt/ubuntu-trusty/Dockerfile b/dev/tasks/linux-packages/apt/ubuntu-trusty/Dockerfile
index 727e03524e..e88c24177b 100644
--- a/dev/tasks/linux-packages/apt/ubuntu-trusty/Dockerfile
+++ b/dev/tasks/linux-packages/apt/ubuntu-trusty/Dockerfile
@@ -40,7 +40,6 @@ RUN \
libboost-system-dev \
libgirepository1.0-dev \
libglib2.0-doc \
- libjemalloc-dev \
lsb-release \
pkg-config && \
apt-get clean && \
diff --git a/dev/tasks/linux-packages/apt/ubuntu-xenial/Dockerfile b/dev/tasks/linux-packages/apt/ubuntu-xenial/Dockerfile
index 93a6d3a4b3..17cb27713f 100644
--- a/dev/tasks/linux-packages/apt/ubuntu-xenial/Dockerfile
+++ b/dev/tasks/linux-packages/apt/ubuntu-xenial/Dockerfile
@@ -40,7 +40,6 @@ RUN \
libboost-system-dev \
libgirepository1.0-dev \
libglib2.0-doc \
- libjemalloc-dev \
libprotobuf-dev \
libprotoc-dev \
lsb-release \
diff --git a/dev/tasks/linux-packages/debian.ubuntu-trusty/control b/dev/tasks/linux-packages/debian.ubuntu-trusty/control
index c8c9f9c818..696f2c4b69 100644
--- a/dev/tasks/linux-packages/debian.ubuntu-trusty/control
+++ b/dev/tasks/linux-packages/debian.ubuntu-trusty/control
@@ -15,7 +15,6 @@ Build-Depends:
libboost-regex-dev,
libboost-system-dev,
libgirepository1.0-dev,
- libjemalloc-dev,
pkg-config
Build-Depends-Indep: libglib2.0-doc
Standards-Version: 3.9.6
diff --git a/dev/tasks/linux-packages/debian/control b/dev/tasks/linux-packages/debian/control
index 5521f9f9fe..d497a31d14 100644
--- a/dev/tasks/linux-packages/debian/control
+++ b/dev/tasks/linux-packages/debian/control
@@ -16,7 +16,6 @@ Build-Depends:
libboost-regex-dev,
libboost-system-dev,
libgirepository1.0-dev,
- libjemalloc-dev,
libprotobuf-dev,
libprotoc-dev,
nvidia-cuda-toolkit,
diff --git a/dev/tasks/linux-packages/yum/arrow.spec.in b/dev/tasks/linux-packages/yum/arrow.spec.in
index c2715dd81a..3fc82398be 100644
--- a/dev/tasks/linux-packages/yum/arrow.spec.in
+++ b/dev/tasks/linux-packages/yum/arrow.spec.in
@@ -37,7 +37,6 @@ BuildRequires: gcc-c++
BuildRequires: cmake3
BuildRequires: boost-devel
BuildRequires: git
-BuildRequires: jemalloc-devel
%if %{use_python}
BuildRequires: python34-devel
BuildRequires: python34-numpy
@@ -112,7 +111,6 @@ License: Apache-2.0
Requires: boost-system
Requires: boost-filesystem
Requires: boost-regex
-Requires: jemalloc
%description libs
This package contains the libraries for Apache Arrow C++.
diff --git a/dev/tasks/linux-packages/yum/centos-6/Dockerfile b/dev/tasks/linux-packages/yum/centos-6/Dockerfile
index 90bd710963..8143b99efd 100644
--- a/dev/tasks/linux-packages/yum/centos-6/Dockerfile
+++ b/dev/tasks/linux-packages/yum/centos-6/Dockerfile
@@ -51,7 +51,6 @@ RUN \
git \
gobject-introspection-devel \
gtk-doc \
- jemalloc-devel \
pkg-config \
python34 \
python34-devel \
diff --git a/dev/tasks/linux-packages/yum/centos-7/Dockerfile b/dev/tasks/linux-packages/yum/centos-7/Dockerfile
index a8710c5a0e..d672e46bd2 100644
--- a/dev/tasks/linux-packages/yum/centos-7/Dockerfile
+++ b/dev/tasks/linux-packages/yum/centos-7/Dockerfile
@@ -33,7 +33,6 @@ RUN \
git \
gobject-introspection-devel \
gtk-doc \
- jemalloc-devel \
pkg-config \
python34 \
python34-devel \