Skip to content

Commit

Permalink
rm gcc-9, gcc-10, clang-10, clang-11
Browse files Browse the repository at this point in the history
* drop from CI
* rm macros
* update README.md
  • Loading branch information
janondrusek committed Oct 23, 2023
1 parent 17fecea commit cf73548
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 173 deletions.
160 changes: 0 additions & 160 deletions .github/workflows/libunifex-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,82 +16,6 @@ jobs:
fail-fast: false
matrix:
config:
- {
name: "Linux GCC 9 Debug (C++17)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: Debug,
cc: "gcc-9", cxx: "g++-9"
}
- {
name: "Linux GCC 9 Optimised (C++17)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: RelWithDebInfo,
cc: "gcc-9", cxx: "g++-9"
}
- {
name: "Linux GCC 9 Debug (C++20)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: Debug,
cc: "gcc-9", cxx: "g++-9",
cmake_args: "-D CMAKE_CXX_STANDARD:STRING=20"
}
- {
name: "Linux GCC 9 Optimised (C++20)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: RelWithDebInfo,
cc: "gcc-9", cxx: "g++-9",
cmake_args: "-D CMAKE_CXX_STANDARD:STRING=20"
}
- {
name: "Linux GCC 10 Debug (C++17)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: Debug,
cc: "gcc-10", cxx: "g++-10"
}
- {
name: "Linux GCC 10 Optimised (C++17)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: RelWithDebInfo,
cc: "gcc-10", cxx: "g++-10"
}
- {
name: "Linux GCC 10 Debug (C++20)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: Debug,
cc: "gcc-10", cxx: "g++-10",
cmake_args: "-D CMAKE_CXX_STANDARD:STRING=20"
}
- {
name: "Linux GCC 10 Optimised (C++20)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: RelWithDebInfo,
cc: "gcc-10", cxx: "g++-10",
cmake_args: "-D CMAKE_CXX_STANDARD:STRING=20"
}
- {
name: "Linux GCC 10 Debug (C++20) w/coroutines", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: Debug,
cc: "gcc-10", cxx: "g++-10",
cmake_args: "-D CMAKE_CXX_STANDARD:STRING=20 -D CMAKE_CXX_FLAGS:STRING=-fcoroutines"
}
- {
name: "Linux GCC 10 Optimised (C++20) w/coroutines", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: RelWithDebInfo,
cc: "gcc-10", cxx: "g++-10",
cmake_args: "-D CMAKE_CXX_STANDARD:STRING=20 -D CMAKE_CXX_FLAGS:STRING=-fcoroutines"
}
- {
name: "Linux GCC 11 Debug (C++17)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
Expand Down Expand Up @@ -182,70 +106,6 @@ jobs:
cc: "gcc-13", cxx: "g++-13",
cmake_args: "-D CMAKE_CXX_STANDARD:STRING=20"
}
- {
name: "Linux Clang 10 Debug (C++17)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: Debug,
cc: "clang-10", cxx: "clang++-10",
cmake_args: "-D \"CMAKE_CXX_FLAGS:STRING=-fsanitize=address -fno-omit-frame-pointer\""
}
- {
name: "Linux Clang 10 Optimised (C++17)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: RelWithDebInfo,
cc: "clang-10", cxx: "clang++-10",
cmake_args: "-D \"CMAKE_CXX_FLAGS:STRING=-fsanitize=address -fno-omit-frame-pointer\""
}
- {
name: "Linux Clang 10 Debug (C++20)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: Debug,
cc: "clang-10", cxx: "clang++-10",
cmake_args: "-D CMAKE_CXX_STANDARD:STRING=20 -D \"CMAKE_CXX_FLAGS:STRING=-fsanitize=address -fno-omit-frame-pointer\""
}
- {
name: "Linux Clang 10 Optimised (C++20)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: RelWithDebInfo,
cc: "clang-10", cxx: "clang++-10",
cmake_args: "-D CMAKE_CXX_STANDARD:STRING=20 -D \"CMAKE_CXX_FLAGS:STRING=-fsanitize=address -fno-omit-frame-pointer\""
}
- {
name: "Linux Clang 11 Debug (C++17)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: Debug,
cc: "clang-11", cxx: "clang++-11",
cmake_args: "-D \"CMAKE_CXX_FLAGS:STRING=-fsanitize=address -fno-omit-frame-pointer\""
}
- {
name: "Linux Clang 11 Optimised (C++17)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: RelWithDebInfo,
cc: "clang-11", cxx: "clang++-11",
cmake_args: "-D \"CMAKE_CXX_FLAGS:STRING=-fsanitize=address -fno-omit-frame-pointer\""
}
- {
name: "Linux Clang 11 Debug (C++20)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: Debug,
cc: "clang-11", cxx: "clang++-11",
cmake_args: "-D CMAKE_CXX_STANDARD:STRING=20 -D \"CMAKE_CXX_FLAGS:STRING=-fsanitize=address -fno-omit-frame-pointer\""
}
- {
name: "Linux Clang 11 Optimised (C++20)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
io_sys: io_uring,
build_type: RelWithDebInfo,
cc: "clang-11", cxx: "clang++-11",
cmake_args: "-D CMAKE_CXX_STANDARD:STRING=20 -D \"CMAKE_CXX_FLAGS:STRING=-fsanitize=address -fno-omit-frame-pointer\""
}
- {
name: "Linux Clang 12 Debug (C++17)", artifact: "Linux.tar.xz",
os: ubuntu-20.04,
Expand Down Expand Up @@ -556,26 +416,6 @@ jobs:
)
endif()
- name: Install Clang 10
id: install_clang_10
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-10' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 10
- name: Install Clang 11
id: install_clang_11
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-11' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 11
- name: Install Clang 12
id: install_clang_12
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-12' )
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ This project is still evolving and should be considered experimental in nature.
A recent compiler that supports C++17 or later. Libunifex is known to work
with the following compilers:

* GCC, 9.x and later
* Clang, 10.x and later
* GCC, 11.x and later
* Clang, 12.x and later
* MSVC 2019.6 and later

This library also supports C++20 coroutines. You will need to compile with
Expand Down
7 changes: 0 additions & 7 deletions include/unifex/config.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,6 @@
#define UNIFEX_NO_INLINE
#endif

#if defined(__GNUC__) && !defined(__clang__) && (__GNUC__ == 9)
#define UNIFEX_INGORE_MAYBE_UNINITIALIZED_IN_GCC_9 \
UNIFEX_DIAGNOSTIC_IGNORE("-Wmaybe-uninitialized")
#else
#define UNIFEX_INGORE_MAYBE_UNINITIALIZED_IN_GCC_9
#endif

#if defined(__GNUC__) || defined(__clang__)
#define UNIFEX_ASSUME_UNREACHABLE __builtin_unreachable()
#elif defined(_MSC_VER)
Expand Down
4 changes: 0 additions & 4 deletions include/unifex/v1/async_scope.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,13 @@ struct _attach_op_base final {

template <typename Receiver>
struct _attach_op_base<Receiver>::type {
UNIFEX_DIAGNOSTIC_PUSH
UNIFEX_INGORE_MAYBE_UNINITIALIZED_IN_GCC_9

template <typename Receiver2>
explicit type(inplace_stop_token stoken, Receiver2&& receiver) noexcept(
std::is_nothrow_constructible_v<Receiver, Receiver2>)
: stoken_(stoken)
, receiver_(static_cast<Receiver2&&>(receiver)) {}

UNIFEX_DIAGNOSTIC_POP

type(type&&) = delete;

~type() = default;
Expand Down

0 comments on commit cf73548

Please sign in to comment.