mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
Compare commits
11 Commits
master
...
riscv-new-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4a7761a12 | ||
|
|
d36123a363 | ||
|
|
8f40c45211 | ||
|
|
6713af7de1 | ||
|
|
9bd50264b3 | ||
|
|
bdadac5dd8 | ||
|
|
e823c769ff | ||
|
|
2116f19073 | ||
|
|
8ce24150e7 | ||
|
|
a0cb54dc8b | ||
|
|
8e6b0b1a2b |
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), $(filter $(os), FreeBSD Darwin))
|
ifeq ($(os), FreeBSD)
|
||||||
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
|
bool* mask; // allocated at runtime with size RISCV_ISA_EXT_ID_MAX-1
|
||||||
};
|
};
|
||||||
|
|
||||||
struct cpuInfo {
|
struct cpuInfo {
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GIT_FULL_VERSION
|
#ifndef GIT_FULL_VERSION
|
||||||
static const char* VERSION = "1.07";
|
static const char* VERSION = "1.06";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|||||||
Reference in New Issue
Block a user