KaotoIO / kaoto-backend

Backend for the Kaoto project to provide an easy to use integration framework based on Apache Camel.
Apache License 2.0
75 stars 32 forks source link

fix(build): Add flag for native build to use older instructions #853

Closed lordrip closed 1 year ago

lordrip commented 1 year ago

Context

After upgrading to Quarkus v3.2, compiling to native targets use recent CPU features

This commit adds the following flag to recover the previous behavior:

quarkus.native.additional-build-args=-march=compatibility

More info here

fixes: https://github.com/KaotoIO/kaoto-backend/issues/852

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 80.00% and project coverage change: -0.06% :warning:

Comparison is base (fa71d42) 70.68% compared to head (964c491) 70.63%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #853 +/- ## ============================================ - Coverage 70.68% 70.63% -0.06% Complexity 199 199 ============================================ Files 69 69 Lines 3360 3364 +4 Branches 565 565 ============================================ + Hits 2375 2376 +1 - Misses 766 768 +2 - Partials 219 220 +1 ``` | [Files Changed](https://app.codecov.io/gh/KaotoIO/kaoto-backend/pull/853?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=KaotoIO) | Coverage Δ | | |---|---|---| | [...step/parser/camelroute/CamelRouteDeserializer.java](https://app.codecov.io/gh/KaotoIO/kaoto-backend/pull/853?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=KaotoIO#diff-Y2FtZWwtc3VwcG9ydC9zcmMvbWFpbi9qYXZhL2lvL2thb3RvL2JhY2tlbmQvY2FtZWwvc2VydmljZS9zdGVwL3BhcnNlci9jYW1lbHJvdXRlL0NhbWVsUm91dGVEZXNlcmlhbGl6ZXIuamF2YQ==) | `85.36% <75.00%> (-1.13%)` | :arrow_down: | | [...parser/camelroute/CamelRouteStepParserService.java](https://app.codecov.io/gh/KaotoIO/kaoto-backend/pull/853?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=KaotoIO#diff-Y2FtZWwtc3VwcG9ydC9zcmMvbWFpbi9qYXZhL2lvL2thb3RvL2JhY2tlbmQvY2FtZWwvc2VydmljZS9zdGVwL3BhcnNlci9jYW1lbHJvdXRlL0NhbWVsUm91dGVTdGVwUGFyc2VyU2VydmljZS5qYXZh) | `83.33% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/KaotoIO/kaoto-backend/pull/853/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=KaotoIO)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.