Skip to content

Commit

Permalink
Merge pull request #451 from sony/fix/20230116-disable-shared-lib
Browse files Browse the repository at this point in the history
static linking of python library
  • Loading branch information
YukioOobuchi authored Jan 18, 2023
2 parents 53c48b4 + a214a12 commit 59a799b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/development/Dockerfile.build-mpi
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv \
&& export PATH="$PYENV_ROOT/bin:$PYENV_ROOT/plugins/python-build/bin:$PATH" \
&& export PYTHON_BUILD_CURL_OPTS="${CURL_OPTS}" \
&& export PYTHON_BUILD_WGET_OPTS="${WGET_OPTS}" \
&& export PYTHON_CONFIGURE_OPTS=--disable-shared \
&& if [ ${PYTHON_VERSION_MINOR} -ge 10 ]; then export CPPFLAGS=-I/usr/include/openssl11 && export LDFLAGS=-L/usr/lib64/openssl11; fi \
&& eval "$(pyenv init -)" \
&& python-build `pyenv latest -k ${PYVERNAME}` /usr/local \
Expand Down
1 change: 1 addition & 0 deletions docker/development/Dockerfile.build-mpi-ppc64le
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv \
&& export PATH="$PYENV_ROOT/bin:$PYENV_ROOT/plugins/python-build/bin:$PATH" \
&& export PYTHON_BUILD_CURL_OPTS="${CURL_OPTS}" \
&& export PYTHON_BUILD_WGET_OPTS="${WGET_OPTS}" \
&& export PYTHON_CONFIGURE_OPTS=--disable-shared \
&& if [ ${PYTHON_VERSION_MINOR} -ge 10 ]; then export CPPFLAGS=-I/usr/include/openssl11 && export LDFLAGS=-L/usr/lib64/openssl11; fi \
&& eval "$(pyenv init -)" \
&& python-build `pyenv latest -k ${PYVERNAME}` /usr/local \
Expand Down
1 change: 1 addition & 0 deletions docker/development/Dockerfile.cuda-cudnn-lib-in-wheel-test
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ RUN git clone https://github.com/pyenv/pyenv.git ~/.pyenv \
&& export PATH="$PYENV_ROOT/bin:$PYENV_ROOT/plugins/python-build/bin:$PATH" \
&& export PYTHON_BUILD_CURL_OPTS="${CURL_OPTS}" \
&& export PYTHON_BUILD_WGET_OPTS="${WGET_OPTS}" \
&& export PYTHON_CONFIGURE_OPTS=--disable-shared \
&& PYTHON_VERSION_MINOR=${PYTHON_VER#*.} \
&& if [ ${PYTHON_VERSION_MINOR} -ge 10 ]; then export CPPFLAGS=-I/usr/include/openssl11 && export LDFLAGS=-L/usr/lib64/openssl11; fi \
&& eval "$(pyenv init -)" \
Expand Down
1 change: 1 addition & 0 deletions docker/release/Dockerfile.cuda
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ RUN eval ${APT_OPTS} \
&& export PATH="$PYENV_ROOT/bin:$PYENV_ROOT/plugins/python-build/bin:$PATH" \
&& export PYTHON_BUILD_CURL_OPTS="${CURL_OPTS}" \
&& export PYTHON_BUILD_WGET_OPTS="${WGET_OPTS}" \
&& export PYTHON_CONFIGURE_OPTS=--disable-shared \
&& PYTHON_VERSION_MINOR=${PYTHON_VER#*.} \
&& if [ ${PYTHON_VERSION_MINOR} -ge 10 ]; then export CPPFLAGS=-I/usr/include/openssl11 && export LDFLAGS=-L/usr/lib64/openssl11; fi \
&& eval "$(pyenv init -)" \
Expand Down
1 change: 1 addition & 0 deletions docker/release/Dockerfile.cuda-mpi
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ RUN eval ${APT_OPTS} \
&& export PATH="$PYENV_ROOT/bin:$PYENV_ROOT/plugins/python-build/bin:$PATH" \
&& export PYTHON_BUILD_CURL_OPTS="${CURL_OPTS}" \
&& export PYTHON_BUILD_WGET_OPTS="${WGET_OPTS}" \
&& export PYTHON_CONFIGURE_OPTS=--disable-shared \
&& PYTHON_VERSION_MINOR=${PYTHON_VER#*.} \
&& if [ ${PYTHON_VERSION_MINOR} -ge 10 ]; then export CPPFLAGS=-I/usr/include/openssl11 && export LDFLAGS=-L/usr/lib64/openssl11; fi \
&& export CPPFLAGS=-I/usr/include/openssl11 \
Expand Down
1 change: 1 addition & 0 deletions docker/runtime/Dockerfile.runtime
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ RUN eval ${APT_OPTS} \
&& export PATH="$PYENV_ROOT/bin:$PYENV_ROOT/plugins/python-build/bin:$PATH" \
&& export PYTHON_BUILD_CURL_OPTS="${CURL_OPTS}" \
&& export PYTHON_BUILD_WGET_OPTS="${WGET_OPTS}" \
&& export PYTHON_CONFIGURE_OPTS=--disable-shared \
&& if [ ${PYTHON_VERSION_MINOR} -ge 10 ]; then export CPPFLAGS=-I/usr/include/openssl11 && export LDFLAGS=-L/usr/lib64/openssl11; fi \
&& eval "$(pyenv init -)" \
&& python-build `pyenv latest -k ${PYVERNAME}` /usr/local \
Expand Down
1 change: 1 addition & 0 deletions docker/runtime/Dockerfile.runtime-mpi
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ RUN eval ${APT_OPTS} \
&& export PATH="$PYENV_ROOT/bin:$PYENV_ROOT/plugins/python-build/bin:$PATH" \
&& export PYTHON_BUILD_CURL_OPTS="${CURL_OPTS}" \
&& export PYTHON_BUILD_WGET_OPTS="${WGET_OPTS}" \
&& export PYTHON_CONFIGURE_OPTS=--disable-shared \
&& if [ ${PYTHON_VERSION_MINOR} -ge 10 ]; then export CPPFLAGS=-I/usr/include/openssl11 && export LDFLAGS=-L/usr/lib64/openssl11; fi \
&& eval "$(pyenv init -)" \
&& python-build `pyenv latest -k ${PYVERNAME}` /usr/local \
Expand Down
1 change: 1 addition & 0 deletions docker/runtime/Dockerfile.runtime-ppc64le
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ RUN eval ${APT_OPTS} \
&& export PATH="$PYENV_ROOT/bin:$PYENV_ROOT/plugins/python-build/bin:$PATH" \
&& export PYTHON_BUILD_CURL_OPTS="${CURL_OPTS}" \
&& export PYTHON_BUILD_WGET_OPTS="${WGET_OPTS}" \
&& export PYTHON_CONFIGURE_OPTS=--disable-shared \
&& if [ ${PYTHON_VERSION_MINOR} -ge 10 ]; then export CPPFLAGS=-I/usr/include/openssl11 && export LDFLAGS=-L/usr/lib64/openssl11; fi \
&& eval "$(pyenv init -)" \
&& python-build `pyenv latest -k ${PYVERNAME}` /usr/local \
Expand Down

0 comments on commit 59a799b

Please sign in to comment.