Skip to content

Commit

Permalink
swig: bump to 4.3.0 in all tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Jan 22, 2025
1 parent 8bb762f commit 9f398f6
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion cmake/dependencies/SWIG.CMakeLists.txt.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ExternalProject_Add(SWIG_project
SOURCE_DIR "@CMAKE_CURRENT_BINARY_DIR@/${PROJECT_NAME}/source"
BUILD_IN_SOURCE 1

URL "http://prdownloads.sourceforge.net/swig/swigwin-4.2.1.zip"
URL "http://prdownloads.sourceforge.net/swig/swigwin-4.3.0.zip"
LOG_DOWNLOAD TRUE

UPDATE_COMMAND ""
Expand Down
12 changes: 6 additions & 6 deletions cmake/docker/almalinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ RUN dnf -y update \
&& rm -rf /var/cache/dnf
CMD [ "/usr/bin/bash" ]

# Install SWIG 4.2.1
# Install SWIG 4.3.0
FROM base AS swig
RUN dnf -y update \
&& dnf -y install pcre2-devel \
&& dnf clean all \
&& rm -rf /var/cache/dnf \
&& wget -q "https://downloads.sourceforge.net/project/swig/swig/swig-4.2.1/swig-4.2.1.tar.gz" \
&& tar xvf swig-4.2.1.tar.gz \
&& rm swig-4.2.1.tar.gz \
&& cd swig-4.2.1 \
&& wget -q "https://downloads.sourceforge.net/project/swig/swig/swig-4.3.0/swig-4.3.0.tar.gz" \
&& tar xvf swig-4.3.0.tar.gz \
&& rm swig-4.3.0.tar.gz \
&& cd swig-4.3.0 \
&& ./configure --prefix=/usr \
&& make -j 4 \
&& make install \
&& cd .. \
&& rm -rf swig-4.2.1
&& rm -rf swig-4.3.0
12 changes: 6 additions & 6 deletions cmake/docker/rockylinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ RUN dnf -y update \
&& rm -rf /var/cache/dnf
CMD [ "/usr/bin/bash" ]

# Install SWIG 4.2.1
# Install SWIG 4.3.0
FROM base AS swig
RUN dnf -y update \
&& dnf -y install pcre2-devel \
&& dnf clean all \
&& rm -rf /var/cache/dnf \
&& wget -q "https://downloads.sourceforge.net/project/swig/swig/swig-4.2.1/swig-4.2.1.tar.gz" \
&& tar xvf swig-4.2.1.tar.gz \
&& rm swig-4.2.1.tar.gz \
&& cd swig-4.2.1 \
&& wget -q "https://downloads.sourceforge.net/project/swig/swig/swig-4.3.0/swig-4.3.0.tar.gz" \
&& tar xvf swig-4.3.0.tar.gz \
&& rm swig-4.3.0.tar.gz \
&& cd swig-4.3.0 \
&& ./configure --prefix=/usr \
&& make -j 4 \
&& make install \
&& cd .. \
&& rm -rf swig-4.2.1
&& rm -rf swig-4.3.0
12 changes: 6 additions & 6 deletions tools/docker/images/almalinux-9.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ RUN dnf -y update \
ENTRYPOINT ["/usr/bin/bash", "-c"]
CMD ["/usr/bin/bash"]

# Install SWIG 4.2.1
# Install SWIG 4.3.0
RUN dnf -y update \
&& dnf -y install pcre2-devel \
&& dnf clean all \
&& rm -rf /var/cache/dnf \
&& wget -q "https://downloads.sourceforge.net/project/swig/swig/swig-4.2.1/swig-4.2.1.tar.gz" \
&& tar xvf swig-4.2.1.tar.gz \
&& rm swig-4.2.1.tar.gz \
&& cd swig-4.2.1 \
&& wget -q "https://downloads.sourceforge.net/project/swig/swig/swig-4.3.0/swig-4.3.0.tar.gz" \
&& tar xvf swig-4.3.0.tar.gz \
&& rm swig-4.3.0.tar.gz \
&& cd swig-4.3.0 \
&& ./configure --prefix=/usr \
&& make -j 4 \
&& make install \
&& cd .. \
&& rm -rf swig-4.2.1
&& rm -rf swig-4.3.0

# Install .Net
# see: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
Expand Down
12 changes: 6 additions & 6 deletions tools/docker/images/rockylinux-9.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ RUN dnf -y update \
ENTRYPOINT ["/usr/bin/bash", "-c"]
CMD ["/usr/bin/bash"]

# Install SWIG 4.2.1
# Install SWIG 4.3.0
RUN dnf -y update \
&& dnf -y install pcre2-devel \
&& dnf clean all \
&& rm -rf /var/cache/dnf \
&& wget -q "https://downloads.sourceforge.net/project/swig/swig/swig-4.2.1/swig-4.2.1.tar.gz" \
&& tar xvf swig-4.2.1.tar.gz \
&& rm swig-4.2.1.tar.gz \
&& cd swig-4.2.1 \
&& wget -q "https://downloads.sourceforge.net/project/swig/swig/swig-4.3.0/swig-4.3.0.tar.gz" \
&& tar xvf swig-4.3.0.tar.gz \
&& rm swig-4.3.0.tar.gz \
&& cd swig-4.3.0 \
&& ./configure --prefix=/usr \
&& make -j 4 \
&& make install \
&& cd .. \
&& rm -rf swig-4.2.1
&& rm -rf swig-4.3.0

# Install .Net
# see: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
Expand Down
2 changes: 1 addition & 1 deletion tools/release/amd64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#FROM quay.io/pypa/manylinux2014_x86_64:latest AS env
# Use dnf
FROM quay.io/pypa/manylinux_2_28_x86_64:latest AS env
# note: CMake 3.30.5 and SWIG 4.2.1 are already installed
# note: CMake 3.31.2 and SWIG 4.3.0 are already installed

#############
## SETUP ##
Expand Down
2 changes: 1 addition & 1 deletion tools/release/arm64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#FROM quay.io/pypa/manylinux2014_aarch64:latest AS env
# Use dnf
FROM quay.io/pypa/manylinux_2_28_aarch64:latest AS env
# note: CMake 3.30.5 and SWIG 4.2.1 are already installed
# note: CMake 3.31.2 and SWIG 4.3.0 are already installed

#############
## SETUP ##
Expand Down

0 comments on commit 9f398f6

Please sign in to comment.