diff options
author | vyacheslavek <vyacheslavek@yandex-team.com> | 2024-01-19 18:02:30 +0300 |
---|---|---|
committer | vyacheslavek <vyacheslavek@yandex-team.com> | 2024-01-19 18:16:29 +0300 |
commit | 2e2b97c2fa1d8cce987480a460d6c32493b6b4f3 (patch) | |
tree | 032b7f6d2ddcbe21835c645758d649e1cecf0ab3 /contrib/go/_std_1.21/src/internal | |
parent | ab74556342b7c8e57be23adb26bedffd1a0d37d9 (diff) | |
download | ydb-2e2b97c2fa1d8cce987480a460d6c32493b6b4f3.tar.gz |
automation of go yamake update
ISSUE:
update gen.py and generated yamake
Diffstat (limited to 'contrib/go/_std_1.21/src/internal')
56 files changed, 2852 insertions, 639 deletions
diff --git a/contrib/go/_std_1.21/src/internal/abi/ya.make b/contrib/go/_std_1.21/src/internal/abi/ya.make index 2b68cbebfb..a9c33ffe7a 100644 --- a/contrib/go/_std_1.21/src/internal/abi/ya.make +++ b/contrib/go/_std_1.21/src/internal/abi/ya.make @@ -1,35 +1,132 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - abi.go - abi_test.s - compiletype.go - funcpc.go - map.go - stack.go - stub.s - symtab.go - type.go - unsafestring_go120.go -) - -GO_TEST_SRCS(export_test.go) - -GO_XTEST_SRCS(abi_test.go) - -IF (ARCH_X86_64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( - abi_amd64.go + abi.go + abi_amd64.go + abi_test.s + compiletype.go + funcpc.go + map.go + stack.go + stub.s + symtab.go + type.go + unsafestring_go120.go ) -ENDIF() - -IF (ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + abi.go + abi_arm64.go + abi_test.s + compiletype.go + funcpc.go + map.go + stack.go + stub.s + symtab.go + type.go + unsafestring_go120.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + abi.go + abi_arm64.go + abi_test.s + compiletype.go + funcpc.go + map.go + stack.go + stub.s + symtab.go + type.go + unsafestring_go120.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + abi.go + abi_amd64.go + abi_test.s + compiletype.go + funcpc.go + map.go + stack.go + stub.s + symtab.go + type.go + unsafestring_go120.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) SRCS( - abi_arm64.go + abi.go + abi_arm64.go + abi_test.s + compiletype.go + funcpc.go + map.go + stack.go + stub.s + symtab.go + type.go + unsafestring_go120.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + abi.go + abi_arm64.go + abi_test.s + compiletype.go + funcpc.go + map.go + stack.go + stub.s + symtab.go + type.go + unsafestring_go120.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + abi.go + abi_amd64.go + abi_test.s + compiletype.go + funcpc.go + map.go + stack.go + stub.s + symtab.go + type.go + unsafestring_go120.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + abi.go + abi_arm64.go + abi_test.s + compiletype.go + funcpc.go + map.go + stack.go + stub.s + symtab.go + type.go + unsafestring_go120.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + abi.go + abi_arm64.go + abi_test.s + compiletype.go + funcpc.go + map.go + stack.go + stub.s + symtab.go + type.go + unsafestring_go120.go ) ENDIF() - END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/bisect/ya.make b/contrib/go/_std_1.21/src/internal/bisect/ya.make index 00ed5f737d..8670dbcd94 100644 --- a/contrib/go/_std_1.21/src/internal/bisect/ya.make +++ b/contrib/go/_std_1.21/src/internal/bisect/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - bisect.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + bisect.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + bisect.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + bisect.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + bisect.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + bisect.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + bisect.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + bisect.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + bisect.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + bisect.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/buildcfg/ya.make b/contrib/go/_std_1.21/src/internal/buildcfg/ya.make index bc23ca1b37..3b89f23a91 100644 --- a/contrib/go/_std_1.21/src/internal/buildcfg/ya.make +++ b/contrib/go/_std_1.21/src/internal/buildcfg/ya.make @@ -1,14 +1,60 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - cfg.go - exp.go - zbootstrap.go -) - -GO_TEST_SRCS(cfg_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + cfg.go + exp.go + zbootstrap.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + cfg.go + exp.go + zbootstrap.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + cfg.go + exp.go + zbootstrap.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + cfg.go + exp.go + zbootstrap.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + cfg.go + exp.go + zbootstrap.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + cfg.go + exp.go + zbootstrap.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + cfg.go + exp.go + zbootstrap.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + cfg.go + exp.go + zbootstrap.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + cfg.go + exp.go + zbootstrap.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/bytealg/ya.make b/contrib/go/_std_1.21/src/internal/bytealg/ya.make index 46b7e68a11..8739cef5c6 100644 --- a/contrib/go/_std_1.21/src/internal/bytealg/ya.make +++ b/contrib/go/_std_1.21/src/internal/bytealg/ya.make @@ -1,35 +1,150 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - bytealg.go - compare_native.go - count_native.go - equal_generic.go - equal_native.go - index_native.go - indexbyte_native.go -) - -IF (ARCH_X86_64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( - compare_amd64.s - count_amd64.s - equal_amd64.s - index_amd64.go - index_amd64.s - indexbyte_amd64.s + bytealg.go + compare_amd64.s + compare_native.go + count_amd64.s + count_native.go + equal_amd64.s + equal_generic.go + equal_native.go + index_amd64.go + index_amd64.s + index_native.go + indexbyte_amd64.s + indexbyte_native.go ) -ENDIF() - -IF (ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + bytealg.go + compare_arm64.s + compare_native.go + count_arm64.s + count_native.go + equal_arm64.s + equal_generic.go + equal_native.go + index_arm64.go + index_arm64.s + index_native.go + indexbyte_arm64.s + indexbyte_native.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + bytealg.go + compare_arm64.s + compare_native.go + count_arm64.s + count_native.go + equal_arm64.s + equal_generic.go + equal_native.go + index_arm64.go + index_arm64.s + index_native.go + indexbyte_arm64.s + indexbyte_native.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + bytealg.go + compare_amd64.s + compare_native.go + count_amd64.s + count_native.go + equal_amd64.s + equal_generic.go + equal_native.go + index_amd64.go + index_amd64.s + index_native.go + indexbyte_amd64.s + indexbyte_native.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) SRCS( - compare_arm64.s - count_arm64.s - equal_arm64.s - index_arm64.go - index_arm64.s - indexbyte_arm64.s + bytealg.go + compare_arm64.s + compare_native.go + count_arm64.s + count_native.go + equal_arm64.s + equal_generic.go + equal_native.go + index_arm64.go + index_arm64.s + index_native.go + indexbyte_arm64.s + indexbyte_native.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + bytealg.go + compare_arm64.s + compare_native.go + count_arm64.s + count_native.go + equal_arm64.s + equal_generic.go + equal_native.go + index_arm64.go + index_arm64.s + index_native.go + indexbyte_arm64.s + indexbyte_native.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + bytealg.go + compare_amd64.s + compare_native.go + count_amd64.s + count_native.go + equal_amd64.s + equal_generic.go + equal_native.go + index_amd64.go + index_amd64.s + index_native.go + indexbyte_amd64.s + indexbyte_native.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + bytealg.go + compare_arm64.s + compare_native.go + count_arm64.s + count_native.go + equal_arm64.s + equal_generic.go + equal_native.go + index_arm64.go + index_arm64.s + index_native.go + indexbyte_arm64.s + indexbyte_native.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + bytealg.go + compare_arm64.s + compare_native.go + count_arm64.s + count_native.go + equal_arm64.s + equal_generic.go + equal_native.go + index_arm64.go + index_arm64.s + index_native.go + indexbyte_arm64.s + indexbyte_native.go ) ENDIF() - END() diff --git a/contrib/go/_std_1.21/src/internal/coverage/calloc/ya.make b/contrib/go/_std_1.21/src/internal/coverage/calloc/ya.make index 96d1e6e2bc..bab9306060 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/calloc/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/calloc/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - batchcounteralloc.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + batchcounteralloc.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + batchcounteralloc.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + batchcounteralloc.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + batchcounteralloc.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + batchcounteralloc.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + batchcounteralloc.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + batchcounteralloc.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + batchcounteralloc.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + batchcounteralloc.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/coverage/cformat/ya.make b/contrib/go/_std_1.21/src/internal/coverage/cformat/ya.make index ec6645a0ba..3b1ec6e020 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/cformat/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/cformat/ya.make @@ -1,12 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - format.go -) - -GO_XTEST_SRCS(fmt_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + format.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + format.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + format.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + format.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + format.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + format.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + format.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + format.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + format.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/coverage/cmerge/ya.make b/contrib/go/_std_1.21/src/internal/coverage/cmerge/ya.make index b9a0d083a6..aa462840d3 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/cmerge/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/cmerge/ya.make @@ -1,12 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - merge.go -) - -GO_XTEST_SRCS(merge_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + merge.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + merge.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + merge.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + merge.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + merge.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + merge.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + merge.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + merge.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + merge.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/coverage/decodecounter/ya.make b/contrib/go/_std_1.21/src/internal/coverage/decodecounter/ya.make index d761ccb0cf..ae151058b6 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/decodecounter/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/decodecounter/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - decodecounterfile.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + decodecounterfile.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + decodecounterfile.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + decodecounterfile.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + decodecounterfile.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + decodecounterfile.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + decodecounterfile.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + decodecounterfile.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + decodecounterfile.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + decodecounterfile.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/coverage/decodemeta/ya.make b/contrib/go/_std_1.21/src/internal/coverage/decodemeta/ya.make index 60b27ce04e..232427c081 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/decodemeta/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/decodemeta/ya.make @@ -1,8 +1,51 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - decode.go - decodefile.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + decode.go + decodefile.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + decode.go + decodefile.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + decode.go + decodefile.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + decode.go + decodefile.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + decode.go + decodefile.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + decode.go + decodefile.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + decode.go + decodefile.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + decode.go + decodefile.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + decode.go + decodefile.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/coverage/encodecounter/ya.make b/contrib/go/_std_1.21/src/internal/coverage/encodecounter/ya.make index fb82cc2fd2..1f729b3463 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/encodecounter/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/encodecounter/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - encode.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + encode.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + encode.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + encode.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + encode.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + encode.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + encode.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + encode.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + encode.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + encode.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/coverage/encodemeta/ya.make b/contrib/go/_std_1.21/src/internal/coverage/encodemeta/ya.make index ecc0df9460..6660cfa5a6 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/encodemeta/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/encodemeta/ya.make @@ -1,8 +1,51 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - encode.go - encodefile.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + encode.go + encodefile.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + encode.go + encodefile.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + encode.go + encodefile.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + encode.go + encodefile.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + encode.go + encodefile.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + encode.go + encodefile.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + encode.go + encodefile.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + encode.go + encodefile.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + encode.go + encodefile.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/coverage/pods/ya.make b/contrib/go/_std_1.21/src/internal/coverage/pods/ya.make index 0d88aa13c6..692d991bd8 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/pods/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/pods/ya.make @@ -1,12 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - pods.go -) - -GO_XTEST_SRCS(pods_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + pods.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + pods.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + pods.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + pods.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + pods.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + pods.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + pods.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + pods.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + pods.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/coverage/rtcov/ya.make b/contrib/go/_std_1.21/src/internal/coverage/rtcov/ya.make index b686d3174e..87b9e5d2f8 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/rtcov/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/rtcov/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - rtcov.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + rtcov.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + rtcov.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + rtcov.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + rtcov.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + rtcov.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + rtcov.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + rtcov.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + rtcov.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + rtcov.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/coverage/slicereader/ya.make b/contrib/go/_std_1.21/src/internal/coverage/slicereader/ya.make index 109b64c8be..d6dbecb587 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/slicereader/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/slicereader/ya.make @@ -1,12 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - slicereader.go -) - -GO_TEST_SRCS(slr_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + slicereader.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + slicereader.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + slicereader.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + slicereader.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + slicereader.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + slicereader.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + slicereader.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + slicereader.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + slicereader.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/coverage/slicewriter/ya.make b/contrib/go/_std_1.21/src/internal/coverage/slicewriter/ya.make index e4c1089366..5691f874aa 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/slicewriter/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/slicewriter/ya.make @@ -1,12 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - slicewriter.go -) - -GO_TEST_SRCS(slw_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + slicewriter.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + slicewriter.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + slicewriter.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + slicewriter.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + slicewriter.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + slicewriter.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + slicewriter.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + slicewriter.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + slicewriter.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/coverage/stringtab/ya.make b/contrib/go/_std_1.21/src/internal/coverage/stringtab/ya.make index 805422b402..e8ed75ca21 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/stringtab/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/stringtab/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - stringtab.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + stringtab.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + stringtab.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + stringtab.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + stringtab.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + stringtab.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + stringtab.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + stringtab.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + stringtab.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + stringtab.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/coverage/uleb128/ya.make b/contrib/go/_std_1.21/src/internal/coverage/uleb128/ya.make index 94fc7ea345..13f14f64dc 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/uleb128/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/uleb128/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - uleb128.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + uleb128.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + uleb128.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + uleb128.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + uleb128.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + uleb128.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + uleb128.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + uleb128.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + uleb128.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + uleb128.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/coverage/ya.make b/contrib/go/_std_1.21/src/internal/coverage/ya.make index 6e25235779..e80211fc8f 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/ya.make @@ -1,26 +1,78 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - cmddefs.go - defs.go - pkid.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + cmddefs.go + defs.go + pkid.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + cmddefs.go + defs.go + pkid.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + cmddefs.go + defs.go + pkid.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + cmddefs.go + defs.go + pkid.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + cmddefs.go + defs.go + pkid.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + cmddefs.go + defs.go + pkid.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + cmddefs.go + defs.go + pkid.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + cmddefs.go + defs.go + pkid.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + cmddefs.go + defs.go + pkid.go + ) +ENDIF() END() + RECURSE( - calloc - cformat - cmerge - decodecounter - decodemeta - encodecounter - encodemeta - pods - rtcov - slicereader - slicewriter - stringtab - test - uleb128 + calloc + cformat + cmerge + decodecounter + decodemeta + encodecounter + encodemeta + pods + rtcov + slicereader + slicewriter + stringtab + test + uleb128 ) diff --git a/contrib/go/_std_1.21/src/internal/cpu/ya.make b/contrib/go/_std_1.21/src/internal/cpu/ya.make index 3dce10848c..c5908e914f 100644 --- a/contrib/go/_std_1.21/src/internal/cpu/ya.make +++ b/contrib/go/_std_1.21/src/internal/cpu/ya.make @@ -1,53 +1,83 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - cpu.go - cpu.s -) - -GO_TEST_SRCS(export_test.go) - -GO_XTEST_SRCS(cpu_test.go) - -IF (ARCH_X86_64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( - cpu_x86.go - cpu_x86.s + cpu.go + cpu.s + cpu_x86.go + cpu_x86.s ) - - GO_TEST_SRCS(export_x86_test.go) - - GO_XTEST_SRCS(cpu_x86_test.go) -ENDIF() - -IF (ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_ARM64) SRCS( - cpu_arm64.go - cpu_arm64.s - cpu_no_name.go + cpu.go + cpu.s + cpu_arm64.go + cpu_arm64.s + cpu_arm64_hwcap.go + cpu_arm64_linux.go + cpu_no_name.go ) -ENDIF() - -IF (OS_LINUX AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( - cpu_arm64_hwcap.go - cpu_arm64_linux.go + cpu.go + cpu.s + cpu_arm64.go + cpu_arm64.s + cpu_arm64_hwcap.go + cpu_arm64_linux.go + cpu_no_name.go ) -ENDIF() - -IF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( - cpu_arm64_darwin.go + cpu.go + cpu.s + cpu_x86.go + cpu_x86.s ) -ENDIF() - -IF (OS_WINDOWS AND ARCH_ARM64) +ELSEIF (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_AARCH64) SRCS( - cpu_arm64_other.go + cpu.go + cpu.s + cpu_arm64.go + cpu_arm64.s + cpu_arm64_darwin.go + cpu_no_name.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + cpu.go + cpu.s + cpu_x86.go + cpu_x86.s + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + cpu.go + cpu.s + cpu_arm64.go + cpu_arm64.s + cpu_arm64_other.go + cpu_no_name.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + cpu.go + cpu.s + cpu_arm64.go + cpu_arm64.s + cpu_arm64_other.go + cpu_no_name.go ) ENDIF() - END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/fmtsort/ya.make b/contrib/go/_std_1.21/src/internal/fmtsort/ya.make index 62b8629227..1495e17bbe 100644 --- a/contrib/go/_std_1.21/src/internal/fmtsort/ya.make +++ b/contrib/go/_std_1.21/src/internal/fmtsort/ya.make @@ -1,14 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - sort.go -) - -GO_TEST_SRCS(export_test.go) - -GO_XTEST_SRCS(sort_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + sort.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + sort.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + sort.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + sort.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + sort.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + sort.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + sort.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + sort.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + sort.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/fuzz/ya.make b/contrib/go/_std_1.21/src/internal/fuzz/ya.make index f881437b8b..da45aaa1a6 100644 --- a/contrib/go/_std_1.21/src/internal/fuzz/ya.make +++ b/contrib/go/_std_1.21/src/internal/fuzz/ya.make @@ -1,48 +1,150 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - counters_supported.go - coverage.go - encoding.go - fuzz.go - mem.go - minimize.go - mutator.go - mutators_byteslice.go - pcg.go - queue.go - trace.go - worker.go -) - -GO_TEST_SRCS( - encoding_test.go - minimize_test.go - mutator_test.go - mutators_byteslice_test.go - queue_test.go - worker_test.go -) - -IF (OS_LINUX) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( - sys_posix.go + counters_supported.go + coverage.go + encoding.go + fuzz.go + mem.go + minimize.go + mutator.go + mutators_byteslice.go + pcg.go + queue.go + sys_posix.go + trace.go + worker.go ) -ENDIF() - -IF (OS_DARWIN) +ELSEIF (OS_LINUX AND ARCH_ARM64) SRCS( - sys_posix.go + counters_supported.go + coverage.go + encoding.go + fuzz.go + mem.go + minimize.go + mutator.go + mutators_byteslice.go + pcg.go + queue.go + sys_posix.go + trace.go + worker.go ) -ENDIF() - -IF (OS_WINDOWS) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + counters_supported.go + coverage.go + encoding.go + fuzz.go + mem.go + minimize.go + mutator.go + mutators_byteslice.go + pcg.go + queue.go + sys_posix.go + trace.go + worker.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + counters_supported.go + coverage.go + encoding.go + fuzz.go + mem.go + minimize.go + mutator.go + mutators_byteslice.go + pcg.go + queue.go + sys_posix.go + trace.go + worker.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) SRCS( - sys_windows.go + counters_supported.go + coverage.go + encoding.go + fuzz.go + mem.go + minimize.go + mutator.go + mutators_byteslice.go + pcg.go + queue.go + sys_posix.go + trace.go + worker.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + counters_supported.go + coverage.go + encoding.go + fuzz.go + mem.go + minimize.go + mutator.go + mutators_byteslice.go + pcg.go + queue.go + sys_posix.go + trace.go + worker.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + counters_supported.go + coverage.go + encoding.go + fuzz.go + mem.go + minimize.go + mutator.go + mutators_byteslice.go + pcg.go + queue.go + sys_windows.go + trace.go + worker.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + counters_supported.go + coverage.go + encoding.go + fuzz.go + mem.go + minimize.go + mutator.go + mutators_byteslice.go + pcg.go + queue.go + sys_windows.go + trace.go + worker.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + counters_supported.go + coverage.go + encoding.go + fuzz.go + mem.go + minimize.go + mutator.go + mutators_byteslice.go + pcg.go + queue.go + sys_windows.go + trace.go + worker.go ) ENDIF() - END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/goarch/ya.make b/contrib/go/_std_1.21/src/internal/goarch/ya.make index 29769ed82c..178aec34f9 100644 --- a/contrib/go/_std_1.21/src/internal/goarch/ya.make +++ b/contrib/go/_std_1.21/src/internal/goarch/ya.make @@ -1,21 +1,60 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - goarch.go -) - -IF (ARCH_X86_64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( - goarch_amd64.go - zgoarch_amd64.go + goarch.go + goarch_amd64.go + zgoarch_amd64.go ) -ENDIF() - -IF (ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + goarch.go + goarch_arm64.go + zgoarch_arm64.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + goarch.go + goarch_arm64.go + zgoarch_arm64.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + goarch.go + goarch_amd64.go + zgoarch_amd64.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) SRCS( - goarch_arm64.go - zgoarch_arm64.go + goarch.go + goarch_arm64.go + zgoarch_arm64.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + goarch.go + goarch_arm64.go + zgoarch_arm64.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + goarch.go + goarch_amd64.go + zgoarch_amd64.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + goarch.go + goarch_arm64.go + zgoarch_arm64.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + goarch.go + goarch_arm64.go + zgoarch_arm64.go ) ENDIF() - END() diff --git a/contrib/go/_std_1.21/src/internal/godebug/ya.make b/contrib/go/_std_1.21/src/internal/godebug/ya.make index 091394342a..b8a43b9716 100644 --- a/contrib/go/_std_1.21/src/internal/godebug/ya.make +++ b/contrib/go/_std_1.21/src/internal/godebug/ya.make @@ -1,12 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - godebug.go -) - -GO_XTEST_SRCS(godebug_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + godebug.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + godebug.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + godebug.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + godebug.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + godebug.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + godebug.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + godebug.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + godebug.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + godebug.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/godebugs/ya.make b/contrib/go/_std_1.21/src/internal/godebugs/ya.make index bbf68c703f..f0e8c277e3 100644 --- a/contrib/go/_std_1.21/src/internal/godebugs/ya.make +++ b/contrib/go/_std_1.21/src/internal/godebugs/ya.make @@ -1,12 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - table.go -) - -GO_XTEST_SRCS(godebugs_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + table.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + table.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + table.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + table.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + table.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + table.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + table.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + table.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + table.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/goexperiment/exp_regabiargs_off.go b/contrib/go/_std_1.21/src/internal/goexperiment/exp_regabiargs_off.go new file mode 100644 index 0000000000..31a139bbf1 --- /dev/null +++ b/contrib/go/_std_1.21/src/internal/goexperiment/exp_regabiargs_off.go @@ -0,0 +1,9 @@ +// Code generated by mkconsts.go. DO NOT EDIT. + +//go:build !goexperiment.regabiargs +// +build !goexperiment.regabiargs + +package goexperiment + +const RegabiArgs = false +const RegabiArgsInt = 0 diff --git a/contrib/go/_std_1.21/src/internal/goexperiment/exp_regabiargs_on.go b/contrib/go/_std_1.21/src/internal/goexperiment/exp_regabiargs_on.go deleted file mode 100644 index 9b26f3c9cb..0000000000 --- a/contrib/go/_std_1.21/src/internal/goexperiment/exp_regabiargs_on.go +++ /dev/null @@ -1,9 +0,0 @@ -// Code generated by mkconsts.go. DO NOT EDIT. - -//go:build goexperiment.regabiargs -// +build goexperiment.regabiargs - -package goexperiment - -const RegabiArgs = true -const RegabiArgsInt = 1 diff --git a/contrib/go/_std_1.21/src/internal/goexperiment/exp_regabiwrappers_off.go b/contrib/go/_std_1.21/src/internal/goexperiment/exp_regabiwrappers_off.go new file mode 100644 index 0000000000..bfa0fa3779 --- /dev/null +++ b/contrib/go/_std_1.21/src/internal/goexperiment/exp_regabiwrappers_off.go @@ -0,0 +1,9 @@ +// Code generated by mkconsts.go. DO NOT EDIT. + +//go:build !goexperiment.regabiwrappers +// +build !goexperiment.regabiwrappers + +package goexperiment + +const RegabiWrappers = false +const RegabiWrappersInt = 0 diff --git a/contrib/go/_std_1.21/src/internal/goexperiment/exp_regabiwrappers_on.go b/contrib/go/_std_1.21/src/internal/goexperiment/exp_regabiwrappers_on.go deleted file mode 100644 index 11ffffbbff..0000000000 --- a/contrib/go/_std_1.21/src/internal/goexperiment/exp_regabiwrappers_on.go +++ /dev/null @@ -1,9 +0,0 @@ -// Code generated by mkconsts.go. DO NOT EDIT. - -//go:build goexperiment.regabiwrappers -// +build goexperiment.regabiwrappers - -package goexperiment - -const RegabiWrappers = true -const RegabiWrappersInt = 1 diff --git a/contrib/go/_std_1.21/src/internal/goexperiment/ya.make b/contrib/go/_std_1.21/src/internal/goexperiment/ya.make index b50720d13d..f2c8718060 100644 --- a/contrib/go/_std_1.21/src/internal/goexperiment/ya.make +++ b/contrib/go/_std_1.21/src/internal/goexperiment/ya.make @@ -1,20 +1,159 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - exp_arenas_off.go - exp_boringcrypto_off.go - exp_cacheprog_off.go - exp_cgocheck2_off.go - exp_coverageredesign_off.go - exp_fieldtrack_off.go - exp_heapminimum512kib_off.go - exp_loopvar_off.go - exp_pagetrace_off.go - exp_preemptibleloops_off.go - exp_regabiargs_on.go - exp_regabiwrappers_on.go - exp_staticlockranking_off.go - flags.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + exp_arenas_off.go + exp_boringcrypto_off.go + exp_cacheprog_off.go + exp_cgocheck2_off.go + exp_coverageredesign_off.go + exp_fieldtrack_off.go + exp_heapminimum512kib_off.go + exp_loopvar_off.go + exp_pagetrace_off.go + exp_preemptibleloops_off.go + exp_regabiargs_off.go + exp_regabiwrappers_off.go + exp_staticlockranking_off.go + flags.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + exp_arenas_off.go + exp_boringcrypto_off.go + exp_cacheprog_off.go + exp_cgocheck2_off.go + exp_coverageredesign_off.go + exp_fieldtrack_off.go + exp_heapminimum512kib_off.go + exp_loopvar_off.go + exp_pagetrace_off.go + exp_preemptibleloops_off.go + exp_regabiargs_off.go + exp_regabiwrappers_off.go + exp_staticlockranking_off.go + flags.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + exp_arenas_off.go + exp_boringcrypto_off.go + exp_cacheprog_off.go + exp_cgocheck2_off.go + exp_coverageredesign_off.go + exp_fieldtrack_off.go + exp_heapminimum512kib_off.go + exp_loopvar_off.go + exp_pagetrace_off.go + exp_preemptibleloops_off.go + exp_regabiargs_off.go + exp_regabiwrappers_off.go + exp_staticlockranking_off.go + flags.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + exp_arenas_off.go + exp_boringcrypto_off.go + exp_cacheprog_off.go + exp_cgocheck2_off.go + exp_coverageredesign_off.go + exp_fieldtrack_off.go + exp_heapminimum512kib_off.go + exp_loopvar_off.go + exp_pagetrace_off.go + exp_preemptibleloops_off.go + exp_regabiargs_off.go + exp_regabiwrappers_off.go + exp_staticlockranking_off.go + flags.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + exp_arenas_off.go + exp_boringcrypto_off.go + exp_cacheprog_off.go + exp_cgocheck2_off.go + exp_coverageredesign_off.go + exp_fieldtrack_off.go + exp_heapminimum512kib_off.go + exp_loopvar_off.go + exp_pagetrace_off.go + exp_preemptibleloops_off.go + exp_regabiargs_off.go + exp_regabiwrappers_off.go + exp_staticlockranking_off.go + flags.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + exp_arenas_off.go + exp_boringcrypto_off.go + exp_cacheprog_off.go + exp_cgocheck2_off.go + exp_coverageredesign_off.go + exp_fieldtrack_off.go + exp_heapminimum512kib_off.go + exp_loopvar_off.go + exp_pagetrace_off.go + exp_preemptibleloops_off.go + exp_regabiargs_off.go + exp_regabiwrappers_off.go + exp_staticlockranking_off.go + flags.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + exp_arenas_off.go + exp_boringcrypto_off.go + exp_cacheprog_off.go + exp_cgocheck2_off.go + exp_coverageredesign_off.go + exp_fieldtrack_off.go + exp_heapminimum512kib_off.go + exp_loopvar_off.go + exp_pagetrace_off.go + exp_preemptibleloops_off.go + exp_regabiargs_off.go + exp_regabiwrappers_off.go + exp_staticlockranking_off.go + flags.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + exp_arenas_off.go + exp_boringcrypto_off.go + exp_cacheprog_off.go + exp_cgocheck2_off.go + exp_coverageredesign_off.go + exp_fieldtrack_off.go + exp_heapminimum512kib_off.go + exp_loopvar_off.go + exp_pagetrace_off.go + exp_preemptibleloops_off.go + exp_regabiargs_off.go + exp_regabiwrappers_off.go + exp_staticlockranking_off.go + flags.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + exp_arenas_off.go + exp_boringcrypto_off.go + exp_cacheprog_off.go + exp_cgocheck2_off.go + exp_coverageredesign_off.go + exp_fieldtrack_off.go + exp_heapminimum512kib_off.go + exp_loopvar_off.go + exp_pagetrace_off.go + exp_preemptibleloops_off.go + exp_regabiargs_off.go + exp_regabiwrappers_off.go + exp_staticlockranking_off.go + flags.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/goos/ya.make b/contrib/go/_std_1.21/src/internal/goos/ya.make index abfc3c1a3f..bec3f865cb 100644 --- a/contrib/go/_std_1.21/src/internal/goos/ya.make +++ b/contrib/go/_std_1.21/src/internal/goos/ya.make @@ -1,28 +1,60 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - goos.go -) - -IF (OS_LINUX) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( - unix.go - zgoos_linux.go + goos.go + unix.go + zgoos_linux.go ) -ENDIF() - -IF (OS_DARWIN) +ELSEIF (OS_LINUX AND ARCH_ARM64) SRCS( - unix.go - zgoos_darwin.go + goos.go + unix.go + zgoos_linux.go ) -ENDIF() - -IF (OS_WINDOWS) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + goos.go + unix.go + zgoos_linux.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + goos.go + unix.go + zgoos_darwin.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) SRCS( - nonunix.go - zgoos_windows.go + goos.go + unix.go + zgoos_darwin.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + goos.go + unix.go + zgoos_darwin.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + goos.go + nonunix.go + zgoos_windows.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + goos.go + nonunix.go + zgoos_windows.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + goos.go + nonunix.go + zgoos_windows.go ) ENDIF() - END() diff --git a/contrib/go/_std_1.21/src/internal/goroot/ya.make b/contrib/go/_std_1.21/src/internal/goroot/ya.make index 900d6431be..227620fbe8 100644 --- a/contrib/go/_std_1.21/src/internal/goroot/ya.make +++ b/contrib/go/_std_1.21/src/internal/goroot/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - gc.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + gc.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + gc.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + gc.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + gc.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + gc.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + gc.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + gc.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + gc.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + gc.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/goversion/ya.make b/contrib/go/_std_1.21/src/internal/goversion/ya.make index dee4610577..0fbbf521bc 100644 --- a/contrib/go/_std_1.21/src/internal/goversion/ya.make +++ b/contrib/go/_std_1.21/src/internal/goversion/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - goversion.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + goversion.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + goversion.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + goversion.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + goversion.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + goversion.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + goversion.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + goversion.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + goversion.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + goversion.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/intern/ya.make b/contrib/go/_std_1.21/src/internal/intern/ya.make index 5c4dda0f56..c98cc0fb10 100644 --- a/contrib/go/_std_1.21/src/internal/intern/ya.make +++ b/contrib/go/_std_1.21/src/internal/intern/ya.make @@ -1,12 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - intern.go -) - -GO_TEST_SRCS(intern_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + intern.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + intern.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + intern.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + intern.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + intern.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + intern.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + intern.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + intern.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + intern.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/itoa/ya.make b/contrib/go/_std_1.21/src/internal/itoa/ya.make index b17c3533f6..32d50fbaa7 100644 --- a/contrib/go/_std_1.21/src/internal/itoa/ya.make +++ b/contrib/go/_std_1.21/src/internal/itoa/ya.make @@ -1,12 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - itoa.go -) - -GO_XTEST_SRCS(itoa_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + itoa.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + itoa.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + itoa.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + itoa.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + itoa.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + itoa.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + itoa.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + itoa.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + itoa.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/lazyregexp/ya.make b/contrib/go/_std_1.21/src/internal/lazyregexp/ya.make index 7753ef8e7d..69c6031364 100644 --- a/contrib/go/_std_1.21/src/internal/lazyregexp/ya.make +++ b/contrib/go/_std_1.21/src/internal/lazyregexp/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - lazyre.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + lazyre.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + lazyre.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + lazyre.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + lazyre.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + lazyre.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + lazyre.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + lazyre.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + lazyre.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + lazyre.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/nettrace/ya.make b/contrib/go/_std_1.21/src/internal/nettrace/ya.make index 11bebb95db..8ee75860d3 100644 --- a/contrib/go/_std_1.21/src/internal/nettrace/ya.make +++ b/contrib/go/_std_1.21/src/internal/nettrace/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - nettrace.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + nettrace.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + nettrace.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + nettrace.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + nettrace.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + nettrace.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + nettrace.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + nettrace.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + nettrace.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + nettrace.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/oserror/ya.make b/contrib/go/_std_1.21/src/internal/oserror/ya.make index 22a9f40703..2111b9cd9b 100644 --- a/contrib/go/_std_1.21/src/internal/oserror/ya.make +++ b/contrib/go/_std_1.21/src/internal/oserror/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - errors.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + errors.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + errors.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + errors.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + errors.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + errors.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + errors.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + errors.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + errors.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + errors.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/pkgbits/ya.make b/contrib/go/_std_1.21/src/internal/pkgbits/ya.make index 977ae560cd..49ebcf4ede 100644 --- a/contrib/go/_std_1.21/src/internal/pkgbits/ya.make +++ b/contrib/go/_std_1.21/src/internal/pkgbits/ya.make @@ -1,15 +1,114 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - codes.go - decoder.go - doc.go - encoder.go - flags.go - reloc.go - support.go - sync.go - syncmarker_string.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + codes.go + decoder.go + doc.go + encoder.go + flags.go + reloc.go + support.go + sync.go + syncmarker_string.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + codes.go + decoder.go + doc.go + encoder.go + flags.go + reloc.go + support.go + sync.go + syncmarker_string.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + codes.go + decoder.go + doc.go + encoder.go + flags.go + reloc.go + support.go + sync.go + syncmarker_string.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + codes.go + decoder.go + doc.go + encoder.go + flags.go + reloc.go + support.go + sync.go + syncmarker_string.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + codes.go + decoder.go + doc.go + encoder.go + flags.go + reloc.go + support.go + sync.go + syncmarker_string.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + codes.go + decoder.go + doc.go + encoder.go + flags.go + reloc.go + support.go + sync.go + syncmarker_string.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + codes.go + decoder.go + doc.go + encoder.go + flags.go + reloc.go + support.go + sync.go + syncmarker_string.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + codes.go + decoder.go + doc.go + encoder.go + flags.go + reloc.go + support.go + sync.go + syncmarker_string.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + codes.go + decoder.go + doc.go + encoder.go + flags.go + reloc.go + support.go + sync.go + syncmarker_string.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/platform/ya.make b/contrib/go/_std_1.21/src/internal/platform/ya.make index 7ed14d13ef..5bafe35794 100644 --- a/contrib/go/_std_1.21/src/internal/platform/ya.make +++ b/contrib/go/_std_1.21/src/internal/platform/ya.make @@ -1,13 +1,51 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - supported.go - zosarch.go -) - -GO_XTEST_SRCS(zosarch_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + supported.go + zosarch.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + supported.go + zosarch.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + supported.go + zosarch.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + supported.go + zosarch.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + supported.go + zosarch.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + supported.go + zosarch.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + supported.go + zosarch.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + supported.go + zosarch.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + supported.go + zosarch.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/poll/sock_cloexec_accept.go b/contrib/go/_std_1.21/src/internal/poll/sock_cloexec_accept.go new file mode 100644 index 0000000000..4b86de59e0 --- /dev/null +++ b/contrib/go/_std_1.21/src/internal/poll/sock_cloexec_accept.go @@ -0,0 +1,51 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// This file implements accept for platforms that provide a fast path for +// setting SetNonblock and CloseOnExec, but don't necessarily have accept4. +// This is the code we used for accept in Go 1.17 and earlier. +// On Linux the accept4 system call was introduced in 2.6.28 kernel, +// and our minimum requirement is 2.6.32, so we simplified the function. +// Unfortunately, on ARM accept4 wasn't added until 2.6.36, so for ARM +// only we continue using the older code. + +//go:build linux && arm + +package poll + +import "syscall" + +// Wrapper around the accept system call that marks the returned file +// descriptor as nonblocking and close-on-exec. +func accept(s int) (int, syscall.Sockaddr, string, error) { + ns, sa, err := Accept4Func(s, syscall.SOCK_NONBLOCK|syscall.SOCK_CLOEXEC) + switch err { + case nil: + return ns, sa, "", nil + default: // errors other than the ones listed + return -1, sa, "accept4", err + case syscall.ENOSYS: // syscall missing + case syscall.EINVAL: // some Linux use this instead of ENOSYS + case syscall.EACCES: // some Linux use this instead of ENOSYS + case syscall.EFAULT: // some Linux use this instead of ENOSYS + } + + // See ../syscall/exec_unix.go for description of ForkLock. + // It is probably okay to hold the lock across syscall.Accept + // because we have put fd.sysfd into non-blocking mode. + // However, a call to the File method will put it back into + // blocking mode. We can't take that risk, so no use of ForkLock here. + ns, sa, err = AcceptFunc(s) + if err == nil { + syscall.CloseOnExec(ns) + } + if err != nil { + return -1, nil, "accept", err + } + if err = syscall.SetNonblock(ns, true); err != nil { + CloseFunc(ns) + return -1, nil, "setnonblock", err + } + return ns, sa, "", nil +} diff --git a/contrib/go/_std_1.21/src/internal/poll/ya.make b/contrib/go/_std_1.21/src/internal/poll/ya.make index 33bfc70d87..d52f4cff59 100644 --- a/contrib/go/_std_1.21/src/internal/poll/ya.make +++ b/contrib/go/_std_1.21/src/internal/poll/ya.make @@ -1,92 +1,186 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - fd.go - fd_mutex.go - fd_poll_runtime.go - fd_posix.go - sockopt.go - sockoptip.go -) - -GO_TEST_SRCS( - export_posix_test.go - export_test.go -) - -GO_XTEST_SRCS( - error_test.go - fd_mutex_test.go - fd_posix_test.go - read_test.go - writev_test.go -) - -IF (OS_LINUX) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( - copy_file_range_linux.go - errno_unix.go - fd_fsync_posix.go - fd_unix.go - fd_unixjs.go - fd_writev_unix.go - hook_cloexec.go - hook_unix.go - iovec_unix.go - sendfile_linux.go - sock_cloexec.go - sockopt_linux.go - sockopt_unix.go - splice_linux.go - writev.go + copy_file_range_linux.go + errno_unix.go + fd.go + fd_fsync_posix.go + fd_mutex.go + fd_poll_runtime.go + fd_posix.go + fd_unix.go + fd_unixjs.go + fd_writev_unix.go + hook_cloexec.go + hook_unix.go + iovec_unix.go + sendfile_linux.go + sock_cloexec.go + sockopt.go + sockopt_linux.go + sockopt_unix.go + sockoptip.go + splice_linux.go + writev.go ) - - GO_TEST_SRCS(export_linux_test.go) - - GO_XTEST_SRCS( - error_linux_test.go - splice_linux_test.go +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + copy_file_range_linux.go + errno_unix.go + fd.go + fd_fsync_posix.go + fd_mutex.go + fd_poll_runtime.go + fd_posix.go + fd_unix.go + fd_unixjs.go + fd_writev_unix.go + hook_cloexec.go + hook_unix.go + iovec_unix.go + sendfile_linux.go + sock_cloexec_accept.go + sockopt.go + sockopt_linux.go + sockopt_unix.go + sockoptip.go + splice_linux.go + writev.go ) -ENDIF() - -IF (OS_DARWIN) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( - errno_unix.go - fd_fsync_darwin.go - fd_opendir_darwin.go - fd_unix.go - fd_unixjs.go - fd_writev_libc.go - hook_unix.go - iovec_unix.go - sendfile_bsd.go - sockopt_unix.go - sys_cloexec.go - writev.go + copy_file_range_linux.go + errno_unix.go + fd.go + fd_fsync_posix.go + fd_mutex.go + fd_poll_runtime.go + fd_posix.go + fd_unix.go + fd_unixjs.go + fd_writev_unix.go + hook_cloexec.go + hook_unix.go + iovec_unix.go + sendfile_linux.go + sock_cloexec_accept.go + sockopt.go + sockopt_linux.go + sockopt_unix.go + sockoptip.go + splice_linux.go + writev.go ) - - GO_XTEST_SRCS(error_stub_test.go) -ENDIF() - -IF (OS_WINDOWS) +ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( - errno_windows.go - fd_fsync_windows.go - fd_windows.go - hook_windows.go - sendfile_windows.go - sockopt_windows.go + errno_unix.go + fd.go + fd_fsync_darwin.go + fd_mutex.go + fd_opendir_darwin.go + fd_poll_runtime.go + fd_posix.go + fd_unix.go + fd_unixjs.go + fd_writev_libc.go + hook_unix.go + iovec_unix.go + sendfile_bsd.go + sockopt.go + sockopt_unix.go + sockoptip.go + sys_cloexec.go + writev.go ) - - GO_TEST_SRCS(export_windows_test.go) - - GO_XTEST_SRCS( - error_stub_test.go - fd_windows_test.go +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + errno_unix.go + fd.go + fd_fsync_darwin.go + fd_mutex.go + fd_opendir_darwin.go + fd_poll_runtime.go + fd_posix.go + fd_unix.go + fd_unixjs.go + fd_writev_libc.go + hook_unix.go + iovec_unix.go + sendfile_bsd.go + sockopt.go + sockopt_unix.go + sockoptip.go + sys_cloexec.go + writev.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + errno_unix.go + fd.go + fd_fsync_darwin.go + fd_mutex.go + fd_opendir_darwin.go + fd_poll_runtime.go + fd_posix.go + fd_unix.go + fd_unixjs.go + fd_writev_libc.go + hook_unix.go + iovec_unix.go + sendfile_bsd.go + sockopt.go + sockopt_unix.go + sockoptip.go + sys_cloexec.go + writev.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + errno_windows.go + fd.go + fd_fsync_windows.go + fd_mutex.go + fd_poll_runtime.go + fd_posix.go + fd_windows.go + hook_windows.go + sendfile_windows.go + sockopt.go + sockopt_windows.go + sockoptip.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + errno_windows.go + fd.go + fd_fsync_windows.go + fd_mutex.go + fd_poll_runtime.go + fd_posix.go + fd_windows.go + hook_windows.go + sendfile_windows.go + sockopt.go + sockopt_windows.go + sockoptip.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + errno_windows.go + fd.go + fd_fsync_windows.go + fd_mutex.go + fd_poll_runtime.go + fd_posix.go + fd_windows.go + hook_windows.go + sendfile_windows.go + sockopt.go + sockopt_windows.go + sockoptip.go ) ENDIF() - END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/profile/ya.make b/contrib/go/_std_1.21/src/internal/profile/ya.make index 9eca6a0cef..1021a68a50 100644 --- a/contrib/go/_std_1.21/src/internal/profile/ya.make +++ b/contrib/go/_std_1.21/src/internal/profile/ya.make @@ -1,21 +1,96 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - encode.go - filter.go - legacy_profile.go - merge.go - profile.go - proto.go - prune.go -) - -GO_TEST_SRCS( - profile_test.go - proto_test.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + encode.go + filter.go + legacy_profile.go + merge.go + profile.go + proto.go + prune.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + encode.go + filter.go + legacy_profile.go + merge.go + profile.go + proto.go + prune.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + encode.go + filter.go + legacy_profile.go + merge.go + profile.go + proto.go + prune.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + encode.go + filter.go + legacy_profile.go + merge.go + profile.go + proto.go + prune.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + encode.go + filter.go + legacy_profile.go + merge.go + profile.go + proto.go + prune.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + encode.go + filter.go + legacy_profile.go + merge.go + profile.go + proto.go + prune.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + encode.go + filter.go + legacy_profile.go + merge.go + profile.go + proto.go + prune.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + encode.go + filter.go + legacy_profile.go + merge.go + profile.go + proto.go + prune.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + encode.go + filter.go + legacy_profile.go + merge.go + profile.go + proto.go + prune.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/race/ya.make b/contrib/go/_std_1.21/src/internal/race/ya.make index 583bdcac52..e7b39e2415 100644 --- a/contrib/go/_std_1.21/src/internal/race/ya.make +++ b/contrib/go/_std_1.21/src/internal/race/ya.make @@ -20,5 +20,4 @@ ELSE() ) ENDIF() - END() diff --git a/contrib/go/_std_1.21/src/internal/reflectlite/ya.make b/contrib/go/_std_1.21/src/internal/reflectlite/ya.make index 522f75df00..873be22020 100644 --- a/contrib/go/_std_1.21/src/internal/reflectlite/ya.make +++ b/contrib/go/_std_1.21/src/internal/reflectlite/ya.make @@ -1,22 +1,69 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - asm.s - swapper.go - type.go - value.go -) - -GO_TEST_SRCS(export_test.go) - -GO_XTEST_SRCS( - all_test.go - reflect_mirror_test.go - set_test.go - tostring_test.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + asm.s + swapper.go + type.go + value.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + asm.s + swapper.go + type.go + value.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + asm.s + swapper.go + type.go + value.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + asm.s + swapper.go + type.go + value.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + asm.s + swapper.go + type.go + value.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + asm.s + swapper.go + type.go + value.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + asm.s + swapper.go + type.go + value.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + asm.s + swapper.go + type.go + value.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + asm.s + swapper.go + type.go + value.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/safefilepath/ya.make b/contrib/go/_std_1.21/src/internal/safefilepath/ya.make index e295083570..6c9824fa37 100644 --- a/contrib/go/_std_1.21/src/internal/safefilepath/ya.make +++ b/contrib/go/_std_1.21/src/internal/safefilepath/ya.make @@ -1,30 +1,51 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - path.go -) - -GO_XTEST_SRCS(path_test.go) - -IF (OS_LINUX) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( - path_other.go + path.go + path_other.go ) -ENDIF() - -IF (OS_DARWIN) +ELSEIF (OS_LINUX AND ARCH_ARM64) SRCS( - path_other.go + path.go + path_other.go ) -ENDIF() - -IF (OS_WINDOWS) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + path.go + path_other.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + path.go + path_other.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) SRCS( - path_windows.go + path.go + path_other.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + path.go + path_other.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + path.go + path_windows.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + path.go + path_windows.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + path.go + path_windows.go ) ENDIF() - END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/saferio/ya.make b/contrib/go/_std_1.21/src/internal/saferio/ya.make index 88c409fd91..42c67907f1 100644 --- a/contrib/go/_std_1.21/src/internal/saferio/ya.make +++ b/contrib/go/_std_1.21/src/internal/saferio/ya.make @@ -1,12 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - io.go -) - -GO_TEST_SRCS(io_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + io.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + io.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + io.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + io.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + io.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + io.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + io.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + io.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + io.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/singleflight/ya.make b/contrib/go/_std_1.21/src/internal/singleflight/ya.make index 9d1db31207..b3cfccd747 100644 --- a/contrib/go/_std_1.21/src/internal/singleflight/ya.make +++ b/contrib/go/_std_1.21/src/internal/singleflight/ya.make @@ -1,12 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - singleflight.go -) - -GO_TEST_SRCS(singleflight_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + singleflight.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + singleflight.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + singleflight.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + singleflight.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + singleflight.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + singleflight.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + singleflight.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + singleflight.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + singleflight.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/syscall/execenv/ya.make b/contrib/go/_std_1.21/src/internal/syscall/execenv/ya.make index 9cb1fb5ed7..7a31261688 100644 --- a/contrib/go/_std_1.21/src/internal/syscall/execenv/ya.make +++ b/contrib/go/_std_1.21/src/internal/syscall/execenv/ya.make @@ -1,21 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -IF (OS_LINUX) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( - execenv_default.go + execenv_default.go ) -ENDIF() - -IF (OS_DARWIN) +ELSEIF (OS_LINUX AND ARCH_ARM64) SRCS( - execenv_default.go + execenv_default.go ) -ENDIF() - -IF (OS_WINDOWS) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( - execenv_windows.go + execenv_default.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + execenv_default.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + execenv_default.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + execenv_default.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + execenv_windows.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + execenv_windows.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + execenv_windows.go ) ENDIF() - END() diff --git a/contrib/go/_std_1.21/src/internal/syscall/windows/registry/ya.make b/contrib/go/_std_1.21/src/internal/syscall/windows/registry/ya.make index 77018f9451..d0792c6c19 100644 --- a/contrib/go/_std_1.21/src/internal/syscall/windows/registry/ya.make +++ b/contrib/go/_std_1.21/src/internal/syscall/windows/registry/ya.make @@ -13,12 +13,6 @@ IF (OS_WINDOWS) zsyscall_windows.go ) - GO_TEST_SRCS(export_test.go) - - GO_XTEST_SRCS(registry_test.go) ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/syscall/windows/ya.make b/contrib/go/_std_1.21/src/internal/syscall/windows/ya.make index 00477394ac..541260e9bb 100644 --- a/contrib/go/_std_1.21/src/internal/syscall/windows/ya.make +++ b/contrib/go/_std_1.21/src/internal/syscall/windows/ya.make @@ -17,14 +17,10 @@ IF (OS_WINDOWS) zsyscall_windows.go ) - GO_XTEST_SRCS(exec_windows_test.go) ENDIF() END() -RECURSE( -) - IF (OS_WINDOWS) RECURSE( registry diff --git a/contrib/go/_std_1.21/src/internal/sysinfo/ya.make b/contrib/go/_std_1.21/src/internal/sysinfo/ya.make index 734edbe953..183820f3f9 100644 --- a/contrib/go/_std_1.21/src/internal/sysinfo/ya.make +++ b/contrib/go/_std_1.21/src/internal/sysinfo/ya.make @@ -1,7 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - sysinfo.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + sysinfo.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + sysinfo.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + sysinfo.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + sysinfo.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + sysinfo.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + sysinfo.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + sysinfo.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + sysinfo.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + sysinfo.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/testlog/ya.make b/contrib/go/_std_1.21/src/internal/testlog/ya.make index b135ad33f0..e88ed95a2a 100644 --- a/contrib/go/_std_1.21/src/internal/testlog/ya.make +++ b/contrib/go/_std_1.21/src/internal/testlog/ya.make @@ -1,8 +1,51 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - exit.go - log.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + exit.go + log.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + exit.go + log.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + exit.go + log.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + exit.go + log.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + exit.go + log.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + exit.go + log.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + exit.go + log.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + exit.go + log.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + exit.go + log.go + ) +ENDIF() END() diff --git a/contrib/go/_std_1.21/src/internal/types/errors/ya.make b/contrib/go/_std_1.21/src/internal/types/errors/ya.make index f4363060a8..975f2b96f2 100644 --- a/contrib/go/_std_1.21/src/internal/types/errors/ya.make +++ b/contrib/go/_std_1.21/src/internal/types/errors/ya.make @@ -1,13 +1,51 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - code_string.go - codes.go -) - -GO_XTEST_SRCS(codes_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + code_string.go + codes.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + code_string.go + codes.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + code_string.go + codes.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + code_string.go + codes.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + code_string.go + codes.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + code_string.go + codes.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + code_string.go + codes.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + code_string.go + codes.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + code_string.go + codes.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/unsafeheader/ya.make b/contrib/go/_std_1.21/src/internal/unsafeheader/ya.make index 268e61003d..c675a0f76b 100644 --- a/contrib/go/_std_1.21/src/internal/unsafeheader/ya.make +++ b/contrib/go/_std_1.21/src/internal/unsafeheader/ya.make @@ -1,12 +1,42 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - unsafeheader.go -) - -GO_XTEST_SRCS(unsafeheader_test.go) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + unsafeheader.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + unsafeheader.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + unsafeheader.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + unsafeheader.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + unsafeheader.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + unsafeheader.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + unsafeheader.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + unsafeheader.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + unsafeheader.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/xcoff/ya.make b/contrib/go/_std_1.21/src/internal/xcoff/ya.make index cd242eaf5f..becc5b6c14 100644 --- a/contrib/go/_std_1.21/src/internal/xcoff/ya.make +++ b/contrib/go/_std_1.21/src/internal/xcoff/ya.make @@ -1,17 +1,60 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - ar.go - file.go - xcoff.go -) - -GO_TEST_SRCS( - ar_test.go - file_test.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + ar.go + file.go + xcoff.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + ar.go + file.go + xcoff.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + ar.go + file.go + xcoff.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + ar.go + file.go + xcoff.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + ar.go + file.go + xcoff.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + ar.go + file.go + xcoff.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + ar.go + file.go + xcoff.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + ar.go + file.go + xcoff.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + ar.go + file.go + xcoff.go + ) +ENDIF() END() - -RECURSE( -) diff --git a/contrib/go/_std_1.21/src/internal/zstd/ya.make b/contrib/go/_std_1.21/src/internal/zstd/ya.make index 0290818f82..2929d41ca6 100644 --- a/contrib/go/_std_1.21/src/internal/zstd/ya.make +++ b/contrib/go/_std_1.21/src/internal/zstd/ya.make @@ -1,23 +1,96 @@ GO_LIBRARY() +IF (FALSE) + MESSAGE(FATAL this shall never happen) -SRCS( - bits.go - block.go - fse.go - huff.go - literals.go - xxhash.go - zstd.go -) - -GO_TEST_SRCS( - fse_test.go - fuzz_test.go - xxhash_test.go - zstd_test.go -) - +ELSEIF (OS_LINUX AND ARCH_X86_64) + SRCS( + bits.go + block.go + fse.go + huff.go + literals.go + xxhash.go + zstd.go + ) +ELSEIF (OS_LINUX AND ARCH_ARM64) + SRCS( + bits.go + block.go + fse.go + huff.go + literals.go + xxhash.go + zstd.go + ) +ELSEIF (OS_LINUX AND ARCH_AARCH64) + SRCS( + bits.go + block.go + fse.go + huff.go + literals.go + xxhash.go + zstd.go + ) +ELSEIF (OS_DARWIN AND ARCH_X86_64) + SRCS( + bits.go + block.go + fse.go + huff.go + literals.go + xxhash.go + zstd.go + ) +ELSEIF (OS_DARWIN AND ARCH_ARM64) + SRCS( + bits.go + block.go + fse.go + huff.go + literals.go + xxhash.go + zstd.go + ) +ELSEIF (OS_DARWIN AND ARCH_AARCH64) + SRCS( + bits.go + block.go + fse.go + huff.go + literals.go + xxhash.go + zstd.go + ) +ELSEIF (OS_WINDOWS AND ARCH_X86_64) + SRCS( + bits.go + block.go + fse.go + huff.go + literals.go + xxhash.go + zstd.go + ) +ELSEIF (OS_WINDOWS AND ARCH_ARM64) + SRCS( + bits.go + block.go + fse.go + huff.go + literals.go + xxhash.go + zstd.go + ) +ELSEIF (OS_WINDOWS AND ARCH_AARCH64) + SRCS( + bits.go + block.go + fse.go + huff.go + literals.go + xxhash.go + zstd.go + ) +ENDIF() END() - -RECURSE( -) |