mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-10 14:50:58 +00:00
Specify C++03 for CI (#1850)
This commit is contained in:
parent
cba65fc51a
commit
b67465b91d
12
.github/workflows/linux-ci-helper.sh
vendored
12
.github/workflows/linux-ci-helper.sh
vendored
@ -53,7 +53,7 @@ INSTALL_AWSCLI_PACKAGES="awscli"
|
|||||||
#-----------------------------------------------------------
|
#-----------------------------------------------------------
|
||||||
# Parameters for configure(set environments)
|
# Parameters for configure(set environments)
|
||||||
#-----------------------------------------------------------
|
#-----------------------------------------------------------
|
||||||
CONFIGURE_OPTIONS="CXXFLAGS='-std=c++11 -DS3FS_PTHREAD_ERRORCHECK=1' --prefix=/usr --with-openssl"
|
CONFIGURE_OPTIONS="CXXFLAGS='-O -std=c++03 -DS3FS_PTHREAD_ERRORCHECK=1' --prefix=/usr --with-openssl"
|
||||||
|
|
||||||
#-----------------------------------------------------------
|
#-----------------------------------------------------------
|
||||||
# OS dependent variables
|
# OS dependent variables
|
||||||
@ -114,11 +114,6 @@ elif [ "${CONTAINER_FULLNAME}" = "centos:centos8" ]; then
|
|||||||
INSTALL_PACKAGES="curl-devel fuse fuse-devel gcc libstdc++-devel gcc-c++ glibc-langpack-en java-11-openjdk-headless libxml2-devel mailcap git automake make openssl-devel attr diffutils curl python3"
|
INSTALL_PACKAGES="curl-devel fuse fuse-devel gcc libstdc++-devel gcc-c++ glibc-langpack-en java-11-openjdk-headless libxml2-devel mailcap git automake make openssl-devel attr diffutils curl python3"
|
||||||
INSTALL_CPPCHECK_OPTIONS="--enablerepo=powertools"
|
INSTALL_CPPCHECK_OPTIONS="--enablerepo=powertools"
|
||||||
|
|
||||||
# [NOTE]
|
|
||||||
# Add -O2 to prevent the warning '_FORTIFY_SOURCE requires compiling with optimization(-O)'.
|
|
||||||
#
|
|
||||||
CONFIGURE_OPTIONS="CXXFLAGS='-O2 -std=c++11 -DS3FS_PTHREAD_ERRORCHECK=1' --prefix=/usr --with-openssl"
|
|
||||||
|
|
||||||
elif [ "${CONTAINER_FULLNAME}" = "centos:centos7" ]; then
|
elif [ "${CONTAINER_FULLNAME}" = "centos:centos7" ]; then
|
||||||
PACKAGE_MANAGER_BIN="yum"
|
PACKAGE_MANAGER_BIN="yum"
|
||||||
PACKAGE_UPDATE_OPTIONS="update -y"
|
PACKAGE_UPDATE_OPTIONS="update -y"
|
||||||
@ -126,11 +121,6 @@ elif [ "${CONTAINER_FULLNAME}" = "centos:centos7" ]; then
|
|||||||
INSTALL_PACKAGES="curl-devel fuse fuse-devel gcc libstdc++-devel gcc-c++ glibc-langpack-en java-11-openjdk-headless libxml2-devel mailcap git automake make openssl-devel attr curl python3 epel-release"
|
INSTALL_PACKAGES="curl-devel fuse fuse-devel gcc libstdc++-devel gcc-c++ glibc-langpack-en java-11-openjdk-headless libxml2-devel mailcap git automake make openssl-devel attr curl python3 epel-release"
|
||||||
INSTALL_CPPCHECK_OPTIONS="--enablerepo=epel"
|
INSTALL_CPPCHECK_OPTIONS="--enablerepo=epel"
|
||||||
|
|
||||||
# [NOTE]
|
|
||||||
# Add -O2 to prevent the warning '_FORTIFY_SOURCE requires compiling with optimization(-O)'.
|
|
||||||
#
|
|
||||||
CONFIGURE_OPTIONS="CXXFLAGS='-O2 -std=c++11 -DS3FS_PTHREAD_ERRORCHECK=1' --prefix=/usr --with-openssl"
|
|
||||||
|
|
||||||
elif [ "${CONTAINER_FULLNAME}" = "fedora:35" ]; then
|
elif [ "${CONTAINER_FULLNAME}" = "fedora:35" ]; then
|
||||||
PACKAGE_MANAGER_BIN="dnf"
|
PACKAGE_MANAGER_BIN="dnf"
|
||||||
PACKAGE_UPDATE_OPTIONS="update -y -qq"
|
PACKAGE_UPDATE_OPTIONS="update -y -qq"
|
||||||
|
Loading…
Reference in New Issue
Block a user