Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFRA] Add IntelLLVM CI #3225

Merged
merged 3 commits into from
Jan 30, 2024
Merged

[INFRA] Add IntelLLVM CI #3225

merged 3 commits into from
Jan 30, 2024

Conversation

eseiler
Copy link
Member

@eseiler eseiler commented Jan 23, 2024

Second commit:

The result of

to_little_endian(*reinterpret_cast<uint16_t const *>(&header[10]))

is erroneous due to some optimization (the Intel compiler uses some more aggressive optimization by default). The cast is probably undefined (or at least unspecified) behavior.

Usually, this is because the value is not properly bound to in in

template <std::integral type>
constexpr type to_little_endian(type const in) noexcept

This also occasionally happens with other compilers.

My solution is to either use the left or right byte, depending on the endianness. Since we cast to uint16_t, and only compare one byte, the correct byte should be either of the two. Currently, we do not officially support / test big endian archs.

Copy link

vercel bot commented Jan 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
seqan3 ✅ Ready (Inspect) Visit Preview Jan 30, 2024 11:25am

@seqan-actions seqan-actions added lint [INTERNAL] signal for linting and removed lint [INTERNAL] signal for linting labels Jan 23, 2024
Copy link

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5c321ec) 98.17% compared to head (5ea70ac) 98.17%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3225   +/-   ##
=======================================
  Coverage   98.17%   98.17%           
=======================================
  Files         269      269           
  Lines       11854    11854           
=======================================
  Hits        11638    11638           
  Misses        216      216           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@seqan-actions seqan-actions added lint [INTERNAL] signal for linting and removed lint [INTERNAL] signal for linting labels Jan 23, 2024
@seqan-actions seqan-actions added lint [INTERNAL] signal for linting and removed lint [INTERNAL] signal for linting labels Jan 24, 2024
@seqan-actions seqan-actions added lint [INTERNAL] signal for linting and removed lint [INTERNAL] signal for linting labels Jan 24, 2024
@seqan-actions seqan-actions added lint [INTERNAL] signal for linting and removed lint [INTERNAL] signal for linting labels Jan 24, 2024
@seqan-actions seqan-actions added lint [INTERNAL] signal for linting and removed lint [INTERNAL] signal for linting labels Jan 24, 2024
@eseiler eseiler requested a review from SGSSGene January 24, 2024 16:41
@eseiler eseiler disabled auto-merge January 30, 2024 11:22
@eseiler eseiler enabled auto-merge (squash) January 30, 2024 11:23
@seqan-actions seqan-actions added lint [INTERNAL] signal for linting and removed lint [INTERNAL] signal for linting labels Jan 30, 2024
@eseiler eseiler merged commit dc7f41c into seqan:master Jan 30, 2024
34 checks passed
@eseiler eseiler deleted the infra/intel_ci branch January 30, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants