Skip to content

Commit 26ef598

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

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,19 @@ steps:
173173
os: freebsd
174174
<<: *common
175175

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

0 commit comments

Comments
 (0)