blob: c4d603a103f80504015eb06d45ca850998a5fa4b (
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
|
GO_LIBRARY()
IF (OS_DARWIN AND ARCH_ARM64)
SRCS(
cpu.go
cpu.s
cpu_arm64.go
cpu_arm64.s
cpu_arm64_darwin.go
cpu_no_name.go
)
ELSEIF (OS_DARWIN AND ARCH_X86_64 OR OS_LINUX AND ARCH_X86_64 OR OS_WINDOWS AND ARCH_X86_64)
SRCS(
cpu.go
cpu.s
cpu_x86.go
cpu_x86.s
)
ELSEIF (OS_LINUX AND ARCH_AARCH64)
SRCS(
cpu.go
cpu.s
cpu_arm64.go
cpu_arm64.s
cpu_arm64_hwcap.go
cpu_arm64_linux.go
cpu_no_name.go
)
ENDIF()
END()
|