aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2022-07-27Use full syntax for ADD_TEST CMake command (#107)Marat Dukhan
Make possible to cross-run tests with CMAKE_CROSSCOMPILING_EMULATOR
2022-07-05Always check for x86-ish with the same regex. (#93)Billy O'Neal
On line 68, and in most places, "intel-like" is checked with `i[3-6]86|AMD64|x86(_64)?`, but in these 3 places the (_x64)? was missing. First reported as https://github.com/microsoft/vcpkg/issues/24713
2022-07-05Enable win-arm64 (#82)gaborkertesz-linaro
This patch implements the required APIs for the new win-arm64 platform by reading topology information via Windows API. Build config: cmake . -A ARM64
2022-06-17Define namespace prefixed alias for cpuinfo in the CMake build (#89)Petr Hosek
This allows projects that depend on cpuinfo to use namespace qualified target name regardless of whether they consume cpuinfo through add_subdirectory or find_package.
2022-03-25Support CMake find_package (#69)Park DongHa
* Support CMake 'find_package' * export 2 target 'cpuinfo', 'clog' * create cpuinfo-config.cmake template * fix script include
2022-01-31Fix CMake build for iOS. (#56)Oleksii Skidan
CPUINFO_TARGET_PROCESSOR was not set when the cpuinfo was cross-compiled with CMAKE_SYTEM_NAME=iOS. Co-authored-by: Oleksii Skidan <oleksii.skidan@ua.ibm.com>
2021-07-15Remove HOMEPAGE_URL from cmake project definitionTristan Konolige
HOMEPAGE_URL in cmake's project function is only supported by cmake >= 3.12. In order to support versions down to 3.5, it needs to be removed.
2021-07-13README.md: Removed versioning constraint from pkg-config example...Kip Warner
CMakeLists.txt: Cosmetic changes...
2021-07-13CMakeLists.txt: Generate pkg-config manifest, even for static libraries if ↵Kip Warner
requested... {CMakeLists.txt,libcpuinfo.pc.in}: Remove semantic versioning, as per @Maratyszcza's request... CMakeLists.txt: Cosmetic formatting changes, per @Maratyszcza's request...
2021-07-12CMakeList.txt: Keep formatting consistent...Kip Warner
README.md: Improved pkg-config notes...
2021-07-03Add support for pkg-config (#60)Kip Warner
2020-12-17Add support for CMAKE_OSX_ARCHITECTURES (#51)Nikita Shulga
* Add support for CMAKE_OSX_ARCHITECTURES Test Plan: On x86_64 Mac: cmake -DCMAKE_OSX_ARCHITECTURES=arm64 -DCPUINFO_BUILD_BENCHMARKS=OFF .. -G Ninja ninja On M1 Mac: cmake -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCPUINFO_BUILD_BENCHMARKS=OFF .. -G Ninja ninja Then copy and execute build artifacts on a different platform * Incorporate review feedback
2020-12-15Upstream cpuinfo updates as of ↵Ashkan Aliabadi
XNNPACK:b20dcd6252740a9a62e8541144a978d23b72bb81. (#50)
2020-11-18Fix build for Apple Silicon (#48)Nikita Shulga
* Fix build for Apple Silicon MacOS machines based on Apple M1 silicon are identified by cmake as "arm64" Modify build rules accordingly to recognize "arm64" is valid CPU configuration for cpuinfo * Add CPUFAMILY_ARM_FIRESTORM_ICESTORM switch case * Update comment in src/arm/mach/init.c
2020-05-11Upstream cpuinfo updates in XNNPACK as of ↵Ashkan Aliabadi
XNNPACK:d793f6c2ec145be3ddbffea951e6e5480f4646b8.
2020-03-19Upstream cpuinfo updates in XNNPACK as of ↵Ashkan Aliabadi
XNNPACK:c58bd3486d52db9c6b9934912790db741bc366f6.
2020-01-21Upstream the cpuinfo updates in XNNPACK/third_party/cpuinfo.patch. Author: ↵Ashkan Aliabadi
The XNNPACK Team.
2019-12-26fixes iphonesimulator buildBas Hendri
2019-12-18adapts CMAKE_SYSTEM_NAME filter for CMake 3.14Bas Hendri
2019-01-31CMakeLists.txt: Install helper tools to CMAKE_INSTALL_BINDIR.Alexander GQ Gerasiov
Signed-off-by: Alexander GQ Gerasiov <gq@cs.msu.su>
2018-12-19Set default logging level to errorMarat Dukhan
2018-12-19Huawei Mate 20 mock testMarat Dukhan
2018-12-16Change cpuinfo_internals to static libraryMarat Dukhan
Object library has many limitations in older CMake versions
2018-12-16Expose logging level in configuration parametersMarat Dukhan
2018-12-16CMake: add cpuinfo_internal target for unit test deps. Fix #16Marat Dukhan
Some unit tests test internal interfaces of cpuinfo. a07a09b changed visibility for internal symbols to hidden/private, and they are no longer accessible to unit tests when cpuinfo is built as a shared library. The work-around is to add cpuinfo_internal target with the same sources as cpuinfo, but static linking.
2018-12-09Remove detection of GPU name on mobile platformsMarat Dukhan
2018-11-12Fixed detection of 32-bit targets. (#13)KOLANICH
2018-11-01Support ARM64e iOS architectureMarat Dukhan
2018-10-30Refactor arch-specific parts of CMakeListsMarat Dukhan
2018-10-30Fix builds for iOS/TVOS/WatchOS simulatorsMarat Dukhan
2018-07-24Remove main() function from unit testsHao Lu
2018-07-13Add Moto G5 mock testMarat Dukhan
2018-07-13Add Oppo R15 mock testMarat Dukhan
2018-07-13Add Huawei P20 Pro mock testMarat Dukhan
2018-07-13Fix auxv dump utilityMarat Dukhan
2018-06-24Build clog as PIC library in CMakeMarat Dukhan
2018-06-15Always define _GNU_SOURCE in configuration filesMarat Dukhan
2018-06-04Propagate CPUINFO_RUNTIME_TYPE to clogMarat Dukhan
2018-06-04Refactor logging codeMarat Dukhan
2018-04-19Add tool to dump /proc/cpuinfo under AArch32 on AArch64 systemsMarat Dukhan
2018-04-18Remove dependency of auxv-dump on cpuinfoMarat Dukhan
2018-04-10Galaxy S9 (Global) mock testMarat Dukhan
2018-04-10Huawei Honor 6 mock testMarat Dukhan
2018-04-07Leagoo T5c mock testMarat Dukhan
2018-03-26Support specifying static runtime library for MSVCMarat Dukhan
2018-03-24Report fatal error and abort if any cpuinfo_get_* function is called before ↵Marat Dukhan
initialization
2018-03-22Include internal include directories before othersMarat Dukhan
This is an attempt to work around the issue in pytorch/pytorch#5932 If external library sets up global include directories, and then does add_subrectory(cpuinfo), cpuinfo endows the global include directory. If it happens to have cpuinfo.h, this file is used in place of local include/cpuinfo.h This commit works around the issue by including local include directories before all others
2018-03-18Link libdl to auxv-dump utility on ARM64/LinuxMarat Dukhan
2018-03-17Galaxy S9 US mock testMarat Dukhan
2018-03-15Support building cpuinfo for unsupported platforms and architectures.Marat Dukhan
- Build will succeed and library can be linked as usual. - CMake will report a warning about unsupported OS/architecture. - CMake will define CPUINFO_SUPPORTED_PLATFORM=0 for targets depending on cpuinfo target (if platform is supported, it defines CPUINFO_SUPPORTED_PLATFORM=1) - cpuinfo_initialize() function will log an error about unsupported OS/architecture and return false. - cpuinfo_get_* functions will return NULL or 0.