Skip to content

Commit

Permalink
Merge pull request #3214 from eseiler/fix/perf
Browse files Browse the repository at this point in the history
[FIX] Disable SeqAn2 OpenMP benchmark on clang
  • Loading branch information
eseiler authored Nov 16, 2023
2 parents 5cbcaf4 + d546f4b commit 4c10afc
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ void seqan2_affine_dna4_parallel(benchmark::State & state)
BENCHMARK_TEMPLATE(seqan2_affine_dna4_parallel, score)->UseRealTime();
#endif // SEQAN3_HAS_SEQAN2

#if defined(SEQAN3_HAS_SEQAN2) && defined(_OPENMP)
// Crashes with libc++
#if defined(SEQAN3_HAS_SEQAN2) && defined(_OPENMP) && !defined(_LIBCPP_VERSION)
template <typename result_t>
void seqan2_affine_dna4_omp_for(benchmark::State & state)
{
Expand Down Expand Up @@ -201,7 +202,7 @@ void seqan2_affine_dna4_omp_for(benchmark::State & state)

BENCHMARK_TEMPLATE(seqan2_affine_dna4_omp_for, score)->UseRealTime();
BENCHMARK_TEMPLATE(seqan2_affine_dna4_omp_for, trace)->UseRealTime();
#endif // defined(SEQAN3_HAS_SEQAN2) && defined(_OPENMP)
#endif // defined(SEQAN3_HAS_SEQAN2) && defined(_OPENMP) && !defined(_LIBCPP_VERSION)

// ============================================================================
// instantiate tests
Expand Down

1 comment on commit 4c10afc

@vercel
Copy link

@vercel vercel bot commented on 4c10afc Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

seqan3 – ./

seqan3.vercel.app
seqan3-seqan.vercel.app
seqan3-git-master-seqan.vercel.app

Please sign in to comment.