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

Add FORCE_SSE compile option #391

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Conversation

v01dstar
Copy link

@v01dstar v01dstar commented Oct 5, 2024

FORCE_SSE has been deprecated in RocksDB upstream. It recommends using PORTABLE=min_cpu_arch to turn on the compiling optimizations. e.g. PORTABLE=haswell, which will then propagate to the compiler option -march=haswell and then turn on SSE.
However, I guess TiKV can't assume CPU arch. So the best option for TiKV woud be PORTABLE=x86-64-v2. While, current PingCAP CI's gcc version does not support x86-64-v2 yet. For now, we can just add that FORCE_SSE back.

Removing HOMEPAGE_URL https://rocksdb.org/, since it needs CMake > 3.12, while PingCAP CI now only support CMake 3.10

@ti-chi-bot ti-chi-bot bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. dco-signoff: yes Indicates the PR's author has signed the dco. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Oct 5, 2024
@v01dstar v01dstar marked this pull request as ready for review October 8, 2024 03:32
@ti-chi-bot ti-chi-bot bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 8, 2024
Signed-off-by: Yang Zhang <[email protected]>
@ti-chi-bot ti-chi-bot bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Oct 8, 2024
@v01dstar
Copy link
Author

v01dstar commented Oct 8, 2024

/run-all-tests

@glorv
Copy link

glorv commented Oct 8, 2024

/test

Copy link

ti-chi-bot bot commented Oct 8, 2024

@glorv: No presubmit jobs available for tikv/[email protected]

In response to this:

/test

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@glorv
Copy link

glorv commented Oct 8, 2024

/run-all-tests

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Oct 8, 2024
@ti-chi-bot ti-chi-bot bot added the lgtm label Oct 8, 2024
Copy link

ti-chi-bot bot commented Oct 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LykxSassinator, overvenus

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [LykxSassinator,overvenus]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot removed the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Oct 8, 2024
Copy link

ti-chi-bot bot commented Oct 8, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-10-08 06:34:09.604621331 +0000 UTC m=+941405.024834335: ☑️ agreed by LykxSassinator.
  • 2024-10-08 06:47:26.861341404 +0000 UTC m=+942202.281554416: ☑️ agreed by overvenus.

@ti-chi-bot ti-chi-bot bot merged commit e623d2e into tikv:8.10.tikv Oct 8, 2024
5 checks passed
@v01dstar v01dstar deleted the compile-option branch October 8, 2024 07:26
v01dstar added a commit to v01dstar/rocksdb that referenced this pull request Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dco-signoff: yes Indicates the PR's author has signed the dco. lgtm size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants