blob: 9b0863240f61d8445cf8c179e391929566b7cff9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
GO_LIBRARY()
LICENSE(MIT)
SRCS(
cpuid.go
featureid_string.go
)
GO_TEST_SRCS(
cpuid_test.go
mockcpu_test.go
)
IF (ARCH_X86_64)
SRCS(
cpuid_amd64.s
detect_x86.go
)
ENDIF()
IF (ARCH_ARM64)
SRCS(
cpuid_arm64.s
detect_arm64.go
)
ENDIF()
IF (OS_LINUX AND ARCH_ARM64)
SRCS(
os_linux_arm64.go
os_unsafe_linux_arm64.go
)
ENDIF()
IF (OS_DARWIN)
GO_TEST_SRCS(os_darwin_test.go)
ENDIF()
IF (OS_DARWIN AND ARCH_ARM64)
SRCS(os_darwin_arm64.go)
ENDIF()
IF (OS_WINDOWS AND ARCH_ARM64)
SRCS(os_other_arm64.go)
ENDIF()
END()
RECURSE(gotest)
|