Skip to content

Commit ae1345a

Browse files
committed
[libc++] Add CI job testing on OpenBSD
1 parent 0b1c8fd commit ae1345a

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

libcxx/include/__algorithm/simd_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ _LIBCPP_PUSH_MACROS
2828
#include <__undef_macros>
2929

3030
// TODO: Find out how altivec changes things and allow vectorizations there too.
31-
#if _LIBCPP_STD_VER >= 14 && defined(_LIBCPP_CLANG_VER) && !defined(__ALTIVEC__)
31+
#if _LIBCPP_STD_VER >= 14 && defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER >= 1700 && !defined(__ALTIVEC__)
3232
# define _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS 1
3333
#else
3434
# define _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS 0

libcxx/include/__configuration/compiler.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
// Warn if a compiler version is used that is not supported anymore
3434
// LLVM RELEASE Update the minimum compiler versions
3535
# if defined(_LIBCPP_CLANG_VER)
36-
# if _LIBCPP_CLANG_VER < 1700
37-
# warning "Libc++ only supports Clang 17 and later"
36+
# if _LIBCPP_CLANG_VER < 1600
37+
# warning "Libc++ only supports Clang 16 and later"
3838
# endif
3939
# elif defined(_LIBCPP_APPLE_CLANG_VER)
4040
# if _LIBCPP_APPLE_CLANG_VER < 1500

libcxx/utils/ci/buildkite-pipeline.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,18 @@ steps:
173173
os: freebsd
174174
<<: *common
175175

176+
- group: ':openbsd: OpenBSD'
177+
steps:
178+
- label: OpenBSD -current amd64
179+
command: libcxx/utils/ci/run-buildbot generic-cxx17
180+
env:
181+
CC: clang
182+
CXX: clang++
183+
agents:
184+
queue: libcxx-builders
185+
os: openbsd
186+
<<: *common
187+
176188
- group: ':android: Android'
177189
steps:
178190
- label: Android 5.0, x86 NDK

0 commit comments

Comments
 (0)