Skip to content

Commit

Permalink
boost 1.86, ffmpeg 7.0.2 등
Browse files Browse the repository at this point in the history
  • Loading branch information
sasgas committed Aug 20, 2024
1 parent fef4de3 commit 156a1fd
Show file tree
Hide file tree
Showing 13 changed files with 67 additions and 67 deletions.
30 changes: 15 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,42 +53,42 @@ ADD install_gcctoolset13.sh /script/
RUN /script/install_gcctoolset13.sh
SHELL [ "scl", "enable", "gcc-toolset-13" ]

ADD install_cmake3283.sh /script/
RUN /script/install_cmake3283.sh
ADD install_cmake3302.sh /script/
RUN /script/install_cmake3302.sh

ADD install_libbacktrace.sh /script/
RUN /script/install_libbacktrace.sh

ADD install_boost183.sh /script/
RUN /script/install_boost183.sh
ENV Boost_DIR /usr/local/boost_1_83_0
ADD install_boost186.sh /script/
RUN /script/install_boost186.sh
ENV Boost_DIR /usr/local/boost_1_86_0

ADD install_cryptopp890.sh /script/
RUN /script/install_cryptopp890.sh

ADD install_googletest1140.sh /script/
RUN /script/install_googletest1140.sh
ADD install_googletest1152.sh /script/
RUN /script/install_googletest1152.sh

ADD install_python.sh /script/
RUN /script/install_python.sh

ADD install_cpptools.sh /script/
RUN /script/install_cpptools.sh

ADD install_cppcheck2130.sh /script/
RUN /script/install_cppcheck2130.sh
ADD install_cppcheck2142.sh /script/
RUN /script/install_cppcheck2142.sh

ADD install_zsh59.sh /script/
RUN /script/install_zsh59.sh

ADD install_ninja1111.sh /script/
RUN /script/install_ninja1111.sh
ADD install_ninja1121.sh /script/
RUN /script/install_ninja1121.sh

ADD install_ffmpeg611.sh /script/
RUN /script/install_ffmpeg611.sh
ADD install_ffmpeg702.sh /script/
RUN /script/install_ffmpeg702.sh

ADD install_golang1221.sh /script/
RUN /script/install_golang1221.sh
ADD install_golang1230.sh /script/
RUN /script/install_golang1230.sh

# Set environment variables
ENV HOME /root
Expand Down
17 changes: 0 additions & 17 deletions install_boost183.sh

This file was deleted.

17 changes: 17 additions & 0 deletions install_boost186.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash -e
set -x #echo on
yum -y install bzip2-devel which valgrind-devel patch; yum -y clean all
cd ~
wget -nv --no-check-certificate https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.gz
tar xzf boost_1_86_0.tar.gz
cd boost_1_86_0

./bootstrap.sh --prefix=/usr/local/boost_1_86_0
./b2 cxxstd=20 --without-python -j$(nproc) install

./bootstrap.sh --prefix=/usr/local/boost_1_86_0_valgrind
./b2 cxxstd=20 --without-python -j$(nproc) valgrind=on install

cd ~
rm -rf boost_*
ccache -C
9 changes: 0 additions & 9 deletions install_cmake3283.sh

This file was deleted.

9 changes: 9 additions & 0 deletions install_cmake3302.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash -e
set -x #echo on
cd ~
wget -nv https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-linux-x86_64.sh --no-check-certificate
chmod +x cmake-3.30.2-linux-x86_64.sh
./cmake-3.30.2-linux-x86_64.sh --skip-license --prefix=/usr/local
cmake --version
cd ~
rm -rf cmake-*
6 changes: 3 additions & 3 deletions install_cppcheck2130.sh → install_cppcheck2142.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
set -x #echo on
cd ~
yum -y install bzip2; yum -y clean all
wget -nv --no-check-certificate --content-disposition https://github.com/danmar/cppcheck/archive/2.13.0.tar.gz
tar xf cppcheck-2.13.0.tar.gz
cd cppcheck-2.13.0
wget -nv --no-check-certificate --content-disposition https://github.com/danmar/cppcheck/archive/2.14.2.tar.gz
tar xf cppcheck-2.14.2.tar.gz
cd cppcheck-2.14.2
mkdir build;cd build;cmake ..;make install -j$(nproc)
cd ~
rm -rf cppcheck*
Expand Down
2 changes: 1 addition & 1 deletion install_cryptopp890.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -e
set -x #echo on
cd ~
wget -nv --no-check-certificate https://www.cryptopp.com/cryptopp890.zip
wget -nv --no-check-certificate https://github.com/weidai11/cryptopp/releases/download/CRYPTOPP_8_9_0/cryptopp890.zip
unzip cryptopp890.zip -d cryptopp
cd cryptopp
sed -e s/march=native/march=x86-64/g GNUmakefile > tmp_make
Expand Down
8 changes: 4 additions & 4 deletions install_ffmpeg611.sh → install_ffmpeg702.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ cd ~
rm -rf x265-3.4*

cd ~
wget -nv --no-check-certificate https://ffmpeg.org/releases/ffmpeg-6.1.1.tar.bz2
tar xf ffmpeg-6.1.1.tar.bz2
cd ffmpeg-6.1.1
wget -nv --no-check-certificate https://ffmpeg.org/releases/ffmpeg-7.0.2.tar.bz2
tar xf ffmpeg-7.0.2.tar.bz2
cd ffmpeg-7.0.2

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --enable-gpl --enable-shared --enable-libxml2 --enable-openssl --enable-version3 --enable-libopenh264 --enable-libopus --enable-libx264 --enable-libx265 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libharfbuzz
make install -j$(nproc)
Expand All @@ -52,5 +52,5 @@ make install -j$(nproc)
ldconfig

cd ~
rm -rf ffmpeg-6.1.1*
rm -rf ffmpeg-7.0.2*
ccache -C
6 changes: 0 additions & 6 deletions install_golang1221.sh

This file was deleted.

6 changes: 6 additions & 0 deletions install_golang1230.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash -e
set -x #echo on
cd ~
wget -nv https://go.dev/dl/go1.23.0.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.23.0.linux-amd64.tar.gz
rm -rf go1.23.0.linux-amd64.tar.gz
8 changes: 4 additions & 4 deletions install_googletest1140.sh → install_googletest1152.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash -e
set -x #echo on
cd ~
wget -nv --content-disposition https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz
tar xvf googletest-1.14.0.tar.gz
cd googletest-1.14.0/
wget -nv --content-disposition https://github.com/google/googletest/archive/refs/tags/v1.15.2.tar.gz
tar xvf googletest-1.15.2.tar.gz
cd googletest-1.15.2/
mkdir build;cd build;cmake ..;make install -j$(nproc)
cd ~
rm -rf googletest-1.14.0.tar.gz googletest*
rm -rf googletest-1.15.2.tar.gz googletest*
ccache -C
14 changes: 7 additions & 7 deletions install_ninja1111.sh → install_ninja1121.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash -e
set -x #echo on
cd ~
wget -nv --no-check-certificate --content-disposition https://github.com/skvadrik/re2c/releases/download/3.0/re2c-3.0.tar.xz
tar xvf re2c-3.0.tar.xz
cd re2c-3.0
wget -nv --no-check-certificate --content-disposition https://github.com/skvadrik/re2c/releases/download/3.1/re2c-3.1.tar.xz
tar xvf re2c-3.1.tar.xz
cd re2c-3.1
mkdir .build && cd .build && cmake .. && cmake --build . -j$(nproc) --target install
cd ~
rm -rf re2c-3.0*
rm -rf re2c-3.1*

wget -nv https://github.com/ninja-build/ninja/archive/refs/tags/v1.11.1.tar.gz --no-check-certificate --content-disposition
tar xvf ninja-1.11.1.tar.gz
cd ninja-1.11.1
wget -nv https://github.com/ninja-build/ninja/archive/refs/tags/v1.12.1.tar.gz --no-check-certificate --content-disposition
tar xvf ninja-1.12.1.tar.gz
cd ninja-1.12.1
mkdir build;cd build;cmake ..;make install -j$(nproc)
cd ~
rm -rf ninja-*
Expand Down
2 changes: 1 addition & 1 deletion install_zsh59.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -x #echo on
yum install -y ncurses-devel; yum clean all -y
sed -i -e 's/Defaults requiretty.*/ #Defaults requiretty/g' /etc/sudoers
cd ~
wget -nv --no-check-certificate --content-disposition https://sourceforge.net/projects/zsh/files/zsh/5.9/zsh-5.9.tar.xz/download
wget -O zsh-5.9.tar.xz -nv --no-check-certificate --content-disposition https://sourceforge.net/projects/zsh/files/zsh/5.9/zsh-5.9.tar.xz/download
tar xvf zsh-5.9.tar.xz
cd zsh-5.9
./configure --with-tcsetpgrp
Expand Down

0 comments on commit 156a1fd

Please sign in to comment.