mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
Update ci hdf5config.cmake (#6189)
Ubuntu Clang tests had problems when using KyleMayes/install-llvm-action to install Clang 18.1 on Ubuntu 24.04, because the Clang that it installed needed libtinfo5 not present in the Ubuntu 24.04 image. However, Clang 18.1.3 is part of the Ubuntu 24.04 image and is used when CMAKE_C_COMPILER and CMAKE_CXX_COMPILER are set to "clang" and "clang++".
This commit is contained in:
@@ -141,14 +141,7 @@ jobs:
|
||||
- name: Install Dependencies (Linux_Leak)
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt-get install ninja-build doxygen graphviz curl libtinfo5
|
||||
|
||||
- name: add clang to env
|
||||
uses: KyleMayes/install-llvm-action@98e68e10c96dffcb7bfed8b2144541a66b49aa02 # v2.0.8
|
||||
id: setup-clang
|
||||
with:
|
||||
env: true
|
||||
version: '18.1'
|
||||
sudo apt-get install ninja-build doxygen graphviz curl
|
||||
|
||||
- name: Set file base name (Linux_Leak)
|
||||
id: set-file-base
|
||||
@@ -217,6 +210,8 @@ jobs:
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DLIBAEC_USE_LOCALCONTENT:BOOL=OFF")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DZLIB_USE_LOCALCONTENT:BOOL=OFF")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DPLUGIN_USE_LOCALCONTENT:BOOL=OFF")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_C_COMPILER:STRING=clang")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_CXX_COMPILER:STRING=clang++")
|
||||
|
||||
- name: Run CTest (Linux_Leak)
|
||||
run: |
|
||||
@@ -247,14 +242,7 @@ jobs:
|
||||
- name: Install Dependencies (Linux_Address)
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt-get install ninja-build doxygen graphviz curl libtinfo5
|
||||
|
||||
- name: add clang to env
|
||||
uses: KyleMayes/install-llvm-action@98e68e10c96dffcb7bfed8b2144541a66b49aa02 # v2.0.8
|
||||
id: setup-clang
|
||||
with:
|
||||
env: true
|
||||
version: '18.1'
|
||||
sudo apt-get install ninja-build doxygen graphviz curl
|
||||
|
||||
- name: Set file base name (Linux_Address)
|
||||
id: set-file-base
|
||||
@@ -323,6 +311,8 @@ jobs:
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DLIBAEC_USE_LOCALCONTENT:BOOL=OFF")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DZLIB_USE_LOCALCONTENT:BOOL=OFF")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DPLUGIN_USE_LOCALCONTENT:BOOL=OFF")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_C_COMPILER:STRING=clang")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_CXX_COMPILER:STRING=clang++")
|
||||
|
||||
- name: Run CTest (Linux_Address)
|
||||
run: |
|
||||
@@ -353,14 +343,7 @@ jobs:
|
||||
- name: Install Dependencies (Linux_UndefinedBehavior)
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt-get install ninja-build doxygen graphviz curl libtinfo5
|
||||
|
||||
- name: add clang to env
|
||||
uses: KyleMayes/install-llvm-action@98e68e10c96dffcb7bfed8b2144541a66b49aa02 # v2.0.8
|
||||
id: setup-clang
|
||||
with:
|
||||
env: true
|
||||
version: '18.1'
|
||||
sudo apt-get install ninja-build doxygen graphviz curl
|
||||
|
||||
- name: Set file base name (Linux_UndefinedBehavior)
|
||||
id: set-file-base
|
||||
@@ -429,6 +412,8 @@ jobs:
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DLIBAEC_USE_LOCALCONTENT:BOOL=OFF")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DZLIB_USE_LOCALCONTENT:BOOL=OFF")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DPLUGIN_USE_LOCALCONTENT:BOOL=OFF")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_C_COMPILER:STRING=clang")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_CXX_COMPILER:STRING=clang++")
|
||||
|
||||
- name: Run CTest (Linux_UndefinedBehavior)
|
||||
run: |
|
||||
|
||||
@@ -266,14 +266,7 @@ jobs:
|
||||
- name: Install Dependencies (Linux_clang)
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install ninja-build doxygen graphviz curl libtinfo5
|
||||
|
||||
- name: add clang to env
|
||||
uses: KyleMayes/install-llvm-action@98e68e10c96dffcb7bfed8b2144541a66b49aa02 # v2.0.8
|
||||
id: setup-clang
|
||||
with:
|
||||
env: true
|
||||
version: '18.1'
|
||||
sudo apt-get install ninja-build doxygen graphviz curl
|
||||
|
||||
- name: Check Clang Version
|
||||
shell: bash
|
||||
@@ -334,6 +327,8 @@ jobs:
|
||||
-DHDF5_BUILD_DOC=OFF \
|
||||
-DLIBAEC_USE_LOCALCONTENT=OFF \
|
||||
-DZLIB_USE_LOCALCONTENT=OFF \
|
||||
-DCMAKE_C_COMPILER:STRING=clang \
|
||||
-DCMAKE_CXX_COMPILER:STRING=clang++ \
|
||||
-DHDF_TEST_EXPRESS=0 \
|
||||
${{ github.workspace }}/hdfsrc
|
||||
|
||||
|
||||
@@ -738,14 +738,7 @@ jobs:
|
||||
- name: Install Dependencies (Linux_clang)
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install ninja-build doxygen graphviz curl libtinfo5
|
||||
|
||||
- name: add clang to env
|
||||
uses: KyleMayes/install-llvm-action@98e68e10c96dffcb7bfed8b2144541a66b49aa02 # v2.0.8
|
||||
id: setup-clang
|
||||
with:
|
||||
env: true
|
||||
version: '18.1'
|
||||
sudo apt-get install ninja-build doxygen graphviz curl
|
||||
|
||||
- name: check clang version
|
||||
shell: bash
|
||||
@@ -827,6 +820,8 @@ jobs:
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DLIBAEC_USE_LOCALCONTENT:BOOL=OFF")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DZLIB_USE_LOCALCONTENT:BOOL=OFF")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DPLUGIN_USE_LOCALCONTENT:BOOL=OFF")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_C_COMPILER:STRING=clang")
|
||||
set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_CXX_COMPILER:STRING=clang++")
|
||||
|
||||
- name: Run CTest (Linux_clang)
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user