1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-01 13:21:13 +02:00
Commit Graph

427 Commits

Author SHA1 Message Date
b581e45969 Fix scripts/make_release.sh
- Make sure to commit `MODULE.bazel`
- Fail before tagging if the repo has unstaged or uncommited changes.
2025-05-06 09:55:20 +00:00
6732d75eb1 Revert "Don't force CXX_STANDARD for Google Test."
This reverts commit 07a73312ba.
2025-05-06 09:53:41 +00:00
07a73312ba Don't force CXX_STANDARD for Google Test.
Fixes #393 .
2025-05-06 11:28:53 +02:00
dacfd48555 Update MODULE.bazel
Fixes #394
2025-05-06 11:22:41 +02:00
1dcaab112b Merge pull request #383 from cclauss/patch-1
Run GitHub Workflow aarch64_linux_bazel on an ARM processor
2025-05-06 10:38:55 +02:00
5c038bfecf Run GitHub Workflow arch64_linux_bazel on an ARM processor
[Standard GitHub-hosted runners for public repositories](https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories) --> `ubuntu-24.04-arm`
2025-05-05 17:25:53 +01:00
14b80e8fe0 Release v0.10.0 v0.10.0 2025-05-02 15:10:27 +00:00
59b9b8cea6 Fixed asimd detection on OS X 15.3 (#392)
* MAINT: fixed asimd detection
2025-04-22 11:55:53 +02:00
27a978c307 Bump docker/setup-qemu-action from 2 to 3 in the github-actions group
Bumps the github-actions group with 1 update: [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action).


Updates `docker/setup-qemu-action` from 2 to 3
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 15:38:56 +01:00
c192616fde Keep GitHub Actions up to date with GitHub's Dependabot
* [Keeping your actions up to date with Dependabot](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot)
* [Configuration options for the dependabot.yml file - package-ecosystem](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem)
2025-02-26 14:25:46 +01:00
47cd9019ac Merge pull request #385 from cclauss/codespell
Fix typos discovered by codespell
2025-02-26 13:54:28 +01:00
dcddc4a2cb Fix typos discovered by codespell 2025-02-26 13:37:34 +01:00
0189e5bb92 Merge pull request #386 from google/fix_formatting
[NFC] fix formatting
2025-02-26 13:31:36 +01:00
c307dc5963 [NFC] fix formatting 2025-02-26 10:59:45 +00:00
7d06d41064 Merge pull request #382 from google/add_armv7
[bazel] Add armv7 and use alias for cpus
2024-12-18 16:47:31 +01:00
91c50b689d [bazel] Add armv7 and use alias for cpus 2024-12-18 15:18:09 +00:00
5cfee57d36 Merge pull request #381 from google/remove_platforms_bzl
[bazel] inline platforms and remove `platforms.bzl`

note: replace `PLATFORM_CPU_X86_64` by `"@platforms//cpu:x86_32", "@platforms//cpu:x86_64"`
2024-12-18 11:48:22 +01:00
fa7d5014ef Missed another PLATFORM_OS_WINDOWS : ( 2024-12-18 10:36:16 +00:00
613745f472 Missed one PLATFORM_OS_WINDOWS 2024-12-18 10:33:45 +00:00
fe267192ac [bazel] inline platforms and remove platforms.bzl 2024-12-18 10:30:09 +00:00
4f45bf2669 Merge pull request #379 from google/fix_windows_platform
[bazel] Use a macro instead of @platforms//os:windows
2024-12-17 14:50:39 +01:00
44bee1736e [bazel] Use a macro instead of @platforms//os:windows 2024-12-17 13:35:08 +00:00
65b952aff1 Merge pull request #374 from google/fix_overwrite_backslash_zero_in_list_cpu_features
Fix allocator bump in printf string allocation
2024-12-17 14:26:09 +01:00
3a989ba186 Fix allocator bump in printf string allocation
Fixes #373.
2024-12-17 12:57:52 +00:00
99b7c591fa Merge pull request #378 from Mizux/main
ci: Remove linaro toolchains support
2024-12-16 13:32:13 +01:00
df0623af9b ci: Fix cmake/ci/Makefile for bootlin targets 2024-12-16 11:31:41 +01:00
ea4bdee2da ci: Remove linaro toolchains support
All toolchains have not been updated since 2019...
Also linaro website do not advertise them
ref: https://www.linaro.org/downloads
2024-12-16 11:31:13 +01:00
744e4511cb Merge pull request #377 from Mizux/main
Fix ci
2024-12-16 10:26:18 +01:00
63fb36964c Merge pull request #376 from Mizux/bazel_windows
* ci: Add amd64 windows bazel job

* bazel: Fix windows build

* bazel: disable ndk_compat on windows

* readme: Add and64_windows_bazel badge
2024-12-11 20:46:14 +01:00
1540d04b08 readme: Add and64_windows_bazel badge 2024-12-11 19:51:29 +01:00
78e6312a90 ci: Fix power ppc-440fp qemu test 2024-12-11 19:42:08 +01:00
79a95b1f60 script: bump qemu to 9.0.4
note: qemu 9.1.2 currently segfault with aarch64be
ref: https://gitlab.com/qemu-project/qemu/-/issues/2580
2024-12-11 19:42:08 +01:00
782c79ff1d ci: rework toolchain Dockerfile 2024-12-11 19:42:08 +01:00
f2453bd5f8 script: Bump bootlin toolchains 2024-12-11 15:11:49 +01:00
b790d198f9 bazel: disable ndk_compat on windows 2024-12-11 11:49:57 +01:00
6ae01f1e85 bazel: Fix windows build 2024-12-11 11:49:33 +01:00
fc5d64a56d ci: Add amd64 windows bazel job 2024-12-11 10:00:29 +01:00
bce3978813 [bazel] Add missing platform dependency (#375)
This is required with Bazel 8 that drops the support for WORKSPACE file.
2024-12-10 13:13:09 +01:00
0bc979d7ca cmake: Remove useless check for CMP0077 (#372)
cpu_features requires CMake 3.13 which sets CMP0077
always to NEW.
2024-12-09 11:45:22 +01:00
3db721edf9 Bump actions/checkout to v4 (#371)
Signed-off-by: tinyboxvk <viruskiller@protonmail.com>
2024-11-12 14:08:10 +01:00
aabbd16864 Add OpenBSD Arm64 support (#367) 2024-11-08 11:14:32 +01:00
7a8174a371 Switch to cpu_features to bazelmod (#365) 2024-09-13 14:31:12 +02:00
c6a22fc617 Remove trailing whitespace 2024-09-13 14:29:54 +02:00
164bcd7eb0 Move c99 flag from BUILD file to bazel cmd line (#366)
* Move `c99` flag from BUILD file to bazel cmd line

Requiring c99 for everyone breaks downstream users.

* Remove requiring bzlmod
2024-09-13 11:53:30 +02:00
747d711a36 Add MODULE.bazel.lock to .gitignore
New versions of Bazel create this file whether we use bzlmod or not.
2024-09-13 11:37:55 +02:00
8e60d3f9be Forward fix cpu_features_macros.h (#364)
This is a fix for https://github.com/google/cpu_features/pull/363 . The preprocessor check must be done in two steps.
2024-09-10 13:12:11 +02:00
6aecde59d3 Fix: Windows does not define __ARM_NEON (#363)
* Windows does not define __ARM_NEON

However, Windows requires NEON to work, so assume it is there if build with MSVC

* Clarify NEON availability in MSVC targeting arm64

* Fix Formatting
2024-09-05 16:23:19 +02:00
c5fc491337 Add CI MacOS Arm64 support (#356)
* Add CI MacOS Arm64 support

* Update CMAKE_INSTALL_PREFIX

* Rename aarch64 to arm64 for macos github workflows

* Add comment after macos-latest
2024-08-29 10:48:33 +02:00
881690080d Fix bazel build testing for macos arm64 (#358) 2024-08-28 11:28:12 +02:00
c6bb479895 Update amd64 macos workflow to use X86 arch (#355)
* Update AMD64 macos workflow to use X86 arch

* Set macos-13 for nmake in amd64_macos_cmake.yml

* Add comment after macos-13
2024-08-28 10:43:24 +02:00