Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
b3ef4ef
Avoid leaking internal headers for ppc (#164)
gchatelet Jun 30, 2021
5492c4c
CPU features for AMD (#165)
toor1245 Jun 30, 2021
38213bd
ci: Add FreeBSD GitHub workflows (#167)
Mizux Jun 30, 2021
06fdc0a
cmake: Use CTest default (Fix #169) (#170)
Mizux Jun 30, 2021
1199437
Add support for FreeBSD on x86 (#163)
gchatelet Jul 2, 2021
b003173
Fix broken table in README.md
gchatelet Jul 2, 2021
dcac7d3
Update gitignore (#173)
toor1245 Jul 6, 2021
628c50e
Update README.md (#176)
Mizux Jul 7, 2021
f70dc46
Add separator to CpuFeatures_StringView_HasWord (#174)
gchatelet Oct 18, 2021
2939ece
add BUNDLE DESTINATION (#177)
SpaceIm Oct 18, 2021
0925f69
Add cache info for new AMD CPUs (0x8000001D) (#171)
toor1245 Oct 18, 2021
b324a70
Showcase community bindings (#180)
gchatelet Oct 18, 2021
4a81f37
[NFC] encapsulate fake cpu instance in x86 test
gchatelet Oct 20, 2021
32b49eb
Fixes wrong cache detection of old processors (#183)
gchatelet Oct 20, 2021
cf589a2
[NFC] Change implementation of FillX86BrandString (#181)
gchatelet Oct 21, 2021
769287c
Fixes #185 (#187)
gchatelet Oct 25, 2021
545b2e8
cmake: Use of CMAKE_POSITION_INDEPENDENT_CODE instead of BUILD_PIC (F…
Mizux Oct 25, 2021
0f07e4b
.gitignore: Add build_cross/
Mizux Jun 25, 2021
239c2e5
ci(appveyor): Add VS 2019 job
Mizux Jun 25, 2021
8971bf0
tools: Rework cross compilation scripts
Mizux Oct 25, 2021
440452e
ci(travis): adapt it to the new run_integration.sh
Mizux Oct 25, 2021
d425266
ci(github): Add workflows
Mizux Oct 25, 2021
55ac9f0
Set CTest output on failure (#189)
gchatelet Oct 26, 2021
7bd206a
Fix memory overflow
gchatelet Oct 26, 2021
5d871e7
ci: Migrate FreeBSD to macos-10.15 virtual env (#191)
Mizux Oct 26, 2021
c5659bf
Override CacheInfo only if new data is available via Deterministic Ca…
gchatelet Oct 26, 2021
a707bef
cmake: Fix enabling ndk_compat
Mizux Oct 27, 2021
9178459
ci: Drop use of Travis-CI and Appveyor
Mizux Oct 26, 2021
06abc90
ci: Fix windows workflow filename
Mizux Oct 26, 2021
8e5c298
Update README.md
Mizux Oct 27, 2021
0dd8b41
Update README.md (#193)
gchatelet Oct 27, 2021
deb2a61
New code layout - breaking change in cpu_features_macros.h (#194)
gchatelet Oct 28, 2021
f96d5f7
NFC remove reference to libc memory functions
gchatelet Oct 28, 2021
ca84b91
scripts: Fixup for run_integration.sh
Mizux Oct 27, 2021
ccc3a51
ci: Add docker based test framework
Mizux Oct 25, 2021
1601db5
ci: Update Linux jobs to run inside a docker container.
Mizux Oct 27, 2021
5ef0db4
Update README.md
gchatelet Oct 28, 2021
5695cc4
Update uarch detection for Intel processors (#184)
toor1245 Oct 29, 2021
400d4f2
Fix CpuFeatures_memchr to actually use the provided size argument
gchatelet Oct 29, 2021
6fd9a8c
Make getter/setter static so they don't leak
gchatelet Oct 29, 2021
990c55c
Silence unsused parameters
gchatelet Oct 29, 2021
f69a258
make copy and equals inline headers
gchatelet Oct 29, 2021
ebcdfca
Fix missing header
gchatelet Oct 29, 2021
fc52c64
fix googletest download
toor1245 Nov 16, 2021
9d34e6a
Fix #205
gchatelet Nov 22, 2021
69d3993
Fix arm64 detection precedence in CMakeLists.txt (#209)
gchatelet Nov 30, 2021
5ed8ef4
[NFC][x86] Read all cpuid leaves at once (#213)
gchatelet Jan 14, 2022
aa642e5
[NFC] Avoid polluting global scope
gchatelet Jan 14, 2022
1499163
[x86] Embed brand_string and mark FillX86BrandString as deprecated (#…
gchatelet Jan 14, 2022
2f5a7bf
Rename 'master' branch into 'main' (#219)
gchatelet Jan 24, 2022
f1801f0
Fix list_cpu_features.exe does not detect SSE42 on Xeon X5650 (Window…
Jan 31, 2022
5f5e6d6
Fix a getauxval comment and expand the Krait idiv workaround (#206)
rprichard Feb 1, 2022
e38dc6d
[NFC] Add bazel support to cpu_features (#222)
gchatelet Feb 3, 2022
cef44d0
Fix windows amd64 ci
Feb 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Project Files unneeded by docker
ci/Makefile
ci/docker
ci/doc
ci/cache
.git
.gitignore
.github
.dockerignore
.clang-format
appveyor.yml
.travis.yml
AUTHORS
CONTRIBUTING.md
CONTRIBUTORS
LICENSE
README.md

build/
cmake_build/
build_cross/
cmake-build-*/
out/

# Editor directories and files
.idea/
.vagrant/
.vscode/
.vs/
*.user
*.swp
28 changes: 28 additions & 0 deletions .github/workflows/aarch64_linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: aarch64 Linux

on:
push:
pull_request:
schedule:
# min hours day(month) month day(week)
- cron: '0 0 7,22 * *'

jobs:
# Building using the github runner environement directly.
aarch64:
runs-on: ubuntu-latest
strategy:
matrix:
targets: [
[aarch64-linux-gnu],
[aarch64_be-linux-gnu]
]
fail-fast: false
env:
TARGET: ${{ matrix.targets[0] }}
steps:
- uses: actions/checkout@v2
- name: Build
run: make --directory=ci ${TARGET}_build
- name: Test
run: make --directory=ci ${TARGET}_test
22 changes: 22 additions & 0 deletions .github/workflows/amd64_freebsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: amd64 FreeBSD

on:
push:
pull_request:
schedule:
# min hours day(month) month day(week)
- cron: '0 0 7,22 * *'

jobs:
# Only MacOS hosted runner provides virtualisation with vagrant/virtualbox installed.
# see: https://github.com/actions/virtual-environments/tree/main/images/macos
freebsd:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- name: vagrant version
run: Vagrant --version
- name: VirtualBox version
run: virtualbox -h
- name: Build
run: cd ci/vagrant/freebsd && vagrant up
31 changes: 31 additions & 0 deletions .github/workflows/amd64_linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: amd64 Linux

on:
push:
pull_request:
schedule:
# min hours day(month) month day(week)
- cron: '0 0 7,22 * *'

jobs:
# Building using the github runner environement directly.
make:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Env
run: make --directory=ci amd64_env
- name: Devel
run: make --directory=ci amd64_devel
- name: Build
run: make --directory=ci amd64_build
- name: Test
run: make --directory=ci amd64_test
- name: Install Env
run: make --directory=ci amd64_install_env
- name: Install Devel
run: make --directory=ci amd64_install_devel
- name: Install Build
run: make --directory=ci amd64_install_build
- name: Install Test
run: make --directory=ci amd64_install_test
43 changes: 43 additions & 0 deletions .github/workflows/amd64_macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: amd64 macOS

on:
push:
pull_request:
schedule:
# min hours day(month) month day(week)
- cron: '0 0 7,22 * *'

jobs:
# Building using the github runner environement directly.
xcode:
runs-on: macos-latest
env:
CTEST_OUTPUT_ON_FAILURE: 1
steps:
- uses: actions/checkout@v2
- name: Check cmake
run: cmake --version
- name: Configure
run: cmake -S. -Bbuild -G "Xcode" -DCMAKE_CONFIGURATION_TYPES=Release
- name: Build
run: cmake --build build --config Release --target ALL_BUILD -v
- name: Test
run: cmake --build build --config Release --target RUN_TESTS -v
- name: Install
run: cmake --build build --config Release --target install -v
make:
runs-on: macos-latest
env:
CTEST_OUTPUT_ON_FAILURE: 1
steps:
- uses: actions/checkout@v2
- name: Check cmake
run: cmake --version
- name: Configure
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build --target all -v
- name: Test
run: cmake --build build --target test -v
- name: Install
run: cmake --build build --target install -v
25 changes: 25 additions & 0 deletions .github/workflows/amd64_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: amd64 Windows

on:
push:
pull_request:
schedule:
# min hours day(month) month day(week)
- cron: '0 0 7,22 * *'

jobs:
# Building using the github runner environement directly.
msvc:
runs-on: windows-latest
env:
CTEST_OUTPUT_ON_FAILURE: 1
steps:
- uses: actions/checkout@v2
- name: Configure
run: cmake -S. -Bbuild -G "Visual Studio 17 2022" -DCMAKE_CONFIGURATION_TYPES=Release
- name: Build
run: cmake --build build --config Release --target ALL_BUILD -- /maxcpucount
- name: Test
run: cmake --build build --config Release --target RUN_TESTS -- /maxcpucount
- name: Install
run: cmake --build build --config Release --target INSTALL -- /maxcpucount
31 changes: 31 additions & 0 deletions .github/workflows/arm_linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: arm Linux

on:
push:
pull_request:
schedule:
# min hours day(month) month day(week)
- cron: '0 0 7,22 * *'

jobs:
# Building using the github runner environement directly.
arm:
runs-on: ubuntu-latest
strategy:
matrix:
targets: [
[arm-linux-gnueabihf],
[armv8l-linux-gnueabihf],
[arm-linux-gnueabi],
[armeb-linux-gnueabihf],
[armeb-linux-gnueabi]
]
fail-fast: false
env:
TARGET: ${{ matrix.targets[0] }}
steps:
- uses: actions/checkout@v2
- name: Build
run: make --directory=ci ${TARGET}_build
- name: Test
run: make --directory=ci ${TARGET}_test
4 changes: 2 additions & 2 deletions .github/workflows/clang_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Fetch origin/master
run: git fetch origin master
- name: Fetch origin/main
run: git fetch origin main
- name: List of changed file(s)
run: git diff --name-only FETCH_HEAD

Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/mips_linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: mips Linux

on:
push:
pull_request:
schedule:
# min hours day(month) month day(week)
- cron: '0 0 7,22 * *'

jobs:
# Building using the github runner environement directly.
mips:
runs-on: ubuntu-latest
strategy:
matrix:
targets: [
[mips32],
[mips32el],
[mips64],
[mips64el]
]
fail-fast: false
env:
TARGET: ${{ matrix.targets[0] }}
steps:
- uses: actions/checkout@v2
- name: Build
run: make --directory=ci ${TARGET}_build
- name: Test
run: make --directory=ci ${TARGET}_test
17 changes: 16 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
cmake_build/
# Build folders
build/
cmake_build/
build_cross/
cmake-build-*/
out/

# IDEs / CI temp files
.idea/
.vagrant/
.vscode/
.vs/
*.swp

# Bazel artifacts
**/bazel-*

# Per-user bazelrc files
user.bazelrc
Loading