!6643 支持openEuler24.03LTS编译、运行

Merge pull request !6643 from zzh/fix_1
This commit is contained in:
opengauss_bot
2024-11-12 09:30:38 +00:00
committed by Gitee
2 changed files with 8 additions and 0 deletions

View File

@ -466,6 +466,10 @@ function install_gaussdb()
CMAKE_OPT="$CMAKE_OPT -DENABLE_OPENEULER_MAJOR=ON"
fi
if [[ -e "/etc/openEuler-release" && "$(cat /etc/openEuler-release | awk '{print $3}')" == "24.03" ]]; then
CMAKE_OPT="$CMAKE_OPT -DENABLE_OPENEULER_MAJOR=ON"
fi
if [ "${PLATFORM_ARCH}"x == "loongarch64"x ]; then
CMAKE_OPT="$CMAKE_OPT -DENABLE_BBOX=OFF -DENABLE_JEMALLOC=OFF"
fi

4
configure vendored
View File

@ -3428,6 +3428,10 @@ if [[ "$(cat /etc/system-release)" =~ ^"openEuler release 22.03".* ]]; then
with_openeuler_major=yes
fi
if [[ "$(cat /etc/system-release)" =~ ^"openEuler release 24.03".* ]]; then
with_openeuler_major=yes
fi
if [[ "$(cat /etc/system-release)" =~ ^"CSIOS release 1.0".* ]]; then
with_openeuler_major=yes
fi