blob: 3dce10848c322d167de11f8b7c4bbb4588b2a2b1 (
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
51
52
53
|
GO_LIBRARY()
SRCS(
cpu.go
cpu.s
)
GO_TEST_SRCS(export_test.go)
GO_XTEST_SRCS(cpu_test.go)
IF (ARCH_X86_64)
SRCS(
cpu_x86.go
cpu_x86.s
)
GO_TEST_SRCS(export_x86_test.go)
GO_XTEST_SRCS(cpu_x86_test.go)
ENDIF()
IF (ARCH_ARM64)
SRCS(
cpu_arm64.go
cpu_arm64.s
cpu_no_name.go
)
ENDIF()
IF (OS_LINUX AND ARCH_ARM64)
SRCS(
cpu_arm64_hwcap.go
cpu_arm64_linux.go
)
ENDIF()
IF (OS_DARWIN AND ARCH_ARM64)
SRCS(
cpu_arm64_darwin.go
)
ENDIF()
IF (OS_WINDOWS AND ARCH_ARM64)
SRCS(
cpu_arm64_other.go
)
ENDIF()
END()
RECURSE(
)
|