mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
Compare commits
3 Commits
riscv-new-
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1f20cfec6 | ||
|
|
284faf84c3 | ||
|
|
a19c421362 |
2
Makefile
2
Makefile
@@ -30,7 +30,7 @@ ifneq ($(OS),Windows_NT)
|
|||||||
HEADERS += $(SRC_DIR)freq/freq.h
|
HEADERS += $(SRC_DIR)freq/freq.h
|
||||||
CFLAGS += -pthread
|
CFLAGS += -pthread
|
||||||
endif
|
endif
|
||||||
ifeq ($(os), FreeBSD)
|
ifeq ($(os), $(filter $(os), FreeBSD Darwin))
|
||||||
SOURCE += $(SRC_COMMON)sysctl.c
|
SOURCE += $(SRC_COMMON)sysctl.c
|
||||||
HEADERS += $(SRC_COMMON)sysctl.h
|
HEADERS += $(SRC_COMMON)sysctl.h
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ struct features {
|
|||||||
|
|
||||||
struct extensions {
|
struct extensions {
|
||||||
char* str;
|
char* str;
|
||||||
bool* mask; // allocated at runtime with size RISCV_ISA_EXT_ID_MAX-1
|
bool* mask; // allocated at runtime with size RISCV_ISA_EXT_ID_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
struct cpuInfo {
|
struct cpuInfo {
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GIT_FULL_VERSION
|
#ifndef GIT_FULL_VERSION
|
||||||
static const char* VERSION = "1.06";
|
static const char* VERSION = "1.07";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|||||||
Reference in New Issue
Block a user