diff options
author | Alexander Smirnov <alex@ydb.tech> | 2024-01-31 17:22:33 +0300 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2024-01-31 17:22:33 +0300 |
commit | 52be5dbdd420165c68e7e90ba8f1d2f00da041f6 (patch) | |
tree | 5d47f5b2ff4e6a7c8e75d33931a1e683949b7229 /contrib | |
parent | ea57c8867ceca391357c3c5ffcc5ba6738b49adc (diff) | |
parent | 809f0cf2fdfddfbeacc2256ffdbaaf5808ce5ed4 (diff) | |
download | ydb-52be5dbdd420165c68e7e90ba8f1d2f00da041f6.tar.gz |
Merge branch 'mergelibs12' into main
Diffstat (limited to 'contrib')
256 files changed, 1610 insertions, 8366 deletions
diff --git a/contrib/go/_std_1.21/src/archive/zip/ya.make b/contrib/go/_std_1.21/src/archive/zip/ya.make index 868af6f449..9345858bfa 100644 --- a/contrib/go/_std_1.21/src/archive/zip/ya.make +++ b/contrib/go/_std_1.21/src/archive/zip/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - reader.go - register.go - struct.go - writer.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - reader.go - register.go - struct.go - writer.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( reader.go register.go @@ -30,14 +13,14 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) struct.go writer.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( reader.go register.go struct.go writer.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( reader.go register.go @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) struct.go writer.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - reader.go - register.go - struct.go - writer.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - reader.go - register.go - struct.go - writer.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/bufio/ya.make b/contrib/go/_std_1.21/src/bufio/ya.make index d470a370f0..e9fe3cec38 100644 --- a/contrib/go/_std_1.21/src/bufio/ya.make +++ b/contrib/go/_std_1.21/src/bufio/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - bufio.go - scan.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - bufio.go - scan.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( bufio.go scan.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) bufio.go scan.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( bufio.go scan.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( bufio.go scan.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) bufio.go scan.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - bufio.go - scan.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - bufio.go - scan.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/bytes/ya.make b/contrib/go/_std_1.21/src/bytes/ya.make index 5832573e18..1c398e9f98 100644 --- a/contrib/go/_std_1.21/src/bytes/ya.make +++ b/contrib/go/_std_1.21/src/bytes/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - buffer.go - bytes.go - reader.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - buffer.go - bytes.go - reader.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( buffer.go bytes.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) bytes.go reader.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( buffer.go bytes.go reader.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( buffer.go bytes.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) bytes.go reader.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - buffer.go - bytes.go - reader.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - buffer.go - bytes.go - reader.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/cmp/ya.make b/contrib/go/_std_1.21/src/cmp/ya.make index 0d62320adb..1d08a8c4f6 100644 --- a/contrib/go/_std_1.21/src/cmp/ya.make +++ b/contrib/go/_std_1.21/src/cmp/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - cmp.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - cmp.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( cmp.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( cmp.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( cmp.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( cmp.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( cmp.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - cmp.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - cmp.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/compress/flate/ya.make b/contrib/go/_std_1.21/src/compress/flate/ya.make index eae68c2f08..b3eb834650 100644 --- a/contrib/go/_std_1.21/src/compress/flate/ya.make +++ b/contrib/go/_std_1.21/src/compress/flate/ya.make @@ -1,28 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - deflate.go - deflatefast.go - dict_decoder.go - huffman_bit_writer.go - huffman_code.go - inflate.go - token.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - deflate.go - deflatefast.go - dict_decoder.go - huffman_bit_writer.go - huffman_code.go - inflate.go - token.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( deflate.go deflatefast.go @@ -42,7 +19,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) inflate.go token.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( deflate.go deflatefast.go @@ -52,7 +29,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) inflate.go token.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( deflate.go deflatefast.go @@ -72,25 +49,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) inflate.go token.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - deflate.go - deflatefast.go - dict_decoder.go - huffman_bit_writer.go - huffman_code.go - inflate.go - token.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - deflate.go - deflatefast.go - dict_decoder.go - huffman_bit_writer.go - huffman_code.go - inflate.go - token.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/compress/gzip/ya.make b/contrib/go/_std_1.21/src/compress/gzip/ya.make index e80e908156..e20fb09ea4 100644 --- a/contrib/go/_std_1.21/src/compress/gzip/ya.make +++ b/contrib/go/_std_1.21/src/compress/gzip/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - gunzip.go - gzip.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - gunzip.go - gzip.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( gunzip.go gzip.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) gunzip.go gzip.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( gunzip.go gzip.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( gunzip.go gzip.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) gunzip.go gzip.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - gunzip.go - gzip.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - gunzip.go - gzip.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/compress/zlib/ya.make b/contrib/go/_std_1.21/src/compress/zlib/ya.make index 8526ee5f3b..917154adbf 100644 --- a/contrib/go/_std_1.21/src/compress/zlib/ya.make +++ b/contrib/go/_std_1.21/src/compress/zlib/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - reader.go - writer.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - reader.go - writer.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( reader.go writer.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) reader.go writer.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( reader.go writer.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( reader.go writer.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) reader.go writer.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - reader.go - writer.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - reader.go - writer.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/container/heap/ya.make b/contrib/go/_std_1.21/src/container/heap/ya.make index 3917d78231..a0b93ba37b 100644 --- a/contrib/go/_std_1.21/src/container/heap/ya.make +++ b/contrib/go/_std_1.21/src/container/heap/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - heap.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - heap.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( heap.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( heap.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( heap.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( heap.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( heap.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - heap.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - heap.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/container/list/ya.make b/contrib/go/_std_1.21/src/container/list/ya.make index 20a6df2547..3a5e062767 100644 --- a/contrib/go/_std_1.21/src/container/list/ya.make +++ b/contrib/go/_std_1.21/src/container/list/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - list.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - list.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( list.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( list.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( list.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( list.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( list.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - list.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - list.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/context/ya.make b/contrib/go/_std_1.21/src/context/ya.make index 53e0f9d12b..55ab546313 100644 --- a/contrib/go/_std_1.21/src/context/ya.make +++ b/contrib/go/_std_1.21/src/context/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - context.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - context.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( context.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( context.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( context.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( context.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( context.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - context.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - context.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/aes/ya.make b/contrib/go/_std_1.21/src/crypto/aes/ya.make index 1182f71222..cd7e7f58d8 100644 --- a/contrib/go/_std_1.21/src/crypto/aes/ya.make +++ b/contrib/go/_std_1.21/src/crypto/aes/ya.make @@ -1,30 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - aes_gcm.go - asm_amd64.s - block.go - cipher.go - cipher_asm.go - const.go - gcm_amd64.s - modes.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - aes_gcm.go - asm_arm64.s - block.go - cipher.go - cipher_asm.go - const.go - gcm_arm64.s - modes.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( aes_gcm.go asm_arm64.s @@ -46,7 +21,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) gcm_amd64.s modes.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( aes_gcm.go asm_arm64.s @@ -57,15 +32,15 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) gcm_arm64.s modes.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( aes_gcm.go - asm_arm64.s + asm_amd64.s block.go cipher.go cipher_asm.go const.go - gcm_arm64.s + gcm_amd64.s modes.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) @@ -79,27 +54,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) gcm_amd64.s modes.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - aes_gcm.go - asm_arm64.s - block.go - cipher.go - cipher_asm.go - const.go - gcm_arm64.s - modes.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - aes_gcm.go - asm_arm64.s - block.go - cipher.go - cipher_asm.go - const.go - gcm_arm64.s - modes.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/cipher/ya.make b/contrib/go/_std_1.21/src/crypto/cipher/ya.make index 12c720606f..fef0aa8479 100644 --- a/contrib/go/_std_1.21/src/crypto/cipher/ya.make +++ b/contrib/go/_std_1.21/src/crypto/cipher/ya.make @@ -1,28 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - cbc.go - cfb.go - cipher.go - ctr.go - gcm.go - io.go - ofb.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - cbc.go - cfb.go - cipher.go - ctr.go - gcm.go - io.go - ofb.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( cbc.go cfb.go @@ -42,7 +19,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) io.go ofb.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( cbc.go cfb.go @@ -52,7 +29,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) io.go ofb.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( cbc.go cfb.go @@ -72,25 +49,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) io.go ofb.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - cbc.go - cfb.go - cipher.go - ctr.go - gcm.go - io.go - ofb.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - cbc.go - cfb.go - cipher.go - ctr.go - gcm.go - io.go - ofb.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/des/ya.make b/contrib/go/_std_1.21/src/crypto/des/ya.make index fed8887ea1..6092d714a5 100644 --- a/contrib/go/_std_1.21/src/crypto/des/ya.make +++ b/contrib/go/_std_1.21/src/crypto/des/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - block.go - cipher.go - const.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - block.go - cipher.go - const.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( block.go cipher.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) cipher.go const.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( block.go cipher.go const.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( block.go cipher.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) cipher.go const.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - block.go - cipher.go - const.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - block.go - cipher.go - const.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/dsa/ya.make b/contrib/go/_std_1.21/src/crypto/dsa/ya.make index 4364896dc4..4df078c314 100644 --- a/contrib/go/_std_1.21/src/crypto/dsa/ya.make +++ b/contrib/go/_std_1.21/src/crypto/dsa/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - dsa.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - dsa.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( dsa.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( dsa.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( dsa.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( dsa.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( dsa.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - dsa.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - dsa.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/ecdh/ya.make b/contrib/go/_std_1.21/src/crypto/ecdh/ya.make index 32c4363efc..0c5a000c8c 100644 --- a/contrib/go/_std_1.21/src/crypto/ecdh/ya.make +++ b/contrib/go/_std_1.21/src/crypto/ecdh/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - ecdh.go - nist.go - x25519.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - ecdh.go - nist.go - x25519.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( ecdh.go nist.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) nist.go x25519.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( ecdh.go nist.go x25519.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( ecdh.go nist.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) nist.go x25519.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - ecdh.go - nist.go - x25519.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - ecdh.go - nist.go - x25519.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/ecdsa/ya.make b/contrib/go/_std_1.21/src/crypto/ecdsa/ya.make index 102981b803..34b8cf9b4f 100644 --- a/contrib/go/_std_1.21/src/crypto/ecdsa/ya.make +++ b/contrib/go/_std_1.21/src/crypto/ecdsa/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - ecdsa.go - ecdsa_legacy.go - ecdsa_noasm.go - notboring.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - ecdsa.go - ecdsa_legacy.go - ecdsa_noasm.go - notboring.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( ecdsa.go ecdsa_legacy.go @@ -30,14 +13,14 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) ecdsa_noasm.go notboring.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( ecdsa.go ecdsa_legacy.go ecdsa_noasm.go notboring.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( ecdsa.go ecdsa_legacy.go @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) ecdsa_noasm.go notboring.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - ecdsa.go - ecdsa_legacy.go - ecdsa_noasm.go - notboring.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - ecdsa.go - ecdsa_legacy.go - ecdsa_noasm.go - notboring.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/ed25519/ya.make b/contrib/go/_std_1.21/src/crypto/ed25519/ya.make index cf648ccf23..d3a150deb6 100644 --- a/contrib/go/_std_1.21/src/crypto/ed25519/ya.make +++ b/contrib/go/_std_1.21/src/crypto/ed25519/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - ed25519.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - ed25519.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( ed25519.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( ed25519.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( ed25519.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( ed25519.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( ed25519.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - ed25519.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - ed25519.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/elliptic/ya.make b/contrib/go/_std_1.21/src/crypto/elliptic/ya.make index 202d3a7b70..f6f7e6020d 100644 --- a/contrib/go/_std_1.21/src/crypto/elliptic/ya.make +++ b/contrib/go/_std_1.21/src/crypto/elliptic/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - elliptic.go - nistec.go - nistec_p256.go - params.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - elliptic.go - nistec.go - nistec_p256.go - params.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( elliptic.go nistec.go @@ -30,14 +13,14 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) nistec_p256.go params.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( elliptic.go nistec.go nistec_p256.go params.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( elliptic.go nistec.go @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) nistec_p256.go params.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - elliptic.go - nistec.go - nistec_p256.go - params.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - elliptic.go - nistec.go - nistec_p256.go - params.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/hmac/ya.make b/contrib/go/_std_1.21/src/crypto/hmac/ya.make index edbf066bb4..ebd9b9e91b 100644 --- a/contrib/go/_std_1.21/src/crypto/hmac/ya.make +++ b/contrib/go/_std_1.21/src/crypto/hmac/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - hmac.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - hmac.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( hmac.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( hmac.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( hmac.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( hmac.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( hmac.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - hmac.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - hmac.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/internal/alias/ya.make b/contrib/go/_std_1.21/src/crypto/internal/alias/ya.make index 2af7fd4551..80830f4c9b 100644 --- a/contrib/go/_std_1.21/src/crypto/internal/alias/ya.make +++ b/contrib/go/_std_1.21/src/crypto/internal/alias/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - alias.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - alias.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( alias.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( alias.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( alias.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( alias.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( alias.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - alias.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - alias.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/internal/bigmod/ya.make b/contrib/go/_std_1.21/src/crypto/internal/bigmod/ya.make index ae122c3512..4f162fda3c 100644 --- a/contrib/go/_std_1.21/src/crypto/internal/bigmod/ya.make +++ b/contrib/go/_std_1.21/src/crypto/internal/bigmod/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - nat.go - nat_amd64.s - nat_asm.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - nat.go - nat_arm64.s - nat_asm.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( nat.go nat_arm64.s @@ -26,16 +11,16 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) nat_amd64.s nat_asm.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( nat.go nat_arm64.s nat_asm.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( nat.go - nat_arm64.s + nat_amd64.s nat_asm.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) @@ -44,18 +29,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) nat_amd64.s nat_asm.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - nat.go - nat_arm64.s - nat_asm.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - nat.go - nat_arm64.s - nat_asm.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/internal/boring/bbig/ya.make b/contrib/go/_std_1.21/src/crypto/internal/boring/bbig/ya.make index abdeae0b29..e01405b04c 100644 --- a/contrib/go/_std_1.21/src/crypto/internal/boring/bbig/ya.make +++ b/contrib/go/_std_1.21/src/crypto/internal/boring/bbig/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - big.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - big.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( big.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( big.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( big.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( big.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( big.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - big.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - big.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/internal/boring/bcache/ya.make b/contrib/go/_std_1.21/src/crypto/internal/boring/bcache/ya.make index d40b86492f..9482a33ce8 100644 --- a/contrib/go/_std_1.21/src/crypto/internal/boring/bcache/ya.make +++ b/contrib/go/_std_1.21/src/crypto/internal/boring/bcache/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - cache.go - stub.s - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - cache.go - stub.s - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( cache.go stub.s @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) cache.go stub.s ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( cache.go stub.s ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( cache.go stub.s @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) cache.go stub.s ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - cache.go - stub.s - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - cache.go - stub.s - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/internal/boring/sig/ya.make b/contrib/go/_std_1.21/src/crypto/internal/boring/sig/ya.make index 1f065bec13..1331586f61 100644 --- a/contrib/go/_std_1.21/src/crypto/internal/boring/sig/ya.make +++ b/contrib/go/_std_1.21/src/crypto/internal/boring/sig/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - sig.go - sig_amd64.s - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - sig.go - sig_other.s - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( sig.go sig_other.s @@ -22,30 +9,20 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) sig.go sig_amd64.s ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( sig.go sig_other.s ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( sig.go - sig_other.s + sig_amd64.s ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( sig.go sig_amd64.s ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - sig.go - sig_other.s - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - sig.go - sig_other.s - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/internal/boring/ya.make b/contrib/go/_std_1.21/src/crypto/internal/boring/ya.make index 121540a053..f5b2fe82bb 100644 --- a/contrib/go/_std_1.21/src/crypto/internal/boring/ya.make +++ b/contrib/go/_std_1.21/src/crypto/internal/boring/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - doc.go - notboring.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - doc.go - notboring.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( doc.go notboring.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) doc.go notboring.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( doc.go notboring.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( doc.go notboring.go @@ -37,16 +24,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) doc.go notboring.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - doc.go - notboring.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - doc.go - notboring.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/internal/edwards25519/field/ya.make b/contrib/go/_std_1.21/src/crypto/internal/edwards25519/field/ya.make index 55a250e3ad..ef2a810680 100644 --- a/contrib/go/_std_1.21/src/crypto/internal/edwards25519/field/ya.make +++ b/contrib/go/_std_1.21/src/crypto/internal/edwards25519/field/ya.make @@ -1,24 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - fe.go - fe_amd64.go - fe_amd64.s - fe_arm64_noasm.go - fe_generic.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - fe.go - fe_amd64_noasm.go - fe_arm64.go - fe_arm64.s - fe_generic.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( fe.go fe_amd64_noasm.go @@ -34,7 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) fe_arm64_noasm.go fe_generic.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( fe.go fe_amd64_noasm.go @@ -42,12 +23,12 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) fe_arm64.s fe_generic.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( fe.go - fe_amd64_noasm.go - fe_arm64.go - fe_arm64.s + fe_amd64.go + fe_amd64.s + fe_arm64_noasm.go fe_generic.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) @@ -58,22 +39,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) fe_arm64_noasm.go fe_generic.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - fe.go - fe_amd64_noasm.go - fe_arm64.go - fe_arm64.s - fe_generic.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - fe.go - fe_amd64_noasm.go - fe_arm64.go - fe_arm64.s - fe_generic.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/internal/edwards25519/ya.make b/contrib/go/_std_1.21/src/crypto/internal/edwards25519/ya.make index 212853da3c..fa58666d66 100644 --- a/contrib/go/_std_1.21/src/crypto/internal/edwards25519/ya.make +++ b/contrib/go/_std_1.21/src/crypto/internal/edwards25519/ya.make @@ -1,26 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - doc.go - edwards25519.go - scalar.go - scalar_fiat.go - scalarmult.go - tables.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - doc.go - edwards25519.go - scalar.go - scalar_fiat.go - scalarmult.go - tables.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( doc.go edwards25519.go @@ -38,7 +17,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) scalarmult.go tables.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( doc.go edwards25519.go @@ -47,7 +26,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) scalarmult.go tables.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( doc.go edwards25519.go @@ -65,24 +44,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) scalarmult.go tables.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - doc.go - edwards25519.go - scalar.go - scalar_fiat.go - scalarmult.go - tables.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - doc.go - edwards25519.go - scalar.go - scalar_fiat.go - scalarmult.go - tables.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/internal/nistec/fiat/ya.make b/contrib/go/_std_1.21/src/crypto/internal/nistec/fiat/ya.make index e17ddb7e4b..acbd24df21 100644 --- a/contrib/go/_std_1.21/src/crypto/internal/nistec/fiat/ya.make +++ b/contrib/go/_std_1.21/src/crypto/internal/nistec/fiat/ya.make @@ -1,38 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - p224.go - p224_fiat64.go - p224_invert.go - p256.go - p256_fiat64.go - p256_invert.go - p384.go - p384_fiat64.go - p384_invert.go - p521.go - p521_fiat64.go - p521_invert.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - p224.go - p224_fiat64.go - p224_invert.go - p256.go - p256_fiat64.go - p256_invert.go - p384.go - p384_fiat64.go - p384_invert.go - p521.go - p521_fiat64.go - p521_invert.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( p224.go p224_fiat64.go @@ -62,7 +29,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) p521_fiat64.go p521_invert.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( p224.go p224_fiat64.go @@ -77,7 +44,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) p521_fiat64.go p521_invert.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( p224.go p224_fiat64.go @@ -107,35 +74,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) p521_fiat64.go p521_invert.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - p224.go - p224_fiat64.go - p224_invert.go - p256.go - p256_fiat64.go - p256_invert.go - p384.go - p384_fiat64.go - p384_invert.go - p521.go - p521_fiat64.go - p521_invert.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - p224.go - p224_fiat64.go - p224_invert.go - p256.go - p256_fiat64.go - p256_invert.go - p384.go - p384_fiat64.go - p384_invert.go - p521.go - p521_fiat64.go - p521_invert.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/internal/nistec/ya.make b/contrib/go/_std_1.21/src/crypto/internal/nistec/ya.make index 24053e723a..228501c605 100644 --- a/contrib/go/_std_1.21/src/crypto/internal/nistec/ya.make +++ b/contrib/go/_std_1.21/src/crypto/internal/nistec/ya.make @@ -1,34 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - nistec.go - p224.go - p224_sqrt.go - p256_asm.go - p256_asm_amd64.s - p256_ordinv.go - p384.go - p521.go - ) - - GO_EMBED_PATTERN(p256_asm_table.bin) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - nistec.go - p224.go - p224_sqrt.go - p256_asm.go - p256_asm_arm64.s - p256_ordinv.go - p384.go - p521.go - ) - - GO_EMBED_PATTERN(p256_asm_table.bin) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( nistec.go p224.go @@ -54,7 +25,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) ) GO_EMBED_PATTERN(p256_asm_table.bin) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( nistec.go p224.go @@ -67,13 +38,13 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) ) GO_EMBED_PATTERN(p256_asm_table.bin) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( nistec.go p224.go p224_sqrt.go p256_asm.go - p256_asm_arm64.s + p256_asm_amd64.s p256_ordinv.go p384.go p521.go @@ -93,32 +64,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) ) GO_EMBED_PATTERN(p256_asm_table.bin) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - nistec.go - p224.go - p224_sqrt.go - p256_asm.go - p256_asm_arm64.s - p256_ordinv.go - p384.go - p521.go - ) - - GO_EMBED_PATTERN(p256_asm_table.bin) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - nistec.go - p224.go - p224_sqrt.go - p256_asm.go - p256_asm_arm64.s - p256_ordinv.go - p384.go - p521.go - ) - - GO_EMBED_PATTERN(p256_asm_table.bin) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/internal/randutil/ya.make b/contrib/go/_std_1.21/src/crypto/internal/randutil/ya.make index 931334b636..996474e440 100644 --- a/contrib/go/_std_1.21/src/crypto/internal/randutil/ya.make +++ b/contrib/go/_std_1.21/src/crypto/internal/randutil/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - randutil.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - randutil.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( randutil.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( randutil.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( randutil.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( randutil.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( randutil.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - randutil.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - randutil.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/md5/ya.make b/contrib/go/_std_1.21/src/crypto/md5/ya.make index e593f8d077..ac72581228 100644 --- a/contrib/go/_std_1.21/src/crypto/md5/ya.make +++ b/contrib/go/_std_1.21/src/crypto/md5/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - md5.go - md5block.go - md5block_amd64.s - md5block_decl.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - md5.go - md5block.go - md5block_arm64.s - md5block_decl.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( md5.go md5block.go @@ -30,18 +13,18 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) md5block_amd64.s md5block_decl.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( md5.go md5block.go md5block_arm64.s md5block_decl.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( md5.go md5block.go - md5block_arm64.s + md5block_amd64.s md5block_decl.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) md5block_amd64.s md5block_decl.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - md5.go - md5block.go - md5block_arm64.s - md5block_decl.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - md5.go - md5block.go - md5block_arm64.s - md5block_decl.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/rand/ya.make b/contrib/go/_std_1.21/src/crypto/rand/ya.make index dec39ab791..e5aeb691d3 100644 --- a/contrib/go/_std_1.21/src/crypto/rand/ya.make +++ b/contrib/go/_std_1.21/src/crypto/rand/ya.make @@ -1,25 +1,8 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - rand.go - rand_getrandom.go - rand_unix.go - util.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - rand.go - rand_getrandom.go - rand_unix.go - util.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( rand.go - rand_getrandom.go + rand_getentropy.go rand_unix.go util.go ) @@ -30,17 +13,17 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) rand_unix.go util.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( rand.go - rand_getentropy.go + rand_getrandom.go rand_unix.go util.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( rand.go - rand_getentropy.go + rand_getrandom.go rand_unix.go util.go ) @@ -50,17 +33,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) rand_windows.go util.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - rand.go - rand_windows.go - util.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - rand.go - rand_windows.go - util.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/rc4/ya.make b/contrib/go/_std_1.21/src/crypto/rc4/ya.make index e7e36364f1..dedd644e60 100644 --- a/contrib/go/_std_1.21/src/crypto/rc4/ya.make +++ b/contrib/go/_std_1.21/src/crypto/rc4/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - rc4.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - rc4.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( rc4.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( rc4.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( rc4.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( rc4.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( rc4.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - rc4.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - rc4.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/rsa/ya.make b/contrib/go/_std_1.21/src/crypto/rsa/ya.make index 3ee14e7a5d..9306d10bb3 100644 --- a/contrib/go/_std_1.21/src/crypto/rsa/ya.make +++ b/contrib/go/_std_1.21/src/crypto/rsa/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - notboring.go - pkcs1v15.go - pss.go - rsa.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - notboring.go - pkcs1v15.go - pss.go - rsa.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( notboring.go pkcs1v15.go @@ -30,14 +13,14 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) pss.go rsa.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( notboring.go pkcs1v15.go pss.go rsa.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( notboring.go pkcs1v15.go @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) pss.go rsa.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - notboring.go - pkcs1v15.go - pss.go - rsa.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - notboring.go - pkcs1v15.go - pss.go - rsa.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/sha256/ya.make b/contrib/go/_std_1.21/src/crypto/sha256/ya.make index d9c63f5d0c..2ad76cefe4 100644 --- a/contrib/go/_std_1.21/src/crypto/sha256/ya.make +++ b/contrib/go/_std_1.21/src/crypto/sha256/ya.make @@ -1,23 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - sha256.go - sha256block.go - sha256block_amd64.go - sha256block_amd64.s - sha256block_decl.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - sha256.go - sha256block.go - sha256block_arm64.go - sha256block_arm64.s - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( sha256.go sha256block.go @@ -32,19 +14,20 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) sha256block_amd64.s sha256block_decl.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( sha256.go sha256block.go sha256block_arm64.go sha256block_arm64.s ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( sha256.go sha256block.go - sha256block_arm64.go - sha256block_arm64.s + sha256block_amd64.go + sha256block_amd64.s + sha256block_decl.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( @@ -54,19 +37,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) sha256block_amd64.s sha256block_decl.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - sha256.go - sha256block.go - sha256block_arm64.go - sha256block_arm64.s - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - sha256.go - sha256block.go - sha256block_arm64.go - sha256block_arm64.s - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/sha512/ya.make b/contrib/go/_std_1.21/src/crypto/sha512/ya.make index 4ab05e965e..4f27c59d6e 100644 --- a/contrib/go/_std_1.21/src/crypto/sha512/ya.make +++ b/contrib/go/_std_1.21/src/crypto/sha512/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - sha512.go - sha512block.go - sha512block_amd64.go - sha512block_amd64.s - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - sha512.go - sha512block.go - sha512block_arm64.go - sha512block_arm64.s - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( sha512.go sha512block.go @@ -30,19 +13,19 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) sha512block_amd64.go sha512block_amd64.s ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( sha512.go sha512block.go sha512block_arm64.go sha512block_arm64.s ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( sha512.go sha512block.go - sha512block_arm64.go - sha512block_arm64.s + sha512block_amd64.go + sha512block_amd64.s ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) sha512block_amd64.go sha512block_amd64.s ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - sha512.go - sha512block.go - sha512block_arm64.go - sha512block_arm64.s - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - sha512.go - sha512block.go - sha512block_arm64.go - sha512block_arm64.s - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/subtle/ya.make b/contrib/go/_std_1.21/src/crypto/subtle/ya.make index 71a48c89cc..bb2d3d0ddb 100644 --- a/contrib/go/_std_1.21/src/crypto/subtle/ya.make +++ b/contrib/go/_std_1.21/src/crypto/subtle/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - constant_time.go - xor.go - xor_amd64.go - xor_amd64.s - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - constant_time.go - xor.go - xor_arm64.go - xor_arm64.s - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( constant_time.go xor.go @@ -30,19 +13,19 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) xor_amd64.go xor_amd64.s ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( constant_time.go xor.go xor_arm64.go xor_arm64.s ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( constant_time.go xor.go - xor_arm64.go - xor_arm64.s + xor_amd64.go + xor_amd64.s ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) xor_amd64.go xor_amd64.s ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - constant_time.go - xor.go - xor_arm64.go - xor_arm64.s - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - constant_time.go - xor.go - xor_arm64.go - xor_arm64.s - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/tls/ya.make b/contrib/go/_std_1.21/src/crypto/tls/ya.make index d149a98160..e78e1be59c 100644 --- a/contrib/go/_std_1.21/src/crypto/tls/ya.make +++ b/contrib/go/_std_1.21/src/crypto/tls/ya.make @@ -1,52 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - alert.go - auth.go - cache.go - cipher_suites.go - common.go - common_string.go - conn.go - handshake_client.go - handshake_client_tls13.go - handshake_messages.go - handshake_server.go - handshake_server_tls13.go - key_agreement.go - key_schedule.go - notboring.go - prf.go - quic.go - ticket.go - tls.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - alert.go - auth.go - cache.go - cipher_suites.go - common.go - common_string.go - conn.go - handshake_client.go - handshake_client_tls13.go - handshake_messages.go - handshake_server.go - handshake_server_tls13.go - key_agreement.go - key_schedule.go - notboring.go - prf.go - quic.go - ticket.go - tls.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( alert.go auth.go @@ -90,7 +43,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) ticket.go tls.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( alert.go auth.go @@ -112,7 +65,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) ticket.go tls.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( alert.go auth.go @@ -156,50 +109,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) ticket.go tls.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - alert.go - auth.go - cache.go - cipher_suites.go - common.go - common_string.go - conn.go - handshake_client.go - handshake_client_tls13.go - handshake_messages.go - handshake_server.go - handshake_server_tls13.go - key_agreement.go - key_schedule.go - notboring.go - prf.go - quic.go - ticket.go - tls.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - alert.go - auth.go - cache.go - cipher_suites.go - common.go - common_string.go - conn.go - handshake_client.go - handshake_client_tls13.go - handshake_messages.go - handshake_server.go - handshake_server_tls13.go - key_agreement.go - key_schedule.go - notboring.go - prf.go - quic.go - ticket.go - tls.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/x509/internal/macos/ya.make b/contrib/go/_std_1.21/src/crypto/x509/internal/macos/ya.make index 1c9ad3665c..33ff1ff9d9 100644 --- a/contrib/go/_std_1.21/src/crypto/x509/internal/macos/ya.make +++ b/contrib/go/_std_1.21/src/crypto/x509/internal/macos/ya.make @@ -1,22 +1,12 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_DARWIN AND ARCH_X86_64) - SRCS( - corefoundation.go - corefoundation.s - security.go - security.s - ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( corefoundation.go corefoundation.s security.go security.s ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( corefoundation.go corefoundation.s diff --git a/contrib/go/_std_1.21/src/crypto/x509/pkix/ya.make b/contrib/go/_std_1.21/src/crypto/x509/pkix/ya.make index 65a12b26e0..a7c4920759 100644 --- a/contrib/go/_std_1.21/src/crypto/x509/pkix/ya.make +++ b/contrib/go/_std_1.21/src/crypto/x509/pkix/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - pkix.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - pkix.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( pkix.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( pkix.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( pkix.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( pkix.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( pkix.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - pkix.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - pkix.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/x509/ya.make b/contrib/go/_std_1.21/src/crypto/x509/ya.make index 38c6e32c59..e13e312a1a 100644 --- a/contrib/go/_std_1.21/src/crypto/x509/ya.make +++ b/contrib/go/_std_1.21/src/crypto/x509/ya.make @@ -1,8 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( cert_pool.go notboring.go @@ -11,13 +8,12 @@ ELSEIF (OS_LINUX AND ARCH_X86_64) pkcs1.go pkcs8.go root.go - root_linux.go - root_unix.go + root_darwin.go sec1.go verify.go x509.go ) -ELSEIF (OS_LINUX AND ARCH_ARM64) +ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( cert_pool.go notboring.go @@ -26,8 +22,7 @@ ELSEIF (OS_LINUX AND ARCH_ARM64) pkcs1.go pkcs8.go root.go - root_linux.go - root_unix.go + root_darwin.go sec1.go verify.go x509.go @@ -47,35 +42,7 @@ ELSEIF (OS_LINUX AND ARCH_AARCH64) verify.go x509.go ) -ELSEIF (OS_DARWIN AND ARCH_X86_64) - SRCS( - cert_pool.go - notboring.go - parser.go - pem_decrypt.go - pkcs1.go - pkcs8.go - root.go - root_darwin.go - sec1.go - verify.go - x509.go - ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) - SRCS( - cert_pool.go - notboring.go - parser.go - pem_decrypt.go - pkcs1.go - pkcs8.go - root.go - root_darwin.go - sec1.go - verify.go - x509.go - ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( cert_pool.go notboring.go @@ -84,7 +51,8 @@ ELSEIF (OS_DARWIN AND ARCH_AARCH64) pkcs1.go pkcs8.go root.go - root_darwin.go + root_linux.go + root_unix.go sec1.go verify.go x509.go @@ -103,34 +71,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) verify.go x509.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - cert_pool.go - notboring.go - parser.go - pem_decrypt.go - pkcs1.go - pkcs8.go - root.go - root_windows.go - sec1.go - verify.go - x509.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - cert_pool.go - notboring.go - parser.go - pem_decrypt.go - pkcs1.go - pkcs8.go - root.go - root_windows.go - sec1.go - verify.go - x509.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/crypto/ya.make b/contrib/go/_std_1.21/src/crypto/ya.make index b4d37f2e7f..11bc07140b 100644 --- a/contrib/go/_std_1.21/src/crypto/ya.make +++ b/contrib/go/_std_1.21/src/crypto/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - crypto.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - crypto.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( crypto.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( crypto.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( crypto.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( crypto.go ) @@ -30,14 +19,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( crypto.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - crypto.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - crypto.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/database/sql/driver/ya.make b/contrib/go/_std_1.21/src/database/sql/driver/ya.make index 3da0bea158..d79ab8f05c 100644 --- a/contrib/go/_std_1.21/src/database/sql/driver/ya.make +++ b/contrib/go/_std_1.21/src/database/sql/driver/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - driver.go - types.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - driver.go - types.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( driver.go types.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) driver.go types.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( driver.go types.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( driver.go types.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) driver.go types.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - driver.go - types.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - driver.go - types.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/debug/dwarf/ya.make b/contrib/go/_std_1.21/src/debug/dwarf/ya.make index aa7cf9ee34..d41f57886d 100644 --- a/contrib/go/_std_1.21/src/debug/dwarf/ya.make +++ b/contrib/go/_std_1.21/src/debug/dwarf/ya.make @@ -1,36 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - attr_string.go - buf.go - class_string.go - const.go - entry.go - line.go - open.go - tag_string.go - type.go - typeunit.go - unit.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - attr_string.go - buf.go - class_string.go - const.go - entry.go - line.go - open.go - tag_string.go - type.go - typeunit.go - unit.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( attr_string.go buf.go @@ -58,7 +27,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) typeunit.go unit.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( attr_string.go buf.go @@ -72,7 +41,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) typeunit.go unit.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( attr_string.go buf.go @@ -100,33 +69,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) typeunit.go unit.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - attr_string.go - buf.go - class_string.go - const.go - entry.go - line.go - open.go - tag_string.go - type.go - typeunit.go - unit.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - attr_string.go - buf.go - class_string.go - const.go - entry.go - line.go - open.go - tag_string.go - type.go - typeunit.go - unit.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/debug/elf/ya.make b/contrib/go/_std_1.21/src/debug/elf/ya.make index 7a6a42dac2..076bad38a9 100644 --- a/contrib/go/_std_1.21/src/debug/elf/ya.make +++ b/contrib/go/_std_1.21/src/debug/elf/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - elf.go - file.go - reader.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - elf.go - file.go - reader.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( elf.go file.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) file.go reader.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( elf.go file.go reader.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( elf.go file.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) file.go reader.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - elf.go - file.go - reader.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - elf.go - file.go - reader.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/embed/ya.make b/contrib/go/_std_1.21/src/embed/ya.make index 7b3aa9bb3c..e1fea1f059 100644 --- a/contrib/go/_std_1.21/src/embed/ya.make +++ b/contrib/go/_std_1.21/src/embed/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - embed.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - embed.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( embed.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( embed.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( embed.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( embed.go ) @@ -30,14 +19,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( embed.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - embed.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - embed.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/encoding/ascii85/ya.make b/contrib/go/_std_1.21/src/encoding/ascii85/ya.make index 5f954656d1..46011c9932 100644 --- a/contrib/go/_std_1.21/src/encoding/ascii85/ya.make +++ b/contrib/go/_std_1.21/src/encoding/ascii85/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - ascii85.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - ascii85.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( ascii85.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( ascii85.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( ascii85.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( ascii85.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( ascii85.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - ascii85.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - ascii85.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/encoding/asn1/ya.make b/contrib/go/_std_1.21/src/encoding/asn1/ya.make index 6ed79e19cd..e6b92b5077 100644 --- a/contrib/go/_std_1.21/src/encoding/asn1/ya.make +++ b/contrib/go/_std_1.21/src/encoding/asn1/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - asn1.go - common.go - marshal.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - asn1.go - common.go - marshal.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( asn1.go common.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) common.go marshal.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( asn1.go common.go marshal.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( asn1.go common.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) common.go marshal.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - asn1.go - common.go - marshal.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - asn1.go - common.go - marshal.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/encoding/base32/ya.make b/contrib/go/_std_1.21/src/encoding/base32/ya.make index df093e7c83..10b87904df 100644 --- a/contrib/go/_std_1.21/src/encoding/base32/ya.make +++ b/contrib/go/_std_1.21/src/encoding/base32/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - base32.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - base32.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( base32.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( base32.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( base32.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( base32.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( base32.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - base32.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - base32.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/encoding/base64/ya.make b/contrib/go/_std_1.21/src/encoding/base64/ya.make index 3dd6410924..f2d34b905e 100644 --- a/contrib/go/_std_1.21/src/encoding/base64/ya.make +++ b/contrib/go/_std_1.21/src/encoding/base64/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - base64.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - base64.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( base64.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( base64.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( base64.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( base64.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( base64.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - base64.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - base64.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/encoding/binary/ya.make b/contrib/go/_std_1.21/src/encoding/binary/ya.make index 6ca351d38d..4fb5c67382 100644 --- a/contrib/go/_std_1.21/src/encoding/binary/ya.make +++ b/contrib/go/_std_1.21/src/encoding/binary/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - binary.go - native_endian_little.go - varint.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - binary.go - native_endian_little.go - varint.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( binary.go native_endian_little.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) native_endian_little.go varint.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( binary.go native_endian_little.go varint.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( binary.go native_endian_little.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) native_endian_little.go varint.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - binary.go - native_endian_little.go - varint.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - binary.go - native_endian_little.go - varint.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/encoding/csv/ya.make b/contrib/go/_std_1.21/src/encoding/csv/ya.make index 8526ee5f3b..917154adbf 100644 --- a/contrib/go/_std_1.21/src/encoding/csv/ya.make +++ b/contrib/go/_std_1.21/src/encoding/csv/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - reader.go - writer.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - reader.go - writer.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( reader.go writer.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) reader.go writer.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( reader.go writer.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( reader.go writer.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) reader.go writer.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - reader.go - writer.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - reader.go - writer.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/encoding/gob/ya.make b/contrib/go/_std_1.21/src/encoding/gob/ya.make index 6b093063c6..15977ca550 100644 --- a/contrib/go/_std_1.21/src/encoding/gob/ya.make +++ b/contrib/go/_std_1.21/src/encoding/gob/ya.make @@ -1,32 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - dec_helpers.go - decode.go - decoder.go - doc.go - enc_helpers.go - encode.go - encoder.go - error.go - type.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - dec_helpers.go - decode.go - decoder.go - doc.go - enc_helpers.go - encode.go - encoder.go - error.go - type.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( dec_helpers.go decode.go @@ -50,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) error.go type.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( dec_helpers.go decode.go @@ -62,7 +35,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) error.go type.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( dec_helpers.go decode.go @@ -86,29 +59,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) error.go type.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - dec_helpers.go - decode.go - decoder.go - doc.go - enc_helpers.go - encode.go - encoder.go - error.go - type.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - dec_helpers.go - decode.go - decoder.go - doc.go - enc_helpers.go - encode.go - encoder.go - error.go - type.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/encoding/hex/ya.make b/contrib/go/_std_1.21/src/encoding/hex/ya.make index d5d8da6e10..8ef2027e6c 100644 --- a/contrib/go/_std_1.21/src/encoding/hex/ya.make +++ b/contrib/go/_std_1.21/src/encoding/hex/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - hex.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - hex.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( hex.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( hex.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( hex.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( hex.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( hex.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - hex.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - hex.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/encoding/json/ya.make b/contrib/go/_std_1.21/src/encoding/json/ya.make index e34fdfffc7..8d6e1eefc1 100644 --- a/contrib/go/_std_1.21/src/encoding/json/ya.make +++ b/contrib/go/_std_1.21/src/encoding/json/ya.make @@ -1,30 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - decode.go - encode.go - fold.go - indent.go - scanner.go - stream.go - tables.go - tags.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - decode.go - encode.go - fold.go - indent.go - scanner.go - stream.go - tables.go - tags.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( decode.go encode.go @@ -46,7 +21,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) tables.go tags.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( decode.go encode.go @@ -57,7 +32,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) tables.go tags.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( decode.go encode.go @@ -79,27 +54,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) tables.go tags.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - decode.go - encode.go - fold.go - indent.go - scanner.go - stream.go - tables.go - tags.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - decode.go - encode.go - fold.go - indent.go - scanner.go - stream.go - tables.go - tags.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/encoding/pem/ya.make b/contrib/go/_std_1.21/src/encoding/pem/ya.make index 2316f36bbe..2d6a4b3aca 100644 --- a/contrib/go/_std_1.21/src/encoding/pem/ya.make +++ b/contrib/go/_std_1.21/src/encoding/pem/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - pem.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - pem.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( pem.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( pem.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( pem.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( pem.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( pem.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - pem.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - pem.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/encoding/xml/ya.make b/contrib/go/_std_1.21/src/encoding/xml/ya.make index a4d86d7125..6ecefafcde 100644 --- a/contrib/go/_std_1.21/src/encoding/xml/ya.make +++ b/contrib/go/_std_1.21/src/encoding/xml/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - marshal.go - read.go - typeinfo.go - xml.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - marshal.go - read.go - typeinfo.go - xml.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( marshal.go read.go @@ -30,14 +13,14 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) typeinfo.go xml.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( marshal.go read.go typeinfo.go xml.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( marshal.go read.go @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) typeinfo.go xml.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - marshal.go - read.go - typeinfo.go - xml.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - marshal.go - read.go - typeinfo.go - xml.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/encoding/ya.make b/contrib/go/_std_1.21/src/encoding/ya.make index 7f94b74bab..b8ca3eb474 100644 --- a/contrib/go/_std_1.21/src/encoding/ya.make +++ b/contrib/go/_std_1.21/src/encoding/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - encoding.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - encoding.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( encoding.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( encoding.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( encoding.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( encoding.go ) @@ -30,14 +19,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( encoding.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - encoding.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - encoding.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/errors/ya.make b/contrib/go/_std_1.21/src/errors/ya.make index 609f0a1dd7..cfb34e3669 100644 --- a/contrib/go/_std_1.21/src/errors/ya.make +++ b/contrib/go/_std_1.21/src/errors/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - errors.go - join.go - wrap.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - errors.go - join.go - wrap.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( errors.go join.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) join.go wrap.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( errors.go join.go wrap.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( errors.go join.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) join.go wrap.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - errors.go - join.go - wrap.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - errors.go - join.go - wrap.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/flag/ya.make b/contrib/go/_std_1.21/src/flag/ya.make index 6190fe23a0..9840e68001 100644 --- a/contrib/go/_std_1.21/src/flag/ya.make +++ b/contrib/go/_std_1.21/src/flag/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - flag.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - flag.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( flag.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( flag.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( flag.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( flag.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( flag.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - flag.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - flag.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/fmt/ya.make b/contrib/go/_std_1.21/src/fmt/ya.make index e9d15398ba..6fae98f157 100644 --- a/contrib/go/_std_1.21/src/fmt/ya.make +++ b/contrib/go/_std_1.21/src/fmt/ya.make @@ -1,24 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - doc.go - errors.go - format.go - print.go - scan.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - doc.go - errors.go - format.go - print.go - scan.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( doc.go errors.go @@ -34,7 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) print.go scan.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( doc.go errors.go @@ -42,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) print.go scan.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( doc.go errors.go @@ -58,21 +39,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) print.go scan.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - doc.go - errors.go - format.go - print.go - scan.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - doc.go - errors.go - format.go - print.go - scan.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/ast/ya.make b/contrib/go/_std_1.21/src/go/ast/ya.make index 0e176b4afd..2a6a6c778d 100644 --- a/contrib/go/_std_1.21/src/go/ast/ya.make +++ b/contrib/go/_std_1.21/src/go/ast/ya.make @@ -1,30 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - ast.go - commentmap.go - filter.go - import.go - print.go - resolve.go - scope.go - walk.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - ast.go - commentmap.go - filter.go - import.go - print.go - resolve.go - scope.go - walk.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( ast.go commentmap.go @@ -46,7 +21,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) scope.go walk.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( ast.go commentmap.go @@ -57,7 +32,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) scope.go walk.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( ast.go commentmap.go @@ -79,27 +54,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) scope.go walk.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - ast.go - commentmap.go - filter.go - import.go - print.go - resolve.go - scope.go - walk.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - ast.go - commentmap.go - filter.go - import.go - print.go - resolve.go - scope.go - walk.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/build/constraint/ya.make b/contrib/go/_std_1.21/src/go/build/constraint/ya.make index b1b5b76a7d..e0da92fba7 100644 --- a/contrib/go/_std_1.21/src/go/build/constraint/ya.make +++ b/contrib/go/_std_1.21/src/go/build/constraint/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - expr.go - vers.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - expr.go - vers.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( expr.go vers.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) expr.go vers.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( expr.go vers.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( expr.go vers.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) expr.go vers.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - expr.go - vers.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - expr.go - vers.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/build/ya.make b/contrib/go/_std_1.21/src/go/build/ya.make index 3db73a6ebd..65430fae42 100644 --- a/contrib/go/_std_1.21/src/go/build/ya.make +++ b/contrib/go/_std_1.21/src/go/build/ya.make @@ -1,26 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - build.go - doc.go - gc.go - read.go - syslist.go - zcgo.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - build.go - doc.go - gc.go - read.go - syslist.go - zcgo.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( build.go doc.go @@ -38,7 +17,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) syslist.go zcgo.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( build.go doc.go @@ -47,7 +26,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) syslist.go zcgo.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( build.go doc.go @@ -65,24 +44,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) syslist.go zcgo.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - build.go - doc.go - gc.go - read.go - syslist.go - zcgo.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - build.go - doc.go - gc.go - read.go - syslist.go - zcgo.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/constant/ya.make b/contrib/go/_std_1.21/src/go/constant/ya.make index af4fe9204b..798b600154 100644 --- a/contrib/go/_std_1.21/src/go/constant/ya.make +++ b/contrib/go/_std_1.21/src/go/constant/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - kind_string.go - value.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - kind_string.go - value.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( kind_string.go value.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) kind_string.go value.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( kind_string.go value.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( kind_string.go value.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) kind_string.go value.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - kind_string.go - value.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - kind_string.go - value.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/doc/comment/ya.make b/contrib/go/_std_1.21/src/go/doc/comment/ya.make index a5457e4b1f..fe8b6b9632 100644 --- a/contrib/go/_std_1.21/src/go/doc/comment/ya.make +++ b/contrib/go/_std_1.21/src/go/doc/comment/ya.make @@ -1,28 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - doc.go - html.go - markdown.go - parse.go - print.go - std.go - text.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - doc.go - html.go - markdown.go - parse.go - print.go - std.go - text.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( doc.go html.go @@ -42,7 +19,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) std.go text.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( doc.go html.go @@ -52,7 +29,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) std.go text.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( doc.go html.go @@ -72,25 +49,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) std.go text.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - doc.go - html.go - markdown.go - parse.go - print.go - std.go - text.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - doc.go - html.go - markdown.go - parse.go - print.go - std.go - text.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/doc/ya.make b/contrib/go/_std_1.21/src/go/doc/ya.make index dae1d9dc68..81bb608660 100644 --- a/contrib/go/_std_1.21/src/go/doc/ya.make +++ b/contrib/go/_std_1.21/src/go/doc/ya.make @@ -1,28 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - comment.go - doc.go - example.go - exports.go - filter.go - reader.go - synopsis.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - comment.go - doc.go - example.go - exports.go - filter.go - reader.go - synopsis.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( comment.go doc.go @@ -42,7 +19,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) reader.go synopsis.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( comment.go doc.go @@ -52,7 +29,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) reader.go synopsis.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( comment.go doc.go @@ -72,26 +49,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) reader.go synopsis.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - comment.go - doc.go - example.go - exports.go - filter.go - reader.go - synopsis.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - comment.go - doc.go - example.go - exports.go - filter.go - reader.go - synopsis.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/format/ya.make b/contrib/go/_std_1.21/src/go/format/ya.make index 111ca5077b..b33618937a 100644 --- a/contrib/go/_std_1.21/src/go/format/ya.make +++ b/contrib/go/_std_1.21/src/go/format/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - format.go - internal.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - format.go - internal.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( format.go internal.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) format.go internal.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( format.go internal.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( format.go internal.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) format.go internal.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - format.go - internal.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - format.go - internal.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/importer/ya.make b/contrib/go/_std_1.21/src/go/importer/ya.make index cb6c2ff509..a725b77113 100644 --- a/contrib/go/_std_1.21/src/go/importer/ya.make +++ b/contrib/go/_std_1.21/src/go/importer/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - importer.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - importer.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( importer.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( importer.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( importer.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( importer.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( importer.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - importer.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - importer.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/internal/gccgoimporter/ya.make b/contrib/go/_std_1.21/src/go/internal/gccgoimporter/ya.make index b77c100d03..6d4063f590 100644 --- a/contrib/go/_std_1.21/src/go/internal/gccgoimporter/ya.make +++ b/contrib/go/_std_1.21/src/go/internal/gccgoimporter/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - ar.go - gccgoinstallation.go - importer.go - parser.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - ar.go - gccgoinstallation.go - importer.go - parser.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( ar.go gccgoinstallation.go @@ -30,14 +13,14 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) importer.go parser.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( ar.go gccgoinstallation.go importer.go parser.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( ar.go gccgoinstallation.go @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) importer.go parser.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - ar.go - gccgoinstallation.go - importer.go - parser.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - ar.go - gccgoinstallation.go - importer.go - parser.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/internal/gcimporter/ya.make b/contrib/go/_std_1.21/src/go/internal/gcimporter/ya.make index f42548d257..f1843bf159 100644 --- a/contrib/go/_std_1.21/src/go/internal/gcimporter/ya.make +++ b/contrib/go/_std_1.21/src/go/internal/gcimporter/ya.make @@ -1,24 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - exportdata.go - gcimporter.go - iimport.go - support.go - ureader.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - exportdata.go - gcimporter.go - iimport.go - support.go - ureader.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( exportdata.go gcimporter.go @@ -34,7 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) support.go ureader.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( exportdata.go gcimporter.go @@ -42,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) support.go ureader.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( exportdata.go gcimporter.go @@ -58,21 +39,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) support.go ureader.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - exportdata.go - gcimporter.go - iimport.go - support.go - ureader.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - exportdata.go - gcimporter.go - iimport.go - support.go - ureader.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/internal/srcimporter/ya.make b/contrib/go/_std_1.21/src/go/internal/srcimporter/ya.make index a57253e82e..71345d63ef 100644 --- a/contrib/go/_std_1.21/src/go/internal/srcimporter/ya.make +++ b/contrib/go/_std_1.21/src/go/internal/srcimporter/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - srcimporter.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - srcimporter.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( srcimporter.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( srcimporter.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( srcimporter.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( srcimporter.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( srcimporter.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - srcimporter.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - srcimporter.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/internal/typeparams/ya.make b/contrib/go/_std_1.21/src/go/internal/typeparams/ya.make index 4713a33722..40df6c1ef8 100644 --- a/contrib/go/_std_1.21/src/go/internal/typeparams/ya.make +++ b/contrib/go/_std_1.21/src/go/internal/typeparams/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - typeparams.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - typeparams.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( typeparams.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( typeparams.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( typeparams.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( typeparams.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( typeparams.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - typeparams.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - typeparams.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/parser/ya.make b/contrib/go/_std_1.21/src/go/parser/ya.make index 3ed24dae75..733115901a 100644 --- a/contrib/go/_std_1.21/src/go/parser/ya.make +++ b/contrib/go/_std_1.21/src/go/parser/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - interface.go - parser.go - resolver.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - interface.go - parser.go - resolver.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( interface.go parser.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) parser.go resolver.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( interface.go parser.go resolver.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( interface.go parser.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) parser.go resolver.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - interface.go - parser.go - resolver.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - interface.go - parser.go - resolver.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/printer/ya.make b/contrib/go/_std_1.21/src/go/printer/ya.make index b8a7c3eeb5..e9cdc6b56a 100644 --- a/contrib/go/_std_1.21/src/go/printer/ya.make +++ b/contrib/go/_std_1.21/src/go/printer/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - comment.go - gobuild.go - nodes.go - printer.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - comment.go - gobuild.go - nodes.go - printer.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( comment.go gobuild.go @@ -30,14 +13,14 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) nodes.go printer.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( comment.go gobuild.go nodes.go printer.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( comment.go gobuild.go @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) nodes.go printer.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - comment.go - gobuild.go - nodes.go - printer.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - comment.go - gobuild.go - nodes.go - printer.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/scanner/ya.make b/contrib/go/_std_1.21/src/go/scanner/ya.make index 34ae0ae8d7..3016058989 100644 --- a/contrib/go/_std_1.21/src/go/scanner/ya.make +++ b/contrib/go/_std_1.21/src/go/scanner/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - errors.go - scanner.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - errors.go - scanner.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( errors.go scanner.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) errors.go scanner.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( errors.go scanner.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( errors.go scanner.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) errors.go scanner.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - errors.go - scanner.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - errors.go - scanner.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/token/ya.make b/contrib/go/_std_1.21/src/go/token/ya.make index 3ee7b8e67f..eac682f433 100644 --- a/contrib/go/_std_1.21/src/go/token/ya.make +++ b/contrib/go/_std_1.21/src/go/token/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - position.go - serialize.go - token.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - position.go - serialize.go - token.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( position.go serialize.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) serialize.go token.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( position.go serialize.go token.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( position.go serialize.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) serialize.go token.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - position.go - serialize.go - token.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - position.go - serialize.go - token.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/go/types/ya.make b/contrib/go/_std_1.21/src/go/types/ya.make index 1329d2ddcb..d204d2abe6 100644 --- a/contrib/go/_std_1.21/src/go/types/ya.make +++ b/contrib/go/_std_1.21/src/go/types/ya.make @@ -1,136 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - api.go - array.go - assignments.go - basic.go - builtins.go - call.go - chan.go - check.go - const.go - context.go - conversions.go - decl.go - errors.go - eval.go - expr.go - exprstring.go - gccgosizes.go - generate.go - index.go - infer.go - initorder.go - instantiate.go - interface.go - labels.go - lookup.go - map.go - methodset.go - mono.go - named.go - object.go - objset.go - operand.go - package.go - pointer.go - predicates.go - resolver.go - return.go - scope.go - selection.go - signature.go - sizes.go - slice.go - stmt.go - struct.go - subst.go - termlist.go - tuple.go - type.go - typelists.go - typeparam.go - typeset.go - typestring.go - typeterm.go - typexpr.go - under.go - unify.go - union.go - universe.go - util.go - validtype.go - version.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - api.go - array.go - assignments.go - basic.go - builtins.go - call.go - chan.go - check.go - const.go - context.go - conversions.go - decl.go - errors.go - eval.go - expr.go - exprstring.go - gccgosizes.go - generate.go - index.go - infer.go - initorder.go - instantiate.go - interface.go - labels.go - lookup.go - map.go - methodset.go - mono.go - named.go - object.go - objset.go - operand.go - package.go - pointer.go - predicates.go - resolver.go - return.go - scope.go - selection.go - signature.go - sizes.go - slice.go - stmt.go - struct.go - subst.go - termlist.go - tuple.go - type.go - typelists.go - typeparam.go - typeset.go - typestring.go - typeterm.go - typexpr.go - under.go - unify.go - union.go - universe.go - util.go - validtype.go - version.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( api.go array.go @@ -258,7 +127,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) validtype.go version.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( api.go array.go @@ -322,7 +191,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) validtype.go version.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( api.go array.go @@ -450,133 +319,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) validtype.go version.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - api.go - array.go - assignments.go - basic.go - builtins.go - call.go - chan.go - check.go - const.go - context.go - conversions.go - decl.go - errors.go - eval.go - expr.go - exprstring.go - gccgosizes.go - generate.go - index.go - infer.go - initorder.go - instantiate.go - interface.go - labels.go - lookup.go - map.go - methodset.go - mono.go - named.go - object.go - objset.go - operand.go - package.go - pointer.go - predicates.go - resolver.go - return.go - scope.go - selection.go - signature.go - sizes.go - slice.go - stmt.go - struct.go - subst.go - termlist.go - tuple.go - type.go - typelists.go - typeparam.go - typeset.go - typestring.go - typeterm.go - typexpr.go - under.go - unify.go - union.go - universe.go - util.go - validtype.go - version.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - api.go - array.go - assignments.go - basic.go - builtins.go - call.go - chan.go - check.go - const.go - context.go - conversions.go - decl.go - errors.go - eval.go - expr.go - exprstring.go - gccgosizes.go - generate.go - index.go - infer.go - initorder.go - instantiate.go - interface.go - labels.go - lookup.go - map.go - methodset.go - mono.go - named.go - object.go - objset.go - operand.go - package.go - pointer.go - predicates.go - resolver.go - return.go - scope.go - selection.go - signature.go - sizes.go - slice.go - stmt.go - struct.go - subst.go - termlist.go - tuple.go - type.go - typelists.go - typeparam.go - typeset.go - typestring.go - typeterm.go - typexpr.go - under.go - unify.go - union.go - universe.go - util.go - validtype.go - version.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/hash/adler32/ya.make b/contrib/go/_std_1.21/src/hash/adler32/ya.make index 17b91589bb..2131c53874 100644 --- a/contrib/go/_std_1.21/src/hash/adler32/ya.make +++ b/contrib/go/_std_1.21/src/hash/adler32/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - adler32.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - adler32.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( adler32.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( adler32.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( adler32.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( adler32.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( adler32.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - adler32.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - adler32.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/hash/crc32/ya.make b/contrib/go/_std_1.21/src/hash/crc32/ya.make index c07bbbe919..7b84dd1c2b 100644 --- a/contrib/go/_std_1.21/src/hash/crc32/ya.make +++ b/contrib/go/_std_1.21/src/hash/crc32/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - crc32.go - crc32_amd64.go - crc32_amd64.s - crc32_generic.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - crc32.go - crc32_arm64.go - crc32_arm64.s - crc32_generic.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( crc32.go crc32_arm64.go @@ -30,18 +13,18 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) crc32_amd64.s crc32_generic.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( crc32.go crc32_arm64.go crc32_arm64.s crc32_generic.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( crc32.go - crc32_arm64.go - crc32_arm64.s + crc32_amd64.go + crc32_amd64.s crc32_generic.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) crc32_amd64.s crc32_generic.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - crc32.go - crc32_arm64.go - crc32_arm64.s - crc32_generic.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - crc32.go - crc32_arm64.go - crc32_arm64.s - crc32_generic.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/hash/crc64/ya.make b/contrib/go/_std_1.21/src/hash/crc64/ya.make index 3eff48604b..a9262bebac 100644 --- a/contrib/go/_std_1.21/src/hash/crc64/ya.make +++ b/contrib/go/_std_1.21/src/hash/crc64/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - crc64.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - crc64.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( crc64.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( crc64.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( crc64.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( crc64.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( crc64.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - crc64.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - crc64.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/hash/fnv/ya.make b/contrib/go/_std_1.21/src/hash/fnv/ya.make index a818380bf1..579b61daa5 100644 --- a/contrib/go/_std_1.21/src/hash/fnv/ya.make +++ b/contrib/go/_std_1.21/src/hash/fnv/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - fnv.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - fnv.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( fnv.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( fnv.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( fnv.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( fnv.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( fnv.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - fnv.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - fnv.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/hash/maphash/ya.make b/contrib/go/_std_1.21/src/hash/maphash/ya.make index c1810a6bb0..cb9ff4f50a 100644 --- a/contrib/go/_std_1.21/src/hash/maphash/ya.make +++ b/contrib/go/_std_1.21/src/hash/maphash/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - maphash.go - maphash_runtime.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - maphash.go - maphash_runtime.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( maphash.go maphash_runtime.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) maphash.go maphash_runtime.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( maphash.go maphash_runtime.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( maphash.go maphash_runtime.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) maphash.go maphash_runtime.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - maphash.go - maphash_runtime.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - maphash.go - maphash_runtime.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/hash/ya.make b/contrib/go/_std_1.21/src/hash/ya.make index 3cfec455de..d06206ac4b 100644 --- a/contrib/go/_std_1.21/src/hash/ya.make +++ b/contrib/go/_std_1.21/src/hash/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - hash.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - hash.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( hash.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( hash.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( hash.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( hash.go ) @@ -30,14 +19,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( hash.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - hash.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - hash.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/html/template/ya.make b/contrib/go/_std_1.21/src/html/template/ya.make index 1a9190a0b5..fcb64adde5 100644 --- a/contrib/go/_std_1.21/src/html/template/ya.make +++ b/contrib/go/_std_1.21/src/html/template/ya.make @@ -1,50 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - attr.go - attr_string.go - content.go - context.go - css.go - delim_string.go - doc.go - element_string.go - error.go - escape.go - html.go - js.go - jsctx_string.go - state_string.go - template.go - transition.go - url.go - urlpart_string.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - attr.go - attr_string.go - content.go - context.go - css.go - delim_string.go - doc.go - element_string.go - error.go - escape.go - html.go - js.go - jsctx_string.go - state_string.go - template.go - transition.go - url.go - urlpart_string.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( attr.go attr_string.go @@ -86,7 +41,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) url.go urlpart_string.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( attr.go attr_string.go @@ -107,7 +62,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) url.go urlpart_string.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( attr.go attr_string.go @@ -149,47 +104,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) url.go urlpart_string.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - attr.go - attr_string.go - content.go - context.go - css.go - delim_string.go - doc.go - element_string.go - error.go - escape.go - html.go - js.go - jsctx_string.go - state_string.go - template.go - transition.go - url.go - urlpart_string.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - attr.go - attr_string.go - content.go - context.go - css.go - delim_string.go - doc.go - element_string.go - error.go - escape.go - html.go - js.go - jsctx_string.go - state_string.go - template.go - transition.go - url.go - urlpart_string.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/html/ya.make b/contrib/go/_std_1.21/src/html/ya.make index bb9f0f8ed0..837669ff78 100644 --- a/contrib/go/_std_1.21/src/html/ya.make +++ b/contrib/go/_std_1.21/src/html/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - entity.go - escape.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - entity.go - escape.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( entity.go escape.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) entity.go escape.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( entity.go escape.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( entity.go escape.go @@ -37,16 +24,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) entity.go escape.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - entity.go - escape.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - entity.go - escape.go - ) ENDIF() END() 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 a9c33ffe7a..a2d0b67b1a 100644 --- a/contrib/go/_std_1.21/src/internal/abi/ya.make +++ b/contrib/go/_std_1.21/src/internal/abi/ya.make @@ -1,36 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX 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_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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( abi.go abi_arm64.go @@ -58,7 +27,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) type.go unsafestring_go120.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( abi.go abi_arm64.go @@ -72,10 +41,10 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) type.go unsafestring_go120.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( abi.go - abi_arm64.go + abi_amd64.go abi_test.s compiletype.go funcpc.go @@ -100,33 +69,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() 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 8670dbcd94..2ce7958a20 100644 --- a/contrib/go/_std_1.21/src/internal/bisect/ya.make +++ b/contrib/go/_std_1.21/src/internal/bisect/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( bisect.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( bisect.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( bisect.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( bisect.go ) @@ -30,13 +19,5 @@ 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 3b89f23a91..28879780de 100644 --- a/contrib/go/_std_1.21/src/internal/buildcfg/ya.make +++ b/contrib/go/_std_1.21/src/internal/buildcfg/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( cfg.go exp.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) exp.go zbootstrap.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( cfg.go exp.go zbootstrap.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( cfg.go exp.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() 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 8739cef5c6..54a9f632a6 100644 --- a/contrib/go/_std_1.21/src/internal/bytealg/ya.make +++ b/contrib/go/_std_1.21/src/internal/bytealg/ya.make @@ -1,40 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX 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_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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( bytealg.go compare_arm64.s @@ -66,7 +31,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) indexbyte_amd64.s indexbyte_native.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( bytealg.go compare_arm64.s @@ -82,20 +47,20 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) indexbyte_arm64.s indexbyte_native.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( bytealg.go - compare_arm64.s + compare_amd64.s compare_native.go - count_arm64.s + count_amd64.s count_native.go - equal_arm64.s + equal_amd64.s equal_generic.go equal_native.go - index_arm64.go - index_arm64.s + index_amd64.go + index_amd64.s index_native.go - indexbyte_arm64.s + indexbyte_amd64.s indexbyte_native.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) @@ -114,37 +79,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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 bab9306060..4dd6c4f61e 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,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( batchcounteralloc.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( batchcounteralloc.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( batchcounteralloc.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( batchcounteralloc.go ) @@ -30,13 +19,5 @@ 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 3b1ec6e020..b63c869d62 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,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( format.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( format.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( format.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( format.go ) @@ -30,13 +19,5 @@ 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() 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 aa462840d3..7e430d769c 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,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( merge.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( merge.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( merge.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( merge.go ) @@ -30,13 +19,5 @@ 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() 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 ae151058b6..f4f645af11 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,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( decodecounterfile.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( decodecounterfile.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( decodecounterfile.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( decodecounterfile.go ) @@ -30,13 +19,5 @@ 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 232427c081..ed4726e613 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,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( decode.go decodefile.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) decode.go decodefile.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( decode.go decodefile.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( decode.go decodefile.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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 1f729b3463..54fd36fec7 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,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( encode.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( encode.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( encode.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( encode.go ) @@ -30,13 +19,5 @@ 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 6660cfa5a6..b5c4d8335b 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,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( encode.go encodefile.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) encode.go encodefile.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( encode.go encodefile.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( encode.go encodefile.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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 692d991bd8..94ea30121e 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,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( pods.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( pods.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( pods.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( pods.go ) @@ -30,13 +19,5 @@ 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() 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 87b9e5d2f8..6936ebf777 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,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( rtcov.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( rtcov.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( rtcov.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( rtcov.go ) @@ -30,13 +19,5 @@ 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 d6dbecb587..96777d26e5 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,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( slicereader.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( slicereader.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( slicereader.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( slicereader.go ) @@ -30,13 +19,5 @@ 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() 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 5691f874aa..42cf877d52 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,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( slicewriter.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( slicewriter.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( slicewriter.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( slicewriter.go ) @@ -30,13 +19,5 @@ 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() 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 e8ed75ca21..3614be5508 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,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( stringtab.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( stringtab.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( stringtab.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( stringtab.go ) @@ -30,13 +19,5 @@ 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 13f14f64dc..89124dfce4 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,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( uleb128.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( uleb128.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( uleb128.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( uleb128.go ) @@ -30,13 +19,5 @@ 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 e80211fc8f..d4dd93f2d4 100644 --- a/contrib/go/_std_1.21/src/internal/coverage/ya.make +++ b/contrib/go/_std_1.21/src/internal/coverage/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( cmddefs.go defs.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) defs.go pkid.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( cmddefs.go defs.go pkid.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( cmddefs.go defs.go @@ -44,18 +29,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() 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 c5908e914f..b78d82e739 100644 --- a/contrib/go/_std_1.21/src/internal/cpu/ya.make +++ b/contrib/go/_std_1.21/src/internal/cpu/ya.make @@ -1,32 +1,11 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - cpu.go - cpu.s - cpu_x86.go - cpu_x86.s - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( cpu.go cpu.s cpu_arm64.go cpu_arm64.s - cpu_arm64_hwcap.go - cpu_arm64_linux.go - cpu_no_name.go - ) -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_arm64_darwin.go cpu_no_name.go ) ELSEIF (OS_DARWIN AND ARCH_X86_64) @@ -36,23 +15,22 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) cpu_x86.go cpu_x86.s ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( cpu.go cpu.s cpu_arm64.go cpu_arm64.s - cpu_arm64_darwin.go + cpu_arm64_hwcap.go + cpu_arm64_linux.go cpu_no_name.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( cpu.go cpu.s - cpu_arm64.go - cpu_arm64.s - cpu_arm64_darwin.go - cpu_no_name.go + cpu_x86.go + cpu_x86.s ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( @@ -61,23 +39,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() 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 1495e17bbe..f3f17b9e1e 100644 --- a/contrib/go/_std_1.21/src/internal/fmtsort/ya.make +++ b/contrib/go/_std_1.21/src/internal/fmtsort/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( sort.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( sort.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( sort.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( sort.go ) @@ -30,13 +19,5 @@ 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() 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 da45aaa1a6..4dd7f49d8b 100644 --- a/contrib/go/_std_1.21/src/internal/fuzz/ya.make +++ b/contrib/go/_std_1.21/src/internal/fuzz/ya.make @@ -1,40 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX 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_LINUX 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_posix.go - trace.go - worker.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( counters_supported.go coverage.go @@ -66,7 +31,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) trace.go worker.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( counters_supported.go coverage.go @@ -82,7 +47,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) trace.go worker.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( counters_supported.go coverage.go @@ -114,37 +79,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() 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 178aec34f9..a92619ee48 100644 --- a/contrib/go/_std_1.21/src/internal/goarch/ya.make +++ b/contrib/go/_std_1.21/src/internal/goarch/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - goarch.go - goarch_amd64.go - zgoarch_amd64.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - goarch.go - goarch_arm64.go - zgoarch_arm64.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( goarch.go goarch_arm64.go @@ -26,17 +11,17 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) goarch_amd64.go zgoarch_amd64.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( goarch.go goarch_arm64.go zgoarch_arm64.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( goarch.go - goarch_arm64.go - zgoarch_arm64.go + goarch_amd64.go + zgoarch_amd64.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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 b8a43b9716..17990fc219 100644 --- a/contrib/go/_std_1.21/src/internal/godebug/ya.make +++ b/contrib/go/_std_1.21/src/internal/godebug/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( godebug.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( godebug.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( godebug.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( godebug.go ) @@ -30,13 +19,5 @@ 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() 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 f0e8c277e3..efce5680d3 100644 --- a/contrib/go/_std_1.21/src/internal/godebugs/ya.make +++ b/contrib/go/_std_1.21/src/internal/godebugs/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( table.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( table.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( table.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( table.go ) @@ -30,13 +19,5 @@ 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() 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 f2c8718060..1e72b9b053 100644 --- a/contrib/go/_std_1.21/src/internal/goexperiment/ya.make +++ b/contrib/go/_std_1.21/src/internal/goexperiment/ya.make @@ -1,42 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( exp_arenas_off.go exp_boringcrypto_off.go @@ -70,7 +33,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) exp_staticlockranking_off.go flags.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( exp_arenas_off.go exp_boringcrypto_off.go @@ -87,7 +50,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) exp_staticlockranking_off.go flags.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( exp_arenas_off.go exp_boringcrypto_off.go @@ -121,39 +84,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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 bec3f865cb..2714d1876d 100644 --- a/contrib/go/_std_1.21/src/internal/goos/ya.make +++ b/contrib/go/_std_1.21/src/internal/goos/ya.make @@ -1,24 +1,9 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - goos.go - unix.go - zgoos_linux.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( goos.go unix.go - zgoos_linux.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) - SRCS( - goos.go - unix.go - zgoos_linux.go + zgoos_darwin.go ) ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( @@ -26,17 +11,17 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) unix.go zgoos_darwin.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( goos.go unix.go - zgoos_darwin.go + zgoos_linux.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( goos.go unix.go - zgoos_darwin.go + zgoos_linux.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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 227620fbe8..70b30a5573 100644 --- a/contrib/go/_std_1.21/src/internal/goroot/ya.make +++ b/contrib/go/_std_1.21/src/internal/goroot/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( gc.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( gc.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( gc.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( gc.go ) @@ -30,13 +19,5 @@ 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 0fbbf521bc..4282916c6e 100644 --- a/contrib/go/_std_1.21/src/internal/goversion/ya.make +++ b/contrib/go/_std_1.21/src/internal/goversion/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( goversion.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( goversion.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( goversion.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( goversion.go ) @@ -30,13 +19,5 @@ 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 c98cc0fb10..cc3f09f8f0 100644 --- a/contrib/go/_std_1.21/src/internal/intern/ya.make +++ b/contrib/go/_std_1.21/src/internal/intern/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( intern.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( intern.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( intern.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( intern.go ) @@ -30,13 +19,5 @@ 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() 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 32d50fbaa7..c5a6e4a053 100644 --- a/contrib/go/_std_1.21/src/internal/itoa/ya.make +++ b/contrib/go/_std_1.21/src/internal/itoa/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( itoa.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( itoa.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( itoa.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( itoa.go ) @@ -30,13 +19,5 @@ 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() 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 69c6031364..9a39f1b7de 100644 --- a/contrib/go/_std_1.21/src/internal/lazyregexp/ya.make +++ b/contrib/go/_std_1.21/src/internal/lazyregexp/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( lazyre.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( lazyre.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( lazyre.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( lazyre.go ) @@ -30,13 +19,5 @@ 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 8ee75860d3..02f39268e7 100644 --- a/contrib/go/_std_1.21/src/internal/nettrace/ya.make +++ b/contrib/go/_std_1.21/src/internal/nettrace/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( nettrace.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( nettrace.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( nettrace.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( nettrace.go ) @@ -30,13 +19,5 @@ 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 2111b9cd9b..dba287473f 100644 --- a/contrib/go/_std_1.21/src/internal/oserror/ya.make +++ b/contrib/go/_std_1.21/src/internal/oserror/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( errors.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( errors.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( errors.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( errors.go ) @@ -30,13 +19,5 @@ 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 49ebcf4ede..b09ada8de9 100644 --- a/contrib/go/_std_1.21/src/internal/pkgbits/ya.make +++ b/contrib/go/_std_1.21/src/internal/pkgbits/ya.make @@ -1,32 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( codes.go decoder.go @@ -50,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) sync.go syncmarker_string.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( codes.go decoder.go @@ -62,7 +35,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) sync.go syncmarker_string.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( codes.go decoder.go @@ -86,29 +59,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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 5bafe35794..66560d6836 100644 --- a/contrib/go/_std_1.21/src/internal/platform/ya.make +++ b/contrib/go/_std_1.21/src/internal/platform/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( supported.go zosarch.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) supported.go zosarch.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( supported.go zosarch.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( supported.go zosarch.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() 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 d52f4cff59..6dbd41f797 100644 --- a/contrib/go/_std_1.21/src/internal/poll/ya.make +++ b/contrib/go/_std_1.21/src/internal/poll/ya.make @@ -1,53 +1,44 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( - copy_file_range_linux.go errno_unix.go fd.go - fd_fsync_posix.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_unix.go - hook_cloexec.go + fd_writev_libc.go hook_unix.go iovec_unix.go - sendfile_linux.go - sock_cloexec.go + sendfile_bsd.go sockopt.go - sockopt_linux.go sockopt_unix.go sockoptip.go - splice_linux.go + sys_cloexec.go writev.go ) -ELSEIF (OS_LINUX AND ARCH_ARM64) +ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( - copy_file_range_linux.go errno_unix.go fd.go - fd_fsync_posix.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_unix.go - hook_cloexec.go + fd_writev_libc.go hook_unix.go iovec_unix.go - sendfile_linux.go - sock_cloexec_accept.go + sendfile_bsd.go sockopt.go - sockopt_linux.go sockopt_unix.go sockoptip.go - splice_linux.go + sys_cloexec.go writev.go ) ELSEIF (OS_LINUX AND ARCH_AARCH64) @@ -74,67 +65,28 @@ ELSEIF (OS_LINUX AND ARCH_AARCH64) splice_linux.go writev.go ) -ELSEIF (OS_DARWIN AND ARCH_X86_64) - 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_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) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( + copy_file_range_linux.go errno_unix.go fd.go - fd_fsync_darwin.go + fd_fsync_posix.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 + fd_writev_unix.go + hook_cloexec.go hook_unix.go iovec_unix.go - sendfile_bsd.go + sendfile_linux.go + sock_cloexec.go sockopt.go + sockopt_linux.go sockopt_unix.go sockoptip.go - sys_cloexec.go + splice_linux.go writev.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) @@ -152,35 +104,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() 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 1021a68a50..ea9a4a6d60 100644 --- a/contrib/go/_std_1.21/src/internal/profile/ya.make +++ b/contrib/go/_std_1.21/src/internal/profile/ya.make @@ -1,28 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( encode.go filter.go @@ -42,7 +19,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) proto.go prune.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( encode.go filter.go @@ -52,7 +29,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) proto.go prune.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( encode.go filter.go @@ -72,25 +49,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() 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 873be22020..ba8bb67087 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,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( asm.s swapper.go @@ -30,14 +13,14 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) type.go value.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( asm.s swapper.go type.go value.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( asm.s swapper.go @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() 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 6c9824fa37..7210f9a796 100644 --- a/contrib/go/_std_1.21/src/internal/safefilepath/ya.make +++ b/contrib/go/_std_1.21/src/internal/safefilepath/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - path.go - path_other.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - path.go - path_other.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( path.go path_other.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) path.go path_other.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( path.go path_other.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( path.go path_other.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() 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 42c67907f1..ff5b76b604 100644 --- a/contrib/go/_std_1.21/src/internal/saferio/ya.make +++ b/contrib/go/_std_1.21/src/internal/saferio/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( io.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( io.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( io.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( io.go ) @@ -30,13 +19,5 @@ 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() 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 b3cfccd747..20e591a0e4 100644 --- a/contrib/go/_std_1.21/src/internal/singleflight/ya.make +++ b/contrib/go/_std_1.21/src/internal/singleflight/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( singleflight.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( singleflight.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( singleflight.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( singleflight.go ) @@ -30,13 +19,5 @@ 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() 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 7a31261688..f3e0986c12 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,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - execenv_default.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - execenv_default.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( execenv_default.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( execenv_default.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( execenv_default.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( execenv_default.go ) @@ -30,13 +19,5 @@ 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/sysinfo/ya.make b/contrib/go/_std_1.21/src/internal/sysinfo/ya.make index 183820f3f9..760dbe8178 100644 --- a/contrib/go/_std_1.21/src/internal/sysinfo/ya.make +++ b/contrib/go/_std_1.21/src/internal/sysinfo/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( sysinfo.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( sysinfo.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( sysinfo.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( sysinfo.go ) @@ -30,13 +19,5 @@ 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 e88ed95a2a..5aeba79df6 100644 --- a/contrib/go/_std_1.21/src/internal/testlog/ya.make +++ b/contrib/go/_std_1.21/src/internal/testlog/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( exit.go log.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) exit.go log.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( exit.go log.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( exit.go log.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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 975f2b96f2..0fcb8c7292 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,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( code_string.go codes.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) code_string.go codes.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( code_string.go codes.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( code_string.go codes.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() 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 c675a0f76b..36399c2d29 100644 --- a/contrib/go/_std_1.21/src/internal/unsafeheader/ya.make +++ b/contrib/go/_std_1.21/src/internal/unsafeheader/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( unsafeheader.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( unsafeheader.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( unsafeheader.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( unsafeheader.go ) @@ -30,13 +19,5 @@ 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() 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 becc5b6c14..8ad472a24d 100644 --- a/contrib/go/_std_1.21/src/internal/xcoff/ya.make +++ b/contrib/go/_std_1.21/src/internal/xcoff/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( ar.go file.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) file.go xcoff.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( ar.go file.go xcoff.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( ar.go file.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() 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 2929d41ca6..980cc19f30 100644 --- a/contrib/go/_std_1.21/src/internal/zstd/ya.make +++ b/contrib/go/_std_1.21/src/internal/zstd/ya.make @@ -1,28 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -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) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( bits.go block.go @@ -42,7 +19,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) xxhash.go zstd.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( bits.go block.go @@ -52,7 +29,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) xxhash.go zstd.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( bits.go block.go @@ -72,25 +49,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) 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() diff --git a/contrib/go/_std_1.21/src/io/fs/ya.make b/contrib/go/_std_1.21/src/io/fs/ya.make index 59bf9f1b95..0c59cfd0af 100644 --- a/contrib/go/_std_1.21/src/io/fs/ya.make +++ b/contrib/go/_std_1.21/src/io/fs/ya.make @@ -1,30 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - format.go - fs.go - glob.go - readdir.go - readfile.go - stat.go - sub.go - walk.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - format.go - fs.go - glob.go - readdir.go - readfile.go - stat.go - sub.go - walk.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( format.go fs.go @@ -46,7 +21,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) sub.go walk.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( format.go fs.go @@ -57,7 +32,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) sub.go walk.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( format.go fs.go @@ -79,27 +54,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) sub.go walk.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - format.go - fs.go - glob.go - readdir.go - readfile.go - stat.go - sub.go - walk.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - format.go - fs.go - glob.go - readdir.go - readfile.go - stat.go - sub.go - walk.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/io/ioutil/ya.make b/contrib/go/_std_1.21/src/io/ioutil/ya.make index 8dbd6013e5..08d4de45d0 100644 --- a/contrib/go/_std_1.21/src/io/ioutil/ya.make +++ b/contrib/go/_std_1.21/src/io/ioutil/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - ioutil.go - tempfile.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - ioutil.go - tempfile.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( ioutil.go tempfile.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) ioutil.go tempfile.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( ioutil.go tempfile.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( ioutil.go tempfile.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) ioutil.go tempfile.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - ioutil.go - tempfile.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - ioutil.go - tempfile.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/io/ya.make b/contrib/go/_std_1.21/src/io/ya.make index 1e797e814d..8088b842aa 100644 --- a/contrib/go/_std_1.21/src/io/ya.make +++ b/contrib/go/_std_1.21/src/io/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - io.go - multi.go - pipe.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - io.go - multi.go - pipe.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( io.go multi.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) multi.go pipe.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( io.go multi.go pipe.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( io.go multi.go @@ -44,18 +29,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) multi.go pipe.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - io.go - multi.go - pipe.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - io.go - multi.go - pipe.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/log/internal/ya.make b/contrib/go/_std_1.21/src/log/internal/ya.make index 7c50112ee9..55f44526f9 100644 --- a/contrib/go/_std_1.21/src/log/internal/ya.make +++ b/contrib/go/_std_1.21/src/log/internal/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - internal.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - internal.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( internal.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( internal.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( internal.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( internal.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( internal.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - internal.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - internal.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/log/slog/internal/benchmarks/ya.make b/contrib/go/_std_1.21/src/log/slog/internal/benchmarks/ya.make index 6fa46f8e84..4c5ed013ac 100644 --- a/contrib/go/_std_1.21/src/log/slog/internal/benchmarks/ya.make +++ b/contrib/go/_std_1.21/src/log/slog/internal/benchmarks/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - benchmarks.go - handlers.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - benchmarks.go - handlers.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( benchmarks.go handlers.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) benchmarks.go handlers.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( benchmarks.go handlers.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( benchmarks.go handlers.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) benchmarks.go handlers.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - benchmarks.go - handlers.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - benchmarks.go - handlers.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/log/slog/internal/buffer/ya.make b/contrib/go/_std_1.21/src/log/slog/internal/buffer/ya.make index 313fb05454..5d57d61a39 100644 --- a/contrib/go/_std_1.21/src/log/slog/internal/buffer/ya.make +++ b/contrib/go/_std_1.21/src/log/slog/internal/buffer/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - buffer.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - buffer.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( buffer.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( buffer.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( buffer.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( buffer.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( buffer.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - buffer.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - buffer.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/log/slog/internal/slogtest/ya.make b/contrib/go/_std_1.21/src/log/slog/internal/slogtest/ya.make index b9c4d7c6f0..92233a470a 100644 --- a/contrib/go/_std_1.21/src/log/slog/internal/slogtest/ya.make +++ b/contrib/go/_std_1.21/src/log/slog/internal/slogtest/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - slogtest.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - slogtest.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( slogtest.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( slogtest.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( slogtest.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( slogtest.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( slogtest.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - slogtest.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - slogtest.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/log/slog/internal/ya.make b/contrib/go/_std_1.21/src/log/slog/internal/ya.make index 88a2c8dea5..f040efe248 100644 --- a/contrib/go/_std_1.21/src/log/slog/internal/ya.make +++ b/contrib/go/_std_1.21/src/log/slog/internal/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - ignorepc.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - ignorepc.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( ignorepc.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( ignorepc.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( ignorepc.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( ignorepc.go ) @@ -30,14 +19,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( ignorepc.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - ignorepc.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - ignorepc.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/log/slog/ya.make b/contrib/go/_std_1.21/src/log/slog/ya.make index a604e68b5b..fc359e0b7a 100644 --- a/contrib/go/_std_1.21/src/log/slog/ya.make +++ b/contrib/go/_std_1.21/src/log/slog/ya.make @@ -1,32 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - attr.go - doc.go - handler.go - json_handler.go - level.go - logger.go - record.go - text_handler.go - value.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - attr.go - doc.go - handler.go - json_handler.go - level.go - logger.go - record.go - text_handler.go - value.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( attr.go doc.go @@ -50,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) text_handler.go value.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( attr.go doc.go @@ -62,7 +35,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) text_handler.go value.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( attr.go doc.go @@ -86,30 +59,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) text_handler.go value.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - attr.go - doc.go - handler.go - json_handler.go - level.go - logger.go - record.go - text_handler.go - value.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - attr.go - doc.go - handler.go - json_handler.go - level.go - logger.go - record.go - text_handler.go - value.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/log/syslog/ya.make b/contrib/go/_std_1.21/src/log/syslog/ya.make index 8bb8b49b55..557af6f60a 100644 --- a/contrib/go/_std_1.21/src/log/syslog/ya.make +++ b/contrib/go/_std_1.21/src/log/syslog/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - doc.go - syslog.go - syslog_unix.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - doc.go - syslog.go - syslog_unix.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( doc.go syslog.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) syslog.go syslog_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( doc.go syslog.go syslog_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( doc.go syslog.go @@ -42,13 +27,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( doc.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - doc.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - doc.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/log/ya.make b/contrib/go/_std_1.21/src/log/ya.make index 6751aec2eb..47342cb863 100644 --- a/contrib/go/_std_1.21/src/log/ya.make +++ b/contrib/go/_std_1.21/src/log/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - log.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - log.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( log.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( log.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( log.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( log.go ) @@ -30,14 +19,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( log.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - log.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - log.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/math/big/ya.make b/contrib/go/_std_1.21/src/math/big/ya.make index aead06c059..cb4d61a19a 100644 --- a/contrib/go/_std_1.21/src/math/big/ya.make +++ b/contrib/go/_std_1.21/src/math/big/ya.make @@ -1,59 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - accuracy_string.go - arith.go - arith_amd64.go - arith_amd64.s - arith_decl.go - decimal.go - doc.go - float.go - floatconv.go - floatmarsh.go - ftoa.go - int.go - intconv.go - intmarsh.go - nat.go - natconv.go - natdiv.go - prime.go - rat.go - ratconv.go - ratmarsh.go - roundingmode_string.go - sqrt.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - accuracy_string.go - arith.go - arith_arm64.s - arith_decl.go - decimal.go - doc.go - float.go - floatconv.go - floatmarsh.go - ftoa.go - int.go - intconv.go - intmarsh.go - nat.go - natconv.go - natdiv.go - prime.go - rat.go - ratconv.go - ratmarsh.go - roundingmode_string.go - sqrt.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( accuracy_string.go arith.go @@ -104,7 +50,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) roundingmode_string.go sqrt.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( accuracy_string.go arith.go @@ -129,11 +75,12 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) roundingmode_string.go sqrt.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( accuracy_string.go arith.go - arith_arm64.s + arith_amd64.go + arith_amd64.s arith_decl.go decimal.go doc.go @@ -180,55 +127,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) roundingmode_string.go sqrt.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - accuracy_string.go - arith.go - arith_arm64.s - arith_decl.go - decimal.go - doc.go - float.go - floatconv.go - floatmarsh.go - ftoa.go - int.go - intconv.go - intmarsh.go - nat.go - natconv.go - natdiv.go - prime.go - rat.go - ratconv.go - ratmarsh.go - roundingmode_string.go - sqrt.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - accuracy_string.go - arith.go - arith_arm64.s - arith_decl.go - decimal.go - doc.go - float.go - floatconv.go - floatmarsh.go - ftoa.go - int.go - intconv.go - intmarsh.go - nat.go - natconv.go - natdiv.go - prime.go - rat.go - ratconv.go - ratmarsh.go - roundingmode_string.go - sqrt.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/math/bits/ya.make b/contrib/go/_std_1.21/src/math/bits/ya.make index 43dd531dfc..75a29b9642 100644 --- a/contrib/go/_std_1.21/src/math/bits/ya.make +++ b/contrib/go/_std_1.21/src/math/bits/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - bits.go - bits_errors.go - bits_tables.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - bits.go - bits_errors.go - bits_tables.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( bits.go bits_errors.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) bits_errors.go bits_tables.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( bits.go bits_errors.go bits_tables.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( bits.go bits_errors.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) bits_errors.go bits_tables.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - bits.go - bits_errors.go - bits_tables.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - bits.go - bits_errors.go - bits_tables.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/math/cmplx/ya.make b/contrib/go/_std_1.21/src/math/cmplx/ya.make index 4dd1401d3f..396fdf4ac9 100644 --- a/contrib/go/_std_1.21/src/math/cmplx/ya.make +++ b/contrib/go/_std_1.21/src/math/cmplx/ya.make @@ -1,42 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - abs.go - asin.go - conj.go - exp.go - isinf.go - isnan.go - log.go - phase.go - polar.go - pow.go - rect.go - sin.go - sqrt.go - tan.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - abs.go - asin.go - conj.go - exp.go - isinf.go - isnan.go - log.go - phase.go - polar.go - pow.go - rect.go - sin.go - sqrt.go - tan.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( abs.go asin.go @@ -70,7 +33,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) sqrt.go tan.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( abs.go asin.go @@ -87,7 +50,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) sqrt.go tan.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( abs.go asin.go @@ -121,39 +84,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) sqrt.go tan.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - abs.go - asin.go - conj.go - exp.go - isinf.go - isnan.go - log.go - phase.go - polar.go - pow.go - rect.go - sin.go - sqrt.go - tan.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - abs.go - asin.go - conj.go - exp.go - isinf.go - isnan.go - log.go - phase.go - polar.go - pow.go - rect.go - sin.go - sqrt.go - tan.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/math/rand/ya.make b/contrib/go/_std_1.21/src/math/rand/ya.make index c00405f972..8cfd099f94 100644 --- a/contrib/go/_std_1.21/src/math/rand/ya.make +++ b/contrib/go/_std_1.21/src/math/rand/ya.make @@ -1,24 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - exp.go - normal.go - rand.go - rng.go - zipf.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - exp.go - normal.go - rand.go - rng.go - zipf.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( exp.go normal.go @@ -34,7 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) rng.go zipf.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( exp.go normal.go @@ -42,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) rng.go zipf.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( exp.go normal.go @@ -58,21 +39,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) rng.go zipf.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - exp.go - normal.go - rand.go - rng.go - zipf.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - exp.go - normal.go - rand.go - rng.go - zipf.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/math/ya.make b/contrib/go/_std_1.21/src/math/ya.make index 1c0499d95d..6a66829469 100644 --- a/contrib/go/_std_1.21/src/math/ya.make +++ b/contrib/go/_std_1.21/src/math/ya.make @@ -1,130 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - abs.go - acosh.go - asin.go - asinh.go - atan.go - atan2.go - atanh.go - bits.go - cbrt.go - const.go - copysign.go - dim.go - dim_amd64.s - dim_asm.go - erf.go - erfinv.go - exp.go - exp2_noasm.go - exp_amd64.go - exp_amd64.s - exp_asm.go - expm1.go - floor.go - floor_amd64.s - floor_asm.go - fma.go - frexp.go - gamma.go - hypot.go - hypot_amd64.s - hypot_asm.go - j0.go - j1.go - jn.go - ldexp.go - lgamma.go - log.go - log10.go - log1p.go - log_amd64.s - log_asm.go - logb.go - mod.go - modf.go - modf_noasm.go - nextafter.go - pow.go - pow10.go - remainder.go - signbit.go - sin.go - sincos.go - sinh.go - sqrt.go - stubs.go - tan.go - tanh.go - trig_reduce.go - unsafe.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - abs.go - acosh.go - asin.go - asinh.go - atan.go - atan2.go - atanh.go - bits.go - cbrt.go - const.go - copysign.go - dim.go - dim_arm64.s - dim_asm.go - erf.go - erfinv.go - exp.go - exp2_asm.go - exp_arm64.s - exp_asm.go - expm1.go - floor.go - floor_arm64.s - floor_asm.go - fma.go - frexp.go - gamma.go - hypot.go - hypot_noasm.go - j0.go - j1.go - jn.go - ldexp.go - lgamma.go - log.go - log10.go - log1p.go - log_stub.go - logb.go - mod.go - modf.go - modf_arm64.s - modf_asm.go - nextafter.go - pow.go - pow10.go - remainder.go - signbit.go - sin.go - sincos.go - sinh.go - sqrt.go - stubs.go - tan.go - tanh.go - trig_reduce.go - unsafe.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( abs.go acosh.go @@ -246,7 +121,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) trig_reduce.go unsafe.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( abs.go acosh.go @@ -306,7 +181,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) trig_reduce.go unsafe.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( abs.go acosh.go @@ -320,23 +195,25 @@ ELSEIF (OS_DARWIN AND ARCH_AARCH64) const.go copysign.go dim.go - dim_arm64.s + dim_amd64.s dim_asm.go erf.go erfinv.go exp.go - exp2_asm.go - exp_arm64.s + exp2_noasm.go + exp_amd64.go + exp_amd64.s exp_asm.go expm1.go floor.go - floor_arm64.s + floor_amd64.s floor_asm.go fma.go frexp.go gamma.go hypot.go - hypot_noasm.go + hypot_amd64.s + hypot_asm.go j0.go j1.go jn.go @@ -345,12 +222,12 @@ ELSEIF (OS_DARWIN AND ARCH_AARCH64) log.go log10.go log1p.go - log_stub.go + log_amd64.s + log_asm.go logb.go mod.go modf.go - modf_arm64.s - modf_asm.go + modf_noasm.go nextafter.go pow.go pow10.go @@ -428,126 +305,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) trig_reduce.go unsafe.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - abs.go - acosh.go - asin.go - asinh.go - atan.go - atan2.go - atanh.go - bits.go - cbrt.go - const.go - copysign.go - dim.go - dim_arm64.s - dim_asm.go - erf.go - erfinv.go - exp.go - exp2_asm.go - exp_arm64.s - exp_asm.go - expm1.go - floor.go - floor_arm64.s - floor_asm.go - fma.go - frexp.go - gamma.go - hypot.go - hypot_noasm.go - j0.go - j1.go - jn.go - ldexp.go - lgamma.go - log.go - log10.go - log1p.go - log_stub.go - logb.go - mod.go - modf.go - modf_arm64.s - modf_asm.go - nextafter.go - pow.go - pow10.go - remainder.go - signbit.go - sin.go - sincos.go - sinh.go - sqrt.go - stubs.go - tan.go - tanh.go - trig_reduce.go - unsafe.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - abs.go - acosh.go - asin.go - asinh.go - atan.go - atan2.go - atanh.go - bits.go - cbrt.go - const.go - copysign.go - dim.go - dim_arm64.s - dim_asm.go - erf.go - erfinv.go - exp.go - exp2_asm.go - exp_arm64.s - exp_asm.go - expm1.go - floor.go - floor_arm64.s - floor_asm.go - fma.go - frexp.go - gamma.go - hypot.go - hypot_noasm.go - j0.go - j1.go - jn.go - ldexp.go - lgamma.go - log.go - log10.go - log1p.go - log_stub.go - logb.go - mod.go - modf.go - modf_arm64.s - modf_asm.go - nextafter.go - pow.go - pow10.go - remainder.go - signbit.go - sin.go - sincos.go - sinh.go - sqrt.go - stubs.go - tan.go - tanh.go - trig_reduce.go - unsafe.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/mime/multipart/ya.make b/contrib/go/_std_1.21/src/mime/multipart/ya.make index de833b290d..d5cb01f730 100644 --- a/contrib/go/_std_1.21/src/mime/multipart/ya.make +++ b/contrib/go/_std_1.21/src/mime/multipart/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - formdata.go - multipart.go - readmimeheader.go - writer.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - formdata.go - multipart.go - readmimeheader.go - writer.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( formdata.go multipart.go @@ -30,14 +13,14 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) readmimeheader.go writer.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( formdata.go multipart.go readmimeheader.go writer.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( formdata.go multipart.go @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) readmimeheader.go writer.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - formdata.go - multipart.go - readmimeheader.go - writer.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - formdata.go - multipart.go - readmimeheader.go - writer.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/mime/quotedprintable/ya.make b/contrib/go/_std_1.21/src/mime/quotedprintable/ya.make index 8526ee5f3b..917154adbf 100644 --- a/contrib/go/_std_1.21/src/mime/quotedprintable/ya.make +++ b/contrib/go/_std_1.21/src/mime/quotedprintable/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - reader.go - writer.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - reader.go - writer.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( reader.go writer.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) reader.go writer.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( reader.go writer.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( reader.go writer.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) reader.go writer.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - reader.go - writer.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - reader.go - writer.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/mime/ya.make b/contrib/go/_std_1.21/src/mime/ya.make index 981d9fc598..32818cbef5 100644 --- a/contrib/go/_std_1.21/src/mime/ya.make +++ b/contrib/go/_std_1.21/src/mime/ya.make @@ -1,24 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - encodedword.go - grammar.go - mediatype.go - type.go - type_unix.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - encodedword.go - grammar.go - mediatype.go - type.go - type_unix.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( encodedword.go grammar.go @@ -34,7 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) type.go type_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( encodedword.go grammar.go @@ -42,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) type.go type_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( encodedword.go grammar.go @@ -58,22 +39,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) type.go type_windows.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - encodedword.go - grammar.go - mediatype.go - type.go - type_windows.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - encodedword.go - grammar.go - mediatype.go - type.go - type_windows.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/http/cgi/ya.make b/contrib/go/_std_1.21/src/net/http/cgi/ya.make index 44dffcffa2..4e4539d285 100644 --- a/contrib/go/_std_1.21/src/net/http/cgi/ya.make +++ b/contrib/go/_std_1.21/src/net/http/cgi/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - child.go - host.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - child.go - host.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( child.go host.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) child.go host.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( child.go host.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( child.go host.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) child.go host.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - child.go - host.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - child.go - host.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/http/cookiejar/ya.make b/contrib/go/_std_1.21/src/net/http/cookiejar/ya.make index b498d58c27..cc5be5b198 100644 --- a/contrib/go/_std_1.21/src/net/http/cookiejar/ya.make +++ b/contrib/go/_std_1.21/src/net/http/cookiejar/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - jar.go - punycode.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - jar.go - punycode.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( jar.go punycode.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) jar.go punycode.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( jar.go punycode.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( jar.go punycode.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) jar.go punycode.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - jar.go - punycode.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - jar.go - punycode.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/http/fcgi/ya.make b/contrib/go/_std_1.21/src/net/http/fcgi/ya.make index 3ed6f9d42c..843eaa8164 100644 --- a/contrib/go/_std_1.21/src/net/http/fcgi/ya.make +++ b/contrib/go/_std_1.21/src/net/http/fcgi/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - child.go - fcgi.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - child.go - fcgi.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( child.go fcgi.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) child.go fcgi.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( child.go fcgi.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( child.go fcgi.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) child.go fcgi.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - child.go - fcgi.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - child.go - fcgi.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/http/httptest/ya.make b/contrib/go/_std_1.21/src/net/http/httptest/ya.make index e6f18c7939..d5726ffd3c 100644 --- a/contrib/go/_std_1.21/src/net/http/httptest/ya.make +++ b/contrib/go/_std_1.21/src/net/http/httptest/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - httptest.go - recorder.go - server.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - httptest.go - recorder.go - server.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( httptest.go recorder.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) recorder.go server.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( httptest.go recorder.go server.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( httptest.go recorder.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) recorder.go server.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - httptest.go - recorder.go - server.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - httptest.go - recorder.go - server.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/http/httptrace/ya.make b/contrib/go/_std_1.21/src/net/http/httptrace/ya.make index ee0c2ef792..d06d80bb28 100644 --- a/contrib/go/_std_1.21/src/net/http/httptrace/ya.make +++ b/contrib/go/_std_1.21/src/net/http/httptrace/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - trace.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - trace.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( trace.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( trace.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( trace.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( trace.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( trace.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - trace.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - trace.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/http/httputil/ya.make b/contrib/go/_std_1.21/src/net/http/httputil/ya.make index 40f2a4ce89..fbc2a774f5 100644 --- a/contrib/go/_std_1.21/src/net/http/httputil/ya.make +++ b/contrib/go/_std_1.21/src/net/http/httputil/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - dump.go - httputil.go - persist.go - reverseproxy.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - dump.go - httputil.go - persist.go - reverseproxy.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( dump.go httputil.go @@ -30,14 +13,14 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) persist.go reverseproxy.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( dump.go httputil.go persist.go reverseproxy.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( dump.go httputil.go @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) persist.go reverseproxy.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - dump.go - httputil.go - persist.go - reverseproxy.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - dump.go - httputil.go - persist.go - reverseproxy.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/http/internal/ascii/ya.make b/contrib/go/_std_1.21/src/net/http/internal/ascii/ya.make index 8004dc99aa..2126a2e08a 100644 --- a/contrib/go/_std_1.21/src/net/http/internal/ascii/ya.make +++ b/contrib/go/_std_1.21/src/net/http/internal/ascii/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - print.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - print.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( print.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( print.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( print.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( print.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( print.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - print.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - print.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/http/internal/testcert/ya.make b/contrib/go/_std_1.21/src/net/http/internal/testcert/ya.make index ec2e62311c..29b67101e5 100644 --- a/contrib/go/_std_1.21/src/net/http/internal/testcert/ya.make +++ b/contrib/go/_std_1.21/src/net/http/internal/testcert/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - testcert.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - testcert.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( testcert.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( testcert.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( testcert.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( testcert.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( testcert.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - testcert.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - testcert.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/http/internal/ya.make b/contrib/go/_std_1.21/src/net/http/internal/ya.make index b6e359fde6..81ef1d1d0d 100644 --- a/contrib/go/_std_1.21/src/net/http/internal/ya.make +++ b/contrib/go/_std_1.21/src/net/http/internal/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - chunked.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - chunked.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( chunked.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( chunked.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( chunked.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( chunked.go ) @@ -30,14 +19,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( chunked.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - chunked.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - chunked.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/http/pprof/ya.make b/contrib/go/_std_1.21/src/net/http/pprof/ya.make index 9e81acb63f..3b6671c8e8 100644 --- a/contrib/go/_std_1.21/src/net/http/pprof/ya.make +++ b/contrib/go/_std_1.21/src/net/http/pprof/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - pprof.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - pprof.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( pprof.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( pprof.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( pprof.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( pprof.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( pprof.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - pprof.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - pprof.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/http/ya.make b/contrib/go/_std_1.21/src/net/http/ya.make index 3fcc56dc1e..de73451061 100644 --- a/contrib/go/_std_1.21/src/net/http/ya.make +++ b/contrib/go/_std_1.21/src/net/http/ya.make @@ -1,60 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - client.go - clone.go - cookie.go - doc.go - filetransport.go - fs.go - h2_bundle.go - h2_error.go - header.go - http.go - jar.go - method.go - request.go - response.go - responsecontroller.go - roundtrip.go - server.go - sniff.go - socks_bundle.go - status.go - transfer.go - transport.go - transport_default_other.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - client.go - clone.go - cookie.go - doc.go - filetransport.go - fs.go - h2_bundle.go - h2_error.go - header.go - http.go - jar.go - method.go - request.go - response.go - responsecontroller.go - roundtrip.go - server.go - sniff.go - socks_bundle.go - status.go - transfer.go - transport.go - transport_default_other.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( client.go clone.go @@ -106,7 +51,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) transport.go transport_default_other.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( client.go clone.go @@ -132,7 +77,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) transport.go transport_default_other.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( client.go clone.go @@ -184,58 +129,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) transport.go transport_default_other.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - client.go - clone.go - cookie.go - doc.go - filetransport.go - fs.go - h2_bundle.go - h2_error.go - header.go - http.go - jar.go - method.go - request.go - response.go - responsecontroller.go - roundtrip.go - server.go - sniff.go - socks_bundle.go - status.go - transfer.go - transport.go - transport_default_other.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - client.go - clone.go - cookie.go - doc.go - filetransport.go - fs.go - h2_bundle.go - h2_error.go - header.go - http.go - jar.go - method.go - request.go - response.go - responsecontroller.go - roundtrip.go - server.go - sniff.go - socks_bundle.go - status.go - transfer.go - transport.go - transport_default_other.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/internal/socktest/ya.make b/contrib/go/_std_1.21/src/net/internal/socktest/ya.make index e89ae5b61e..40f417a3d1 100644 --- a/contrib/go/_std_1.21/src/net/internal/socktest/ya.make +++ b/contrib/go/_std_1.21/src/net/internal/socktest/ya.make @@ -1,21 +1,16 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( switch.go switch_posix.go switch_unix.go - sys_cloexec.go sys_unix.go ) -ELSEIF (OS_LINUX AND ARCH_ARM64) +ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( switch.go switch_posix.go switch_unix.go - sys_cloexec.go sys_unix.go ) ELSEIF (OS_LINUX AND ARCH_AARCH64) @@ -26,25 +21,12 @@ ELSEIF (OS_LINUX AND ARCH_AARCH64) sys_cloexec.go sys_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_X86_64) - SRCS( - switch.go - switch_posix.go - switch_unix.go - sys_unix.go - ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) - SRCS( - switch.go - switch_posix.go - switch_unix.go - sys_unix.go - ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( switch.go switch_posix.go switch_unix.go + sys_cloexec.go sys_unix.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) @@ -54,19 +36,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) switch_windows.go sys_windows.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - switch.go - switch_posix.go - switch_windows.go - sys_windows.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - switch.go - switch_posix.go - switch_windows.go - sys_windows.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/mail/ya.make b/contrib/go/_std_1.21/src/net/mail/ya.make index 01769488d1..81edfd8f36 100644 --- a/contrib/go/_std_1.21/src/net/mail/ya.make +++ b/contrib/go/_std_1.21/src/net/mail/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - message.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - message.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( message.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( message.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( message.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( message.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( message.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - message.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - message.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/netip/ya.make b/contrib/go/_std_1.21/src/net/netip/ya.make index 5b87de3a3c..6e22a21434 100644 --- a/contrib/go/_std_1.21/src/net/netip/ya.make +++ b/contrib/go/_std_1.21/src/net/netip/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - leaf_alts.go - netip.go - uint128.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - leaf_alts.go - netip.go - uint128.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( leaf_alts.go netip.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) netip.go uint128.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( leaf_alts.go netip.go uint128.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( leaf_alts.go netip.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) netip.go uint128.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - leaf_alts.go - netip.go - uint128.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - leaf_alts.go - netip.go - uint128.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/rpc/jsonrpc/ya.make b/contrib/go/_std_1.21/src/net/rpc/jsonrpc/ya.make index 65a9b1dcec..b5655d1c6c 100644 --- a/contrib/go/_std_1.21/src/net/rpc/jsonrpc/ya.make +++ b/contrib/go/_std_1.21/src/net/rpc/jsonrpc/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - client.go - server.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - client.go - server.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( client.go server.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) client.go server.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( client.go server.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( client.go server.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) client.go server.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - client.go - server.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - client.go - server.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/rpc/ya.make b/contrib/go/_std_1.21/src/net/rpc/ya.make index 7dbc3b486b..f435fddbea 100644 --- a/contrib/go/_std_1.21/src/net/rpc/ya.make +++ b/contrib/go/_std_1.21/src/net/rpc/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - client.go - debug.go - server.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - client.go - debug.go - server.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( client.go debug.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) debug.go server.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( client.go debug.go server.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( client.go debug.go @@ -44,18 +29,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) debug.go server.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - client.go - debug.go - server.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - client.go - debug.go - server.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/smtp/ya.make b/contrib/go/_std_1.21/src/net/smtp/ya.make index fce75b9926..81ff6ebdbe 100644 --- a/contrib/go/_std_1.21/src/net/smtp/ya.make +++ b/contrib/go/_std_1.21/src/net/smtp/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - auth.go - smtp.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - auth.go - smtp.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( auth.go smtp.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) auth.go smtp.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( auth.go smtp.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( auth.go smtp.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) auth.go smtp.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - auth.go - smtp.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - auth.go - smtp.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/textproto/ya.make b/contrib/go/_std_1.21/src/net/textproto/ya.make index 3a8a861fd9..bdaee23abe 100644 --- a/contrib/go/_std_1.21/src/net/textproto/ya.make +++ b/contrib/go/_std_1.21/src/net/textproto/ya.make @@ -1,24 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - header.go - pipeline.go - reader.go - textproto.go - writer.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - header.go - pipeline.go - reader.go - textproto.go - writer.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( header.go pipeline.go @@ -34,7 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) textproto.go writer.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( header.go pipeline.go @@ -42,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) textproto.go writer.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( header.go pipeline.go @@ -58,21 +39,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) textproto.go writer.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - header.go - pipeline.go - reader.go - textproto.go - writer.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - header.go - pipeline.go - reader.go - textproto.go - writer.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/net/url/ya.make b/contrib/go/_std_1.21/src/net/url/ya.make index 04f9b6e304..691fa2a87d 100644 --- a/contrib/go/_std_1.21/src/net/url/ya.make +++ b/contrib/go/_std_1.21/src/net/url/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - url.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - url.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( url.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( url.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( url.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( url.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( url.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - url.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - url.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/os/exec/internal/fdtest/ya.make b/contrib/go/_std_1.21/src/os/exec/internal/fdtest/ya.make index 03568e34a5..357058c18b 100644 --- a/contrib/go/_std_1.21/src/os/exec/internal/fdtest/ya.make +++ b/contrib/go/_std_1.21/src/os/exec/internal/fdtest/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - exists_unix.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - exists_unix.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( exists_unix.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( exists_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( exists_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( exists_unix.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( exists_windows.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - exists_windows.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - exists_windows.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/os/exec/ya.make b/contrib/go/_std_1.21/src/os/exec/ya.make index 6b1a3589eb..0f8000539f 100644 --- a/contrib/go/_std_1.21/src/os/exec/ya.make +++ b/contrib/go/_std_1.21/src/os/exec/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - exec.go - exec_unix.go - lp_unix.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - exec.go - exec_unix.go - lp_unix.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( exec.go exec_unix.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) exec_unix.go lp_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( exec.go exec_unix.go lp_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( exec.go exec_unix.go @@ -44,18 +29,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) exec_windows.go lp_windows.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - exec.go - exec_windows.go - lp_windows.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - exec.go - exec_windows.go - lp_windows.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/os/ya.make b/contrib/go/_std_1.21/src/os/ya.make index 8c4c417f82..b49d2d94dc 100644 --- a/contrib/go/_std_1.21/src/os/ya.make +++ b/contrib/go/_std_1.21/src/os/ya.make @@ -1,12 +1,8 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( dir.go - dir_unix.go - dirent_linux.go + dir_darwin.go endian_little.go env.go error.go @@ -16,7 +12,7 @@ ELSEIF (OS_LINUX AND ARCH_X86_64) exec_posix.go exec_unix.go executable.go - executable_procfs.go + executable_darwin.go file.go file_open_unix.go file_posix.go @@ -24,29 +20,28 @@ ELSEIF (OS_LINUX AND ARCH_X86_64) getwd.go path.go path_unix.go - pipe2_unix.go + pipe_unix.go proc.go rawconn.go - readfrom_linux.go + readfrom_stub.go removeall_at.go stat.go - stat_linux.go + stat_darwin.go stat_unix.go - sticky_notbsd.go + sticky_bsd.go str.go sys.go - sys_linux.go + sys_bsd.go sys_unix.go tempfile.go types.go types_unix.go - wait_waitid.go + wait_unimp.go ) -ELSEIF (OS_LINUX AND ARCH_ARM64) +ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( dir.go - dir_unix.go - dirent_linux.go + dir_darwin.go endian_little.go env.go error.go @@ -56,7 +51,7 @@ ELSEIF (OS_LINUX AND ARCH_ARM64) exec_posix.go exec_unix.go executable.go - executable_procfs.go + executable_darwin.go file.go file_open_unix.go file_posix.go @@ -64,23 +59,23 @@ ELSEIF (OS_LINUX AND ARCH_ARM64) getwd.go path.go path_unix.go - pipe2_unix.go + pipe_unix.go proc.go rawconn.go - readfrom_linux.go + readfrom_stub.go removeall_at.go stat.go - stat_linux.go + stat_darwin.go stat_unix.go - sticky_notbsd.go + sticky_bsd.go str.go sys.go - sys_linux.go + sys_bsd.go sys_unix.go tempfile.go types.go types_unix.go - wait_waitid.go + wait_unimp.go ) ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( @@ -122,88 +117,11 @@ ELSEIF (OS_LINUX AND ARCH_AARCH64) types_unix.go wait_waitid.go ) -ELSEIF (OS_DARWIN AND ARCH_X86_64) - SRCS( - dir.go - dir_darwin.go - endian_little.go - env.go - error.go - error_errno.go - error_posix.go - exec.go - exec_posix.go - exec_unix.go - executable.go - executable_darwin.go - file.go - file_open_unix.go - file_posix.go - file_unix.go - getwd.go - path.go - path_unix.go - pipe_unix.go - proc.go - rawconn.go - readfrom_stub.go - removeall_at.go - stat.go - stat_darwin.go - stat_unix.go - sticky_bsd.go - str.go - sys.go - sys_bsd.go - sys_unix.go - tempfile.go - types.go - types_unix.go - wait_unimp.go - ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) - SRCS( - dir.go - dir_darwin.go - endian_little.go - env.go - error.go - error_errno.go - error_posix.go - exec.go - exec_posix.go - exec_unix.go - executable.go - executable_darwin.go - file.go - file_open_unix.go - file_posix.go - file_unix.go - getwd.go - path.go - path_unix.go - pipe_unix.go - proc.go - rawconn.go - readfrom_stub.go - removeall_at.go - stat.go - stat_darwin.go - stat_unix.go - sticky_bsd.go - str.go - sys.go - sys_bsd.go - sys_unix.go - tempfile.go - types.go - types_unix.go - wait_unimp.go - ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( dir.go - dir_darwin.go + dir_unix.go + dirent_linux.go endian_little.go env.go error.go @@ -213,7 +131,7 @@ ELSEIF (OS_DARWIN AND ARCH_AARCH64) exec_posix.go exec_unix.go executable.go - executable_darwin.go + executable_procfs.go file.go file_open_unix.go file_posix.go @@ -221,23 +139,23 @@ ELSEIF (OS_DARWIN AND ARCH_AARCH64) getwd.go path.go path_unix.go - pipe_unix.go + pipe2_unix.go proc.go rawconn.go - readfrom_stub.go + readfrom_linux.go removeall_at.go stat.go - stat_darwin.go + stat_linux.go stat_unix.go - sticky_bsd.go + sticky_notbsd.go str.go sys.go - sys_bsd.go + sys_linux.go sys_unix.go tempfile.go types.go types_unix.go - wait_unimp.go + wait_waitid.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( @@ -273,74 +191,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) types.go types_windows.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - dir.go - dir_windows.go - endian_little.go - env.go - error.go - error_errno.go - error_posix.go - exec.go - exec_posix.go - exec_windows.go - executable.go - executable_windows.go - file.go - file_posix.go - file_windows.go - getwd.go - path.go - path_windows.go - proc.go - rawconn.go - readfrom_stub.go - removeall_noat.go - stat.go - stat_windows.go - sticky_notbsd.go - str.go - sys.go - sys_windows.go - tempfile.go - types.go - types_windows.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - dir.go - dir_windows.go - endian_little.go - env.go - error.go - error_errno.go - error_posix.go - exec.go - exec_posix.go - exec_windows.go - executable.go - executable_windows.go - file.go - file_posix.go - file_windows.go - getwd.go - path.go - path_windows.go - proc.go - rawconn.go - readfrom_stub.go - removeall_noat.go - stat.go - stat_windows.go - sticky_notbsd.go - str.go - sys.go - sys_windows.go - tempfile.go - types.go - types_windows.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/path/filepath/ya.make b/contrib/go/_std_1.21/src/path/filepath/ya.make index 9d04957bac..4c16802ea2 100644 --- a/contrib/go/_std_1.21/src/path/filepath/ya.make +++ b/contrib/go/_std_1.21/src/path/filepath/ya.make @@ -1,26 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - match.go - path.go - path_nonwindows.go - path_unix.go - symlink.go - symlink_unix.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - match.go - path.go - path_nonwindows.go - path_unix.go - symlink.go - symlink_unix.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( match.go path.go @@ -38,7 +17,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) symlink.go symlink_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( match.go path.go @@ -47,7 +26,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) symlink.go symlink_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( match.go path.go @@ -64,21 +43,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) symlink.go symlink_windows.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - match.go - path.go - path_windows.go - symlink.go - symlink_windows.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - match.go - path.go - path_windows.go - symlink.go - symlink_windows.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/path/ya.make b/contrib/go/_std_1.21/src/path/ya.make index bcdbc254bb..68c112c167 100644 --- a/contrib/go/_std_1.21/src/path/ya.make +++ b/contrib/go/_std_1.21/src/path/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - match.go - path.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - match.go - path.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( match.go path.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) match.go path.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( match.go path.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( match.go path.go @@ -37,16 +24,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) match.go path.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - match.go - path.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - match.go - path.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/reflect/internal/example1/ya.make b/contrib/go/_std_1.21/src/reflect/internal/example1/ya.make index 57009b8b3d..12c79316c6 100644 --- a/contrib/go/_std_1.21/src/reflect/internal/example1/ya.make +++ b/contrib/go/_std_1.21/src/reflect/internal/example1/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - example.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - example.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( example.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( example.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( example.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( example.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( example.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - example.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - example.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/reflect/internal/example2/ya.make b/contrib/go/_std_1.21/src/reflect/internal/example2/ya.make index 57009b8b3d..12c79316c6 100644 --- a/contrib/go/_std_1.21/src/reflect/internal/example2/ya.make +++ b/contrib/go/_std_1.21/src/reflect/internal/example2/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - example.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - example.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( example.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( example.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( example.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( example.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( example.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - example.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - example.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/reflect/ya.make b/contrib/go/_std_1.21/src/reflect/ya.make index 95c49253fa..536355cafd 100644 --- a/contrib/go/_std_1.21/src/reflect/ya.make +++ b/contrib/go/_std_1.21/src/reflect/ya.make @@ -1,32 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - abi.go - asm_amd64.s - deepequal.go - float32reg_generic.go - makefunc.go - swapper.go - type.go - value.go - visiblefields.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - abi.go - asm_arm64.s - deepequal.go - float32reg_generic.go - makefunc.go - swapper.go - type.go - value.go - visiblefields.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( abi.go asm_arm64.s @@ -50,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) value.go visiblefields.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( abi.go asm_arm64.s @@ -62,10 +35,10 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) value.go visiblefields.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( abi.go - asm_arm64.s + asm_amd64.s deepequal.go float32reg_generic.go makefunc.go @@ -86,30 +59,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) value.go visiblefields.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - abi.go - asm_arm64.s - deepequal.go - float32reg_generic.go - makefunc.go - swapper.go - type.go - value.go - visiblefields.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - abi.go - asm_arm64.s - deepequal.go - float32reg_generic.go - makefunc.go - swapper.go - type.go - value.go - visiblefields.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/regexp/syntax/ya.make b/contrib/go/_std_1.21/src/regexp/syntax/ya.make index 36dd3fa207..f368815ed2 100644 --- a/contrib/go/_std_1.21/src/regexp/syntax/ya.make +++ b/contrib/go/_std_1.21/src/regexp/syntax/ya.make @@ -1,30 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - compile.go - doc.go - op_string.go - parse.go - perl_groups.go - prog.go - regexp.go - simplify.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - compile.go - doc.go - op_string.go - parse.go - perl_groups.go - prog.go - regexp.go - simplify.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( compile.go doc.go @@ -46,7 +21,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) regexp.go simplify.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( compile.go doc.go @@ -57,7 +32,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) regexp.go simplify.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( compile.go doc.go @@ -79,27 +54,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) regexp.go simplify.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - compile.go - doc.go - op_string.go - parse.go - perl_groups.go - prog.go - regexp.go - simplify.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - compile.go - doc.go - op_string.go - parse.go - perl_groups.go - prog.go - regexp.go - simplify.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/regexp/ya.make b/contrib/go/_std_1.21/src/regexp/ya.make index 2aac28f8bd..5903db04b9 100644 --- a/contrib/go/_std_1.21/src/regexp/ya.make +++ b/contrib/go/_std_1.21/src/regexp/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - backtrack.go - exec.go - onepass.go - regexp.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - backtrack.go - exec.go - onepass.go - regexp.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( backtrack.go exec.go @@ -30,14 +13,14 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) onepass.go regexp.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( backtrack.go exec.go onepass.go regexp.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( backtrack.go exec.go @@ -51,20 +34,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) onepass.go regexp.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - backtrack.go - exec.go - onepass.go - regexp.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - backtrack.go - exec.go - onepass.go - regexp.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/runtime/coverage/ya.make b/contrib/go/_std_1.21/src/runtime/coverage/ya.make index 5626dafa5c..96fc316a11 100644 --- a/contrib/go/_std_1.21/src/runtime/coverage/ya.make +++ b/contrib/go/_std_1.21/src/runtime/coverage/ya.make @@ -1,24 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - apis.go - dummy.s - emit.go - hooks.go - testsupport.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - apis.go - dummy.s - emit.go - hooks.go - testsupport.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( apis.go dummy.s @@ -34,7 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) hooks.go testsupport.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( apis.go dummy.s @@ -42,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) hooks.go testsupport.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( apis.go dummy.s @@ -58,21 +39,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) hooks.go testsupport.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - apis.go - dummy.s - emit.go - hooks.go - testsupport.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - apis.go - dummy.s - emit.go - hooks.go - testsupport.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/runtime/debug/ya.make b/contrib/go/_std_1.21/src/runtime/debug/ya.make index ba88d8e0e1..51c6e58f85 100644 --- a/contrib/go/_std_1.21/src/runtime/debug/ya.make +++ b/contrib/go/_std_1.21/src/runtime/debug/ya.make @@ -1,24 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - debug.s - garbage.go - mod.go - stack.go - stubs.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - debug.s - garbage.go - mod.go - stack.go - stubs.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( debug.s garbage.go @@ -34,7 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) stack.go stubs.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( debug.s garbage.go @@ -42,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) stack.go stubs.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( debug.s garbage.go @@ -58,21 +39,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) stack.go stubs.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - debug.s - garbage.go - mod.go - stack.go - stubs.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - debug.s - garbage.go - mod.go - stack.go - stubs.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/runtime/internal/atomic/ya.make b/contrib/go/_std_1.21/src/runtime/internal/atomic/ya.make index 163b2d630c..8acd81948b 100644 --- a/contrib/go/_std_1.21/src/runtime/internal/atomic/ya.make +++ b/contrib/go/_std_1.21/src/runtime/internal/atomic/ya.make @@ -1,28 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - atomic_amd64.go - atomic_amd64.s - doc.go - stubs.go - types.go - types_64bit.go - unaligned.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - atomic_arm64.go - atomic_arm64.s - doc.go - stubs.go - types.go - types_64bit.go - unaligned.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( atomic_arm64.go atomic_arm64.s @@ -42,7 +19,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) types_64bit.go unaligned.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( atomic_arm64.go atomic_arm64.s @@ -52,10 +29,10 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) types_64bit.go unaligned.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( - atomic_arm64.go - atomic_arm64.s + atomic_amd64.go + atomic_amd64.s doc.go stubs.go types.go @@ -72,25 +49,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) types_64bit.go unaligned.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - atomic_arm64.go - atomic_arm64.s - doc.go - stubs.go - types.go - types_64bit.go - unaligned.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - atomic_arm64.go - atomic_arm64.s - doc.go - stubs.go - types.go - types_64bit.go - unaligned.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/runtime/internal/math/ya.make b/contrib/go/_std_1.21/src/runtime/internal/math/ya.make index 9c3166b858..65b75f3a16 100644 --- a/contrib/go/_std_1.21/src/runtime/internal/math/ya.make +++ b/contrib/go/_std_1.21/src/runtime/internal/math/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - math.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - math.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( math.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( math.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( math.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( math.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( math.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - math.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - math.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/runtime/internal/startlinetest/ya.make b/contrib/go/_std_1.21/src/runtime/internal/startlinetest/ya.make index 1fff240a89..9428d8dd05 100644 --- a/contrib/go/_std_1.21/src/runtime/internal/startlinetest/ya.make +++ b/contrib/go/_std_1.21/src/runtime/internal/startlinetest/ya.make @@ -1,13 +1,10 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) +IF (OS_DARWIN AND ARCH_X86_64) SRCS( func_amd64.go func_amd64.s ) -ELSEIF (OS_DARWIN AND ARCH_X86_64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( func_amd64.go func_amd64.s diff --git a/contrib/go/_std_1.21/src/runtime/internal/sys/ya.make b/contrib/go/_std_1.21/src/runtime/internal/sys/ya.make index 8b39b5da8c..ef9cdc3c1b 100644 --- a/contrib/go/_std_1.21/src/runtime/internal/sys/ya.make +++ b/contrib/go/_std_1.21/src/runtime/internal/sys/ya.make @@ -1,26 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - consts.go - consts_norace.go - intrinsics.go - nih.go - sys.go - zversion.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - consts.go - consts_norace.go - intrinsics.go - nih.go - sys.go - zversion.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( consts.go consts_norace.go @@ -38,7 +17,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) sys.go zversion.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( consts.go consts_norace.go @@ -47,7 +26,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) sys.go zversion.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( consts.go consts_norace.go @@ -65,23 +44,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) sys.go zversion.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - consts.go - consts_norace.go - intrinsics.go - nih.go - sys.go - zversion.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - consts.go - consts_norace.go - intrinsics.go - nih.go - sys.go - zversion.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/runtime/internal/syscall/ya.make b/contrib/go/_std_1.21/src/runtime/internal/syscall/ya.make index 62490a6f9c..bf607c2640 100644 --- a/contrib/go/_std_1.21/src/runtime/internal/syscall/ya.make +++ b/contrib/go/_std_1.21/src/runtime/internal/syscall/ya.make @@ -1,23 +1,14 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - asm_linux_amd64.s - defs_linux_amd64.go - syscall_linux.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) +IF (OS_LINUX AND ARCH_AARCH64) SRCS( asm_linux_arm64.s defs_linux_arm64.go syscall_linux.go ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( - asm_linux_arm64.s - defs_linux_arm64.go + asm_linux_amd64.s + defs_linux_amd64.go syscall_linux.go ) ENDIF() diff --git a/contrib/go/_std_1.21/src/runtime/metrics/ya.make b/contrib/go/_std_1.21/src/runtime/metrics/ya.make index 73f3a6d1f4..297efb81bd 100644 --- a/contrib/go/_std_1.21/src/runtime/metrics/ya.make +++ b/contrib/go/_std_1.21/src/runtime/metrics/ya.make @@ -1,24 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - description.go - doc.go - histogram.go - sample.go - value.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - description.go - doc.go - histogram.go - sample.go - value.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( description.go doc.go @@ -34,7 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) sample.go value.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( description.go doc.go @@ -42,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) sample.go value.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( description.go doc.go @@ -58,21 +39,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) sample.go value.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - description.go - doc.go - histogram.go - sample.go - value.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - description.go - doc.go - histogram.go - sample.go - value.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/runtime/pprof/ya.make b/contrib/go/_std_1.21/src/runtime/pprof/ya.make index 318d29f915..f5f8979bf8 100644 --- a/contrib/go/_std_1.21/src/runtime/pprof/ya.make +++ b/contrib/go/_std_1.21/src/runtime/pprof/ya.make @@ -1,36 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - elf.go - label.go - map.go - pe.go - pprof.go - pprof_rusage.go - proto.go - proto_other.go - protobuf.go - protomem.go - runtime.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - elf.go - label.go - map.go - pe.go - pprof.go - pprof_rusage.go - proto.go - proto_other.go - protobuf.go - protomem.go - runtime.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( elf.go label.go @@ -58,7 +27,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) protomem.go runtime.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( elf.go label.go @@ -72,7 +41,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) protomem.go runtime.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( elf.go label.go @@ -100,33 +69,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) protomem.go runtime.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - elf.go - label.go - map.go - pe.go - pprof.go - pprof_windows.go - proto.go - proto_windows.go - protobuf.go - protomem.go - runtime.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - elf.go - label.go - map.go - pe.go - pprof.go - pprof_windows.go - proto.go - proto_windows.go - protobuf.go - protomem.go - runtime.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/runtime/trace/ya.make b/contrib/go/_std_1.21/src/runtime/trace/ya.make index 91655f900c..5783d5ff36 100644 --- a/contrib/go/_std_1.21/src/runtime/trace/ya.make +++ b/contrib/go/_std_1.21/src/runtime/trace/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - annotation.go - trace.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - annotation.go - trace.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( annotation.go trace.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) annotation.go trace.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( annotation.go trace.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( annotation.go trace.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) annotation.go trace.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - annotation.go - trace.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - annotation.go - trace.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/slices/ya.make b/contrib/go/_std_1.21/src/slices/ya.make index 5cc85a7903..ce1bed67e1 100644 --- a/contrib/go/_std_1.21/src/slices/ya.make +++ b/contrib/go/_std_1.21/src/slices/ya.make @@ -1,22 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - slices.go - sort.go - zsortanyfunc.go - zsortordered.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - slices.go - sort.go - zsortanyfunc.go - zsortordered.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( slices.go sort.go @@ -30,14 +13,14 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) zsortanyfunc.go zsortordered.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( slices.go sort.go zsortanyfunc.go zsortordered.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( slices.go sort.go @@ -51,19 +34,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) zsortanyfunc.go zsortordered.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - slices.go - sort.go - zsortanyfunc.go - zsortordered.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - slices.go - sort.go - zsortanyfunc.go - zsortordered.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/sort/ya.make b/contrib/go/_std_1.21/src/sort/ya.make index 8bb9643caa..0ac5a7517c 100644 --- a/contrib/go/_std_1.21/src/sort/ya.make +++ b/contrib/go/_std_1.21/src/sort/ya.make @@ -1,24 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - search.go - slice.go - sort.go - zsortfunc.go - zsortinterface.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - search.go - slice.go - sort.go - zsortfunc.go - zsortinterface.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( search.go slice.go @@ -34,7 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) zsortfunc.go zsortinterface.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( search.go slice.go @@ -42,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) zsortfunc.go zsortinterface.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( search.go slice.go @@ -58,21 +39,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) zsortfunc.go zsortinterface.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - search.go - slice.go - sort.go - zsortfunc.go - zsortinterface.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - search.go - slice.go - sort.go - zsortfunc.go - zsortinterface.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/strconv/ya.make b/contrib/go/_std_1.21/src/strconv/ya.make index 9f6a55f3d0..7461602880 100644 --- a/contrib/go/_std_1.21/src/strconv/ya.make +++ b/contrib/go/_std_1.21/src/strconv/ya.make @@ -1,42 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - atob.go - atoc.go - atof.go - atoi.go - bytealg.go - ctoa.go - decimal.go - doc.go - eisel_lemire.go - ftoa.go - ftoaryu.go - isprint.go - itoa.go - quote.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - atob.go - atoc.go - atof.go - atoi.go - bytealg.go - ctoa.go - decimal.go - doc.go - eisel_lemire.go - ftoa.go - ftoaryu.go - isprint.go - itoa.go - quote.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( atob.go atoc.go @@ -70,7 +33,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) itoa.go quote.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( atob.go atoc.go @@ -87,7 +50,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) itoa.go quote.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( atob.go atoc.go @@ -121,39 +84,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) itoa.go quote.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - atob.go - atoc.go - atof.go - atoi.go - bytealg.go - ctoa.go - decimal.go - doc.go - eisel_lemire.go - ftoa.go - ftoaryu.go - isprint.go - itoa.go - quote.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - atob.go - atoc.go - atof.go - atoi.go - bytealg.go - ctoa.go - decimal.go - doc.go - eisel_lemire.go - ftoa.go - ftoaryu.go - isprint.go - itoa.go - quote.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/strings/ya.make b/contrib/go/_std_1.21/src/strings/ya.make index 9dbdf6f565..edcbabec5e 100644 --- a/contrib/go/_std_1.21/src/strings/ya.make +++ b/contrib/go/_std_1.21/src/strings/ya.make @@ -1,28 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - builder.go - clone.go - compare.go - reader.go - replace.go - search.go - strings.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - builder.go - clone.go - compare.go - reader.go - replace.go - search.go - strings.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( builder.go clone.go @@ -42,7 +19,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) search.go strings.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( builder.go clone.go @@ -52,7 +29,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) search.go strings.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( builder.go clone.go @@ -72,25 +49,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) search.go strings.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - builder.go - clone.go - compare.go - reader.go - replace.go - search.go - strings.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - builder.go - clone.go - compare.go - reader.go - replace.go - search.go - strings.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/sync/ya.make b/contrib/go/_std_1.21/src/sync/ya.make index adf2284f04..f2a43ff9c1 100644 --- a/contrib/go/_std_1.21/src/sync/ya.make +++ b/contrib/go/_std_1.21/src/sync/ya.make @@ -1,36 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - cond.go - map.go - mutex.go - once.go - oncefunc.go - pool.go - poolqueue.go - runtime.go - runtime2.go - rwmutex.go - waitgroup.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - cond.go - map.go - mutex.go - once.go - oncefunc.go - pool.go - poolqueue.go - runtime.go - runtime2.go - rwmutex.go - waitgroup.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( cond.go map.go @@ -58,7 +27,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) rwmutex.go waitgroup.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( cond.go map.go @@ -72,7 +41,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) rwmutex.go waitgroup.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( cond.go map.go @@ -100,34 +69,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) rwmutex.go waitgroup.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - cond.go - map.go - mutex.go - once.go - oncefunc.go - pool.go - poolqueue.go - runtime.go - runtime2.go - rwmutex.go - waitgroup.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - cond.go - map.go - mutex.go - once.go - oncefunc.go - pool.go - poolqueue.go - runtime.go - runtime2.go - rwmutex.go - waitgroup.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/testing/internal/testdeps/ya.make b/contrib/go/_std_1.21/src/testing/internal/testdeps/ya.make index 81ce470804..cdadc11ef2 100644 --- a/contrib/go/_std_1.21/src/testing/internal/testdeps/ya.make +++ b/contrib/go/_std_1.21/src/testing/internal/testdeps/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - deps.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - deps.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( deps.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( deps.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( deps.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( deps.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( deps.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - deps.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - deps.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/testing/ya.make b/contrib/go/_std_1.21/src/testing/ya.make index 4a265c067a..eaf586c78f 100644 --- a/contrib/go/_std_1.21/src/testing/ya.make +++ b/contrib/go/_std_1.21/src/testing/ya.make @@ -1,34 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - allocs.go - benchmark.go - cover.go - example.go - fuzz.go - match.go - newcover.go - run_example.go - testing.go - testing_other.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - allocs.go - benchmark.go - cover.go - example.go - fuzz.go - match.go - newcover.go - run_example.go - testing.go - testing_other.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( allocs.go benchmark.go @@ -54,7 +25,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) testing.go testing_other.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( allocs.go benchmark.go @@ -67,7 +38,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) testing.go testing_other.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( allocs.go benchmark.go @@ -93,32 +64,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) testing.go testing_windows.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - allocs.go - benchmark.go - cover.go - example.go - fuzz.go - match.go - newcover.go - run_example.go - testing.go - testing_windows.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - allocs.go - benchmark.go - cover.go - example.go - fuzz.go - match.go - newcover.go - run_example.go - testing.go - testing_windows.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/text/scanner/ya.make b/contrib/go/_std_1.21/src/text/scanner/ya.make index 898e80a6bd..6d5deccf49 100644 --- a/contrib/go/_std_1.21/src/text/scanner/ya.make +++ b/contrib/go/_std_1.21/src/text/scanner/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - scanner.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - scanner.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( scanner.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( scanner.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( scanner.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( scanner.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( scanner.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - scanner.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - scanner.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/text/tabwriter/ya.make b/contrib/go/_std_1.21/src/text/tabwriter/ya.make index 6103f01457..8679d9ac1e 100644 --- a/contrib/go/_std_1.21/src/text/tabwriter/ya.make +++ b/contrib/go/_std_1.21/src/text/tabwriter/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - tabwriter.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - tabwriter.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( tabwriter.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( tabwriter.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( tabwriter.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( tabwriter.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( tabwriter.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - tabwriter.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - tabwriter.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/text/template/parse/ya.make b/contrib/go/_std_1.21/src/text/template/parse/ya.make index 4a7573a1ce..69a678355b 100644 --- a/contrib/go/_std_1.21/src/text/template/parse/ya.make +++ b/contrib/go/_std_1.21/src/text/template/parse/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - lex.go - node.go - parse.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - lex.go - node.go - parse.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( lex.go node.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) node.go parse.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( lex.go node.go parse.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( lex.go node.go @@ -44,17 +29,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) node.go parse.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - lex.go - node.go - parse.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - lex.go - node.go - parse.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/text/template/ya.make b/contrib/go/_std_1.21/src/text/template/ya.make index 117aef6174..2d1a597edd 100644 --- a/contrib/go/_std_1.21/src/text/template/ya.make +++ b/contrib/go/_std_1.21/src/text/template/ya.make @@ -1,26 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - doc.go - exec.go - funcs.go - helper.go - option.go - template.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - doc.go - exec.go - funcs.go - helper.go - option.go - template.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( doc.go exec.go @@ -38,7 +17,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) option.go template.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( doc.go exec.go @@ -47,7 +26,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) option.go template.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( doc.go exec.go @@ -65,24 +44,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) option.go template.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - doc.go - exec.go - funcs.go - helper.go - option.go - template.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - doc.go - exec.go - funcs.go - helper.go - option.go - template.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/time/tzdata/ya.make b/contrib/go/_std_1.21/src/time/tzdata/ya.make index 9cd1d2a7d1..a6518e11db 100644 --- a/contrib/go/_std_1.21/src/time/tzdata/ya.make +++ b/contrib/go/_std_1.21/src/time/tzdata/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - tzdata.go - zzipdata.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - tzdata.go - zzipdata.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( tzdata.go zzipdata.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) tzdata.go zzipdata.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( tzdata.go zzipdata.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( tzdata.go zzipdata.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) tzdata.go zzipdata.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - tzdata.go - zzipdata.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - tzdata.go - zzipdata.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/time/ya.make b/contrib/go/_std_1.21/src/time/ya.make index 6ca58d4b93..37f52aefb7 100644 --- a/contrib/go/_std_1.21/src/time/ya.make +++ b/contrib/go/_std_1.21/src/time/ya.make @@ -1,34 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - format.go - format_rfc3339.go - sleep.go - sys_unix.go - tick.go - time.go - zoneinfo.go - zoneinfo_goroot.go - zoneinfo_read.go - zoneinfo_unix.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - format.go - format_rfc3339.go - sleep.go - sys_unix.go - tick.go - time.go - zoneinfo.go - zoneinfo_goroot.go - zoneinfo_read.go - zoneinfo_unix.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( format.go format_rfc3339.go @@ -54,7 +25,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) zoneinfo_read.go zoneinfo_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( format.go format_rfc3339.go @@ -67,7 +38,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) zoneinfo_read.go zoneinfo_unix.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( format.go format_rfc3339.go @@ -94,34 +65,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) zoneinfo_read.go zoneinfo_windows.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - format.go - format_rfc3339.go - sleep.go - sys_windows.go - tick.go - time.go - zoneinfo.go - zoneinfo_abbrs_windows.go - zoneinfo_goroot.go - zoneinfo_read.go - zoneinfo_windows.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - format.go - format_rfc3339.go - sleep.go - sys_windows.go - tick.go - time.go - zoneinfo.go - zoneinfo_abbrs_windows.go - zoneinfo_goroot.go - zoneinfo_read.go - zoneinfo_windows.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/unicode/utf16/ya.make b/contrib/go/_std_1.21/src/unicode/utf16/ya.make index 63b31be5af..b5097a77d8 100644 --- a/contrib/go/_std_1.21/src/unicode/utf16/ya.make +++ b/contrib/go/_std_1.21/src/unicode/utf16/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - utf16.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - utf16.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( utf16.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( utf16.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( utf16.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( utf16.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( utf16.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - utf16.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - utf16.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/unicode/utf8/ya.make b/contrib/go/_std_1.21/src/unicode/utf8/ya.make index de0e9fd534..ad7646bca0 100644 --- a/contrib/go/_std_1.21/src/unicode/utf8/ya.make +++ b/contrib/go/_std_1.21/src/unicode/utf8/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - utf8.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - utf8.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( utf8.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( utf8.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( utf8.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( utf8.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( utf8.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - utf8.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - utf8.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/unicode/ya.make b/contrib/go/_std_1.21/src/unicode/ya.make index eb380b96ac..c8e3ff7f21 100644 --- a/contrib/go/_std_1.21/src/unicode/ya.make +++ b/contrib/go/_std_1.21/src/unicode/ya.make @@ -1,24 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - casetables.go - digit.go - graphic.go - letter.go - tables.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - casetables.go - digit.go - graphic.go - letter.go - tables.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( casetables.go digit.go @@ -34,7 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) letter.go tables.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( casetables.go digit.go @@ -42,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) letter.go tables.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( casetables.go digit.go @@ -58,22 +39,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) letter.go tables.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - casetables.go - digit.go - graphic.go - letter.go - tables.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - casetables.go - digit.go - graphic.go - letter.go - tables.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/chacha20/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/chacha20/ya.make index 8f62e9832c..7991568a25 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/chacha20/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/chacha20/ya.make @@ -1,21 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - chacha_generic.go - chacha_noasm.go - xor.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - chacha_arm64.go - chacha_arm64.s - chacha_generic.go - xor.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( chacha_arm64.go chacha_arm64.s @@ -28,18 +12,17 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) chacha_noasm.go xor.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( chacha_arm64.go chacha_arm64.s chacha_generic.go xor.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( - chacha_arm64.go - chacha_arm64.s chacha_generic.go + chacha_noasm.go xor.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) @@ -48,19 +31,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) chacha_noasm.go xor.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - chacha_arm64.go - chacha_arm64.s - chacha_generic.go - xor.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - chacha_arm64.go - chacha_arm64.s - chacha_generic.go - xor.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/chacha20poly1305/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/chacha20poly1305/ya.make index 2257ada88d..a6c3f40a58 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/chacha20poly1305/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/chacha20poly1305/ya.make @@ -1,23 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - chacha20poly1305.go - chacha20poly1305_amd64.go - chacha20poly1305_amd64.s - chacha20poly1305_generic.go - xchacha20poly1305.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - chacha20poly1305.go - chacha20poly1305_generic.go - chacha20poly1305_noasm.go - xchacha20poly1305.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( chacha20poly1305.go chacha20poly1305_generic.go @@ -32,18 +14,19 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) chacha20poly1305_generic.go xchacha20poly1305.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( chacha20poly1305.go chacha20poly1305_generic.go chacha20poly1305_noasm.go xchacha20poly1305.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( chacha20poly1305.go + chacha20poly1305_amd64.go + chacha20poly1305_amd64.s chacha20poly1305_generic.go - chacha20poly1305_noasm.go xchacha20poly1305.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) @@ -54,19 +37,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) chacha20poly1305_generic.go xchacha20poly1305.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - chacha20poly1305.go - chacha20poly1305_generic.go - chacha20poly1305_noasm.go - xchacha20poly1305.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - chacha20poly1305.go - chacha20poly1305_generic.go - chacha20poly1305_noasm.go - xchacha20poly1305.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/cryptobyte/asn1/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/cryptobyte/asn1/ya.make index ebe58fe962..de7ad28082 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/cryptobyte/asn1/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/cryptobyte/asn1/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - asn1.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - asn1.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( asn1.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( asn1.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( asn1.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( asn1.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( asn1.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - asn1.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - asn1.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/cryptobyte/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/cryptobyte/ya.make index de07971cc4..eb5fc72be3 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/cryptobyte/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/cryptobyte/ya.make @@ -1,20 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - asn1.go - builder.go - string.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - asn1.go - builder.go - string.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( asn1.go builder.go @@ -26,13 +11,13 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) builder.go string.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( asn1.go builder.go string.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( asn1.go builder.go @@ -44,18 +29,6 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) builder.go string.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - asn1.go - builder.go - string.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - asn1.go - builder.go - string.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/hkdf/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/hkdf/ya.make index afac1c277a..11a304f6e6 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/hkdf/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/hkdf/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - hkdf.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - hkdf.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( hkdf.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( hkdf.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( hkdf.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( hkdf.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( hkdf.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - hkdf.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - hkdf.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/internal/alias/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/internal/alias/ya.make index 2af7fd4551..80830f4c9b 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/internal/alias/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/internal/alias/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - alias.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - alias.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( alias.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( alias.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( alias.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( alias.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( alias.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - alias.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - alias.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/internal/poly1305/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/internal/poly1305/ya.make index 11e0a8adea..8574e9faad 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/internal/poly1305/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/crypto/internal/poly1305/ya.make @@ -1,23 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - bits_go1.13.go - poly1305.go - sum_amd64.go - sum_amd64.s - sum_generic.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - bits_go1.13.go - mac_noasm.go - poly1305.go - sum_generic.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( bits_go1.13.go mac_noasm.go @@ -32,18 +14,19 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) sum_amd64.s sum_generic.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( bits_go1.13.go mac_noasm.go poly1305.go sum_generic.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( bits_go1.13.go - mac_noasm.go poly1305.go + sum_amd64.go + sum_amd64.s sum_generic.go ) ELSEIF (OS_WINDOWS AND ARCH_X86_64) @@ -54,19 +37,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) sum_amd64.s sum_generic.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - bits_go1.13.go - mac_noasm.go - poly1305.go - sum_generic.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - bits_go1.13.go - mac_noasm.go - poly1305.go - sum_generic.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/net/dns/dnsmessage/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/net/dns/dnsmessage/ya.make index 01769488d1..81edfd8f36 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/net/dns/dnsmessage/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/net/dns/dnsmessage/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - message.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - message.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( message.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( message.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( message.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( message.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( message.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - message.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - message.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/net/http/httpguts/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/net/http/httpguts/ya.make index 13a6f5fc41..1218894b28 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/net/http/httpguts/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/net/http/httpguts/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - guts.go - httplex.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - guts.go - httplex.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( guts.go httplex.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) guts.go httplex.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( guts.go httplex.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( guts.go httplex.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) guts.go httplex.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - guts.go - httplex.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - guts.go - httplex.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/net/http/httpproxy/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/net/http/httpproxy/ya.make index 944a5e66d6..11762394be 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/net/http/httpproxy/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/net/http/httpproxy/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - proxy.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - proxy.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( proxy.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( proxy.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( proxy.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( proxy.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( proxy.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - proxy.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - proxy.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/net/http2/hpack/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/net/http2/hpack/ya.make index 7ad589ef34..390f273735 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/net/http2/hpack/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/net/http2/hpack/ya.make @@ -1,24 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - encode.go - hpack.go - huffman.go - static_table.go - tables.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - encode.go - hpack.go - huffman.go - static_table.go - tables.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( encode.go hpack.go @@ -34,7 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) static_table.go tables.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( encode.go hpack.go @@ -42,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) static_table.go tables.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( encode.go hpack.go @@ -58,21 +39,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) static_table.go tables.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - encode.go - hpack.go - huffman.go - static_table.go - tables.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - encode.go - hpack.go - huffman.go - static_table.go - tables.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/net/idna/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/net/idna/ya.make index 7ded1b919b..d7ab5ad54e 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/net/idna/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/net/idna/ya.make @@ -1,28 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - go118.go - idna10.0.0.go - punycode.go - tables15.0.0.go - trie.go - trie13.0.0.go - trieval.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - go118.go - idna10.0.0.go - punycode.go - tables15.0.0.go - trie.go - trie13.0.0.go - trieval.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( go118.go idna10.0.0.go @@ -42,7 +19,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) trie13.0.0.go trieval.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( go118.go idna10.0.0.go @@ -52,7 +29,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) trie13.0.0.go trieval.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( go118.go idna10.0.0.go @@ -72,25 +49,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) trie13.0.0.go trieval.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - go118.go - idna10.0.0.go - punycode.go - tables15.0.0.go - trie.go - trie13.0.0.go - trieval.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - go118.go - idna10.0.0.go - punycode.go - tables15.0.0.go - trie.go - trie13.0.0.go - trieval.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/net/route/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/net/route/ya.make index e1d1fcd892..6fd7036eb7 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/net/route/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/net/route/ya.make @@ -1,8 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_DARWIN AND ARCH_X86_64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( address.go binary.go @@ -18,23 +15,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) syscall.go zsys_darwin.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) - SRCS( - address.go - binary.go - empty.s - interface.go - interface_classic.go - interface_multicast.go - message.go - route.go - route_classic.go - sys.go - sys_darwin.go - syscall.go - zsys_darwin.go - ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( address.go binary.go diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/sys/cpu/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/sys/cpu/ya.make index fcdf629677..4739833746 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/sys/cpu/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/sys/cpu/ya.make @@ -1,48 +1,14 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - byteorder.go - cpu.go - cpu_gc_x86.go - cpu_linux_noinit.go - cpu_x86.go - cpu_x86.s - endian_little.go - hwcap_linux.go - parse.go - runtime_auxv.go - runtime_auxv_go121.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - byteorder.go - cpu.go - cpu_arm64.go - cpu_arm64.s - cpu_gc_arm64.go - cpu_linux_arm64.go - endian_little.go - hwcap_linux.go - parse.go - proc_cpuinfo_linux.go - runtime_auxv.go - runtime_auxv_go121.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( byteorder.go cpu.go cpu_arm64.go cpu_arm64.s cpu_gc_arm64.go - cpu_linux_arm64.go + cpu_other_arm64.go endian_little.go - hwcap_linux.go parse.go - proc_cpuinfo_linux.go runtime_auxv.go runtime_auxv_go121.go ) @@ -58,28 +24,31 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) runtime_auxv.go runtime_auxv_go121.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( byteorder.go cpu.go cpu_arm64.go cpu_arm64.s cpu_gc_arm64.go - cpu_other_arm64.go + cpu_linux_arm64.go endian_little.go + hwcap_linux.go parse.go + proc_cpuinfo_linux.go runtime_auxv.go runtime_auxv_go121.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( byteorder.go cpu.go - cpu_arm64.go - cpu_arm64.s - cpu_gc_arm64.go - cpu_other_arm64.go + cpu_gc_x86.go + cpu_linux_noinit.go + cpu_x86.go + cpu_x86.s endian_little.go + hwcap_linux.go parse.go runtime_auxv.go runtime_auxv_go121.go @@ -96,31 +65,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) runtime_auxv.go runtime_auxv_go121.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - byteorder.go - cpu.go - cpu_arm64.go - cpu_arm64.s - cpu_gc_arm64.go - cpu_other_arm64.go - endian_little.go - parse.go - runtime_auxv.go - runtime_auxv_go121.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - byteorder.go - cpu.go - cpu_arm64.go - cpu_arm64.s - cpu_gc_arm64.go - cpu_other_arm64.go - endian_little.go - parse.go - runtime_auxv.go - runtime_auxv_go121.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/text/secure/bidirule/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/text/secure/bidirule/ya.make index e1949d866a..9073a5e36d 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/text/secure/bidirule/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/text/secure/bidirule/ya.make @@ -1,18 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - bidirule.go - bidirule10.0.0.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - bidirule.go - bidirule10.0.0.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( bidirule.go bidirule10.0.0.go @@ -22,12 +9,12 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) bidirule.go bidirule10.0.0.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( bidirule.go bidirule10.0.0.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( bidirule.go bidirule10.0.0.go @@ -37,15 +24,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) bidirule.go bidirule10.0.0.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - bidirule.go - bidirule10.0.0.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - bidirule.go - bidirule10.0.0.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/text/transform/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/text/transform/ya.make index 38d61e2737..8fa2422367 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/text/transform/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/text/transform/ya.make @@ -1,16 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - transform.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - transform.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( transform.go ) @@ -18,11 +7,11 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) SRCS( transform.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( transform.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( transform.go ) @@ -30,13 +19,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) SRCS( transform.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - transform.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - transform.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/text/unicode/bidi/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/text/unicode/bidi/ya.make index 0259a28a9d..47a2ec2c12 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/text/unicode/bidi/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/text/unicode/bidi/ya.make @@ -1,26 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - bidi.go - bracket.go - core.go - prop.go - tables15.0.0.go - trieval.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - bidi.go - bracket.go - core.go - prop.go - tables15.0.0.go - trieval.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( bidi.go bracket.go @@ -38,7 +17,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) tables15.0.0.go trieval.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( bidi.go bracket.go @@ -47,7 +26,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) tables15.0.0.go trieval.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( bidi.go bracket.go @@ -65,23 +44,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) tables15.0.0.go trieval.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - bidi.go - bracket.go - core.go - prop.go - tables15.0.0.go - trieval.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - bidi.go - bracket.go - core.go - prop.go - tables15.0.0.go - trieval.go - ) ENDIF() END() diff --git a/contrib/go/_std_1.21/src/vendor/golang.org/x/text/unicode/norm/ya.make b/contrib/go/_std_1.21/src/vendor/golang.org/x/text/unicode/norm/ya.make index 20671a14b5..5b6020506a 100644 --- a/contrib/go/_std_1.21/src/vendor/golang.org/x/text/unicode/norm/ya.make +++ b/contrib/go/_std_1.21/src/vendor/golang.org/x/text/unicode/norm/ya.make @@ -1,32 +1,5 @@ GO_LIBRARY() -IF (FALSE) - MESSAGE(FATAL this shall never happen) - -ELSEIF (OS_LINUX AND ARCH_X86_64) - SRCS( - composition.go - forminfo.go - input.go - iter.go - normalize.go - readwriter.go - tables15.0.0.go - transform.go - trie.go - ) -ELSEIF (OS_LINUX AND ARCH_ARM64) - SRCS( - composition.go - forminfo.go - input.go - iter.go - normalize.go - readwriter.go - tables15.0.0.go - transform.go - trie.go - ) -ELSEIF (OS_LINUX AND ARCH_AARCH64) +IF (OS_DARWIN AND ARCH_ARM64) SRCS( composition.go forminfo.go @@ -50,7 +23,7 @@ ELSEIF (OS_DARWIN AND ARCH_X86_64) transform.go trie.go ) -ELSEIF (OS_DARWIN AND ARCH_ARM64) +ELSEIF (OS_LINUX AND ARCH_AARCH64) SRCS( composition.go forminfo.go @@ -62,7 +35,7 @@ ELSEIF (OS_DARWIN AND ARCH_ARM64) transform.go trie.go ) -ELSEIF (OS_DARWIN AND ARCH_AARCH64) +ELSEIF (OS_LINUX AND ARCH_X86_64) SRCS( composition.go forminfo.go @@ -86,29 +59,5 @@ ELSEIF (OS_WINDOWS AND ARCH_X86_64) transform.go trie.go ) -ELSEIF (OS_WINDOWS AND ARCH_ARM64) - SRCS( - composition.go - forminfo.go - input.go - iter.go - normalize.go - readwriter.go - tables15.0.0.go - transform.go - trie.go - ) -ELSEIF (OS_WINDOWS AND ARCH_AARCH64) - SRCS( - composition.go - forminfo.go - input.go - iter.go - normalize.go - readwriter.go - tables15.0.0.go - transform.go - trie.go - ) ENDIF() END() diff --git a/contrib/libs/cxxsupp/libcxxrt/atomic.h b/contrib/libs/cxxsupp/libcxxrt/atomic.h index afdbdd04d5..701d05337c 100644 --- a/contrib/libs/cxxsupp/libcxxrt/atomic.h +++ b/contrib/libs/cxxsupp/libcxxrt/atomic.h @@ -1,28 +1,102 @@ + #ifndef __has_builtin -#define __has_builtin(x) 0 +# define __has_builtin(x) 0 #endif #ifndef __has_feature -#define __has_feature(x) 0 +# define __has_feature(x) 0 +#endif +#ifndef __has_extension +# define __has_extension(x) 0 +#endif + +#if !__has_extension(c_atomic) +# define _Atomic(T) T #endif -/** - * Swap macro that enforces a happens-before relationship with a corresponding - * ATOMIC_LOAD. - */ #if __has_builtin(__c11_atomic_exchange) -#define ATOMIC_SWAP(addr, val)\ - __c11_atomic_exchange(reinterpret_cast<_Atomic(__typeof__(val))*>(addr), val, __ATOMIC_ACQ_REL) -#elif __has_builtin(__sync_swap) -#define ATOMIC_SWAP(addr, val)\ - __sync_swap(addr, val) +# define ATOMIC_BUILTIN(name) __c11_atomic_##name #else -#define ATOMIC_SWAP(addr, val)\ - __sync_lock_test_and_set(addr, val) +# define ATOMIC_BUILTIN(name) __atomic_##name##_n #endif -#if __has_builtin(__c11_atomic_load) -#define ATOMIC_LOAD(addr)\ - __c11_atomic_load(reinterpret_cast<_Atomic(__typeof__(*addr))*>(addr), __ATOMIC_ACQUIRE) +namespace +{ + /** + * C++11 memory orders. We only need a subset of them. + */ + enum memory_order + { + /** + * Acquire order. + */ + acquire = __ATOMIC_ACQUIRE, + + /** + * Release order. + */ + release = __ATOMIC_RELEASE, + + /** + * Sequentially consistent memory ordering. + */ + seqcst = __ATOMIC_SEQ_CST + }; + + /** + * Atomic, implements a subset of `std::atomic`. + */ + template<typename T> + class atomic + { + /** + * The underlying value. Use C11 atomic qualification if available. + */ + _Atomic(T) val; + + public: + /** + * Constructor, takes a value. + */ + atomic(T init) : val(init) {} + + /** + * Atomically load with the specified memory order. + */ + T load(memory_order order = memory_order::seqcst) + { + return ATOMIC_BUILTIN(load)(&val, order); + } + + /** + * Atomically store with the specified memory order. + */ + void store(T v, memory_order order = memory_order::seqcst) + { + return ATOMIC_BUILTIN(store)(&val, v, order); + } + + /** + * Atomically exchange with the specified memory order. + */ + T exchange(T v, memory_order order = memory_order::seqcst) + { + return ATOMIC_BUILTIN(exchange)(&val, v, order); + } + + /** + * Atomically exchange with the specified memory order. + */ + bool compare_exchange(T & expected, + T desired, + memory_order order = memory_order::seqcst) + { +#if __has_builtin(__c11_atomic_compare_exchange_strong) + return __c11_atomic_compare_exchange_strong( + &val, &expected, desired, order, order); #else -#define ATOMIC_LOAD(addr)\ - (__sync_synchronize(), *addr) + return __atomic_compare_exchange_n( + &val, &expected, desired, true, order, order); #endif + } + }; +} // namespace +#undef ATOMIC_BUILTIN diff --git a/contrib/libs/cxxsupp/libcxxrt/cxxabi.h b/contrib/libs/cxxsupp/libcxxrt/cxxabi.h index 7a8cb6745f..e96d4c2592 100644 --- a/contrib/libs/cxxsupp/libcxxrt/cxxabi.h +++ b/contrib/libs/cxxsupp/libcxxrt/cxxabi.h @@ -77,6 +77,13 @@ struct __cxa_exception { #if __LP64__ /** + * Now _Unwind_Exception is marked with __attribute__((aligned)), which + * implies __cxa_exception is also aligned. Insert padding in the + * beginning of the struct, rather than before unwindHeader. + */ + void *reserve; + + /** * Reference count. Used to support the C++11 exception_ptr class. This * is prepended to the structure in 64-bit mode and squeezed in to the * padding left before the 64-bit aligned _Unwind_Exception at the end in @@ -198,6 +205,14 @@ __cxa_eh_globals *__cxa_get_globals_fast(void); std::type_info * __cxa_current_exception_type(); + +void *__cxa_allocate_exception(size_t thrown_size); + +void __cxa_free_exception(void* thrown_exception); + +__cxa_exception *__cxa_init_primary_exception( + void *object, std::type_info* tinfo, void (*dest)(void *)); + /** * Throws an exception returned by __cxa_current_primary_exception(). This * exception may have been caught in another thread. diff --git a/contrib/libs/cxxsupp/libcxxrt/exception.cc b/contrib/libs/cxxsupp/libcxxrt/exception.cc index 9bb47c8e9e..0a26befee6 100644 --- a/contrib/libs/cxxsupp/libcxxrt/exception.cc +++ b/contrib/libs/cxxsupp/libcxxrt/exception.cc @@ -1,5 +1,6 @@ /* * Copyright 2010-2011 PathScale, Inc. All rights reserved. + * Copyright 2021 David Chisnall. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -139,6 +140,7 @@ struct __cxa_thread_info terminate_handler terminateHandler; /** The unexpected exception handler for this thread. */ unexpected_handler unexpectedHandler; +#ifndef LIBCXXRT_NO_EMERGENCY_MALLOC /** * The number of emergency buffers held by this thread. This is 0 in * normal operation - the emergency buffers are only used when malloc() @@ -147,6 +149,7 @@ struct __cxa_thread_info * in ABI spec [3.3.1]). */ int emergencyBuffersHeld; +#endif /** * The exception currently running in a cleanup. */ @@ -174,6 +177,7 @@ struct __cxa_thread_info struct __cxa_dependent_exception { #if __LP64__ + void *reserve; void *primaryException; #endif std::type_info *exceptionType; @@ -196,8 +200,18 @@ struct __cxa_dependent_exception #endif _Unwind_Exception unwindHeader; }; +static_assert(sizeof(__cxa_exception) == sizeof(__cxa_dependent_exception), + "__cxa_exception and __cxa_dependent_exception should have the same size"); +static_assert(offsetof(__cxa_exception, referenceCount) == + offsetof(__cxa_dependent_exception, primaryException), + "referenceCount and primaryException should have the same offset"); +static_assert(offsetof(__cxa_exception, unwindHeader) == + offsetof(__cxa_dependent_exception, unwindHeader), + "unwindHeader fields should have the same offset"); +static_assert(offsetof(__cxa_dependent_exception, unwindHeader) == + offsetof(__cxa_dependent_exception, adjustedPtr) + 8, + "there should be no padding before unwindHeader"); -static_assert(sizeof(__cxa_dependent_exception) == sizeof(__cxa_exception)); namespace std { @@ -283,19 +297,19 @@ using namespace ABI_NAMESPACE; */ static _Unwind_Reason_Code trace(struct _Unwind_Context *context, void *c) { - Dl_info myinfo; - int mylookup = - dladdr(reinterpret_cast<void *>(__cxa_current_exception_type), &myinfo); - void *ip = reinterpret_cast<void*>(_Unwind_GetIP(context)); - Dl_info info; - if (dladdr(ip, &info) != 0) - { - if (mylookup == 0 || strcmp(info.dli_fname, myinfo.dli_fname) != 0) - { - printf("%p:%s() in %s\n", ip, info.dli_sname, info.dli_fname); - } - } - return _URC_CONTINUE_UNWIND; + Dl_info myinfo; + int mylookup = + dladdr(reinterpret_cast<void *>(__cxa_current_exception_type), &myinfo); + void *ip = reinterpret_cast<void*>(_Unwind_GetIP(context)); + Dl_info info; + if (dladdr(ip, &info) != 0) + { + if (mylookup == 0 || strcmp(info.dli_fname, myinfo.dli_fname) != 0) + { + printf("%p:%s() in %s\n", ip, info.dli_sname, info.dli_fname); + } + } + return _URC_CONTINUE_UNWIND; } static void bt_terminate_handler() { @@ -335,9 +349,9 @@ static void bt_terminate_handler() { } /** The global termination handler. */ -static terminate_handler terminateHandler = bt_terminate_handler; +static atomic<terminate_handler> terminateHandler = bt_terminate_handler; /** The global unexpected exception handler. */ -static unexpected_handler unexpectedHandler = std::terminate; +static atomic<unexpected_handler> unexpectedHandler = std::terminate; /** Key used for thread-local data. */ static pthread_key_t eh_key; @@ -512,6 +526,23 @@ extern "C" __cxa_eh_globals *ABI_NAMESPACE::__cxa_get_globals_fast(void) return &(thread_info_fast()->globals); } +#ifdef LIBCXXRT_NO_EMERGENCY_MALLOC +static char *alloc_or_die(size_t size) +{ + char *buffer = static_cast<char*>(calloc(1, size)); + + if (buffer == nullptr) + { + fputs("Out of memory attempting to allocate exception\n", stderr); + std::terminate(); + } + return buffer; +} +static void free_exception(char *e) +{ + free(e); +} +#else /** * An emergency allocation reserved for when malloc fails. This is treated as * 16 buffers of 1KB each. @@ -651,6 +682,7 @@ static void free_exception(char *e) free(e); } } +#endif static constexpr size_t align_to(size_t size, size_t alignment) noexcept { return (size + alignment - 1) / alignment * alignment; @@ -672,6 +704,7 @@ static_assert( static constexpr size_t backtrace_buffer_size = 0; #endif + /** * Allocates an exception structure. Returns a pointer to the space that can * be used to store an object of thrown_size bytes. This function will use an @@ -821,12 +854,12 @@ static void throw_exception(__cxa_exception *ex) ex->unexpectedHandler = info->unexpectedHandler; if (0 == ex->unexpectedHandler) { - ex->unexpectedHandler = unexpectedHandler; + ex->unexpectedHandler = unexpectedHandler.load(); } ex->terminateHandler = info->terminateHandler; if (0 == ex->terminateHandler) { - ex->terminateHandler = terminateHandler; + ex->terminateHandler = terminateHandler.load(); } info->globals.uncaughtExceptions++; @@ -837,6 +870,21 @@ static void throw_exception(__cxa_exception *ex) report_failure(err, ex); } +extern "C" __cxa_exception *__cxa_init_primary_exception( + void *object, std::type_info* tinfo, void (*dest)(void *)) { + __cxa_exception *ex = reinterpret_cast<__cxa_exception*>(object) - 1; + + ex->referenceCount = 0; + ex->exceptionType = tinfo; + + ex->exceptionDestructor = dest; + + ex->unwindHeader.exception_class = exception_class; + ex->unwindHeader.exception_cleanup = exception_cleanup; + + return ex; +} + typedef void (*cxa_throw_hook_t)(void*, std::type_info*, void(*)(void*)) noexcept; __attribute__((weak)) cxa_throw_hook_t cxa_throw_hook = nullptr; @@ -850,20 +898,13 @@ extern "C" void __cxa_throw(void *thrown_exception, std::type_info *tinfo, void(*dest)(void*)) { - if (cxa_throw_hook) - { - cxa_throw_hook(thrown_exception, tinfo, dest); - } - - __cxa_exception *ex = reinterpret_cast<__cxa_exception*>(thrown_exception) - 1; + if (cxa_throw_hook) + { + cxa_throw_hook(thrown_exception, tinfo, dest); + } + __cxa_exception *ex = __cxa_init_primary_exception(thrown_exception, tinfo, dest); ex->referenceCount = 1; - ex->exceptionType = tinfo; - - ex->exceptionDestructor = dest; - - ex->unwindHeader.exception_class = exception_class; - ex->unwindHeader.exception_cleanup = exception_cleanup; throw_exception(ex); } @@ -1567,7 +1608,7 @@ namespace std { if (thread_local_handlers) { return pathscale::set_unexpected(f); } - return ATOMIC_SWAP(&unexpectedHandler, f); + return unexpectedHandler.exchange(f); } /** * Sets the function that is called to terminate the program. @@ -1576,7 +1617,7 @@ namespace std { if (thread_local_handlers) { return pathscale::set_terminate(f); } - return ATOMIC_SWAP(&terminateHandler, f); + return terminateHandler.exchange(f); } /** * Terminates the program, calling a custom terminate implementation if @@ -1592,7 +1633,7 @@ namespace std // return. abort(); } - terminateHandler(); + terminateHandler.load()(); } /** * Called when an unexpected exception is encountered (i.e. an exception @@ -1609,7 +1650,7 @@ namespace std // return. abort(); } - unexpectedHandler(); + unexpectedHandler.load()(); } /** * Returns whether there are any exceptions currently being thrown that @@ -1639,7 +1680,7 @@ namespace std { return info->unexpectedHandler; } - return ATOMIC_LOAD(&unexpectedHandler); + return unexpectedHandler.load(); } /** * Returns the current terminate handler. @@ -1651,7 +1692,7 @@ namespace std { return info->terminateHandler; } - return ATOMIC_LOAD(&terminateHandler); + return terminateHandler.load(); } } #if defined(__arm__) && !defined(__ARM_DWARF_EH__) @@ -1682,8 +1723,10 @@ asm ( ".type __cxa_end_cleanup, \"function\" \n" "__cxa_end_cleanup: \n" " push {r1, r2, r3, r4} \n" +" mov r4, lr \n" " bl __cxa_get_cleanup \n" -" push {r1, r2, r3, r4} \n" +" mov lr, r4 \n" +" pop {r1, r2, r3, r4} \n" " b _Unwind_Resume \n" " bl abort \n" ".popsection \n" diff --git a/contrib/libs/cxxsupp/libcxxrt/guard.cc b/contrib/libs/cxxsupp/libcxxrt/guard.cc index 10978716e8..cb58aa7da2 100644 --- a/contrib/libs/cxxsupp/libcxxrt/guard.cc +++ b/contrib/libs/cxxsupp/libcxxrt/guard.cc @@ -1,5 +1,6 @@ -/* +/* * Copyright 2010-2012 PathScale, Inc. All rights reserved. + * Copyright 2021 David Chisnall. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -10,7 +11,7 @@ * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. - * + * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS * IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR @@ -38,126 +39,310 @@ * value as a low-overhead lock. Because statics (in most sane code) are * accessed far more times than they are initialised, this lock implementation * is heavily optimised towards the case where the static has already been - * initialised. + * initialised. */ +#include "atomic.h" +#include <assert.h> +#include <pthread.h> #include <stdint.h> #include <stdlib.h> -#include <stdio.h> -#include <pthread.h> -#include <assert.h> -#include "atomic.h" // Older GCC doesn't define __LITTLE_ENDIAN__ #ifndef __LITTLE_ENDIAN__ - // If __BYTE_ORDER__ is defined, use that instead +// If __BYTE_ORDER__ is defined, use that instead # ifdef __BYTE_ORDER__ # if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ # define __LITTLE_ENDIAN__ # endif - // x86 and ARM are the most common little-endian CPUs, so let's have a - // special case for them (ARM is already special cased). Assume everything - // else is big endian. +// x86 and ARM are the most common little-endian CPUs, so let's have a +// special case for them (ARM is already special cased). Assume everything +// else is big endian. # elif defined(__x86_64) || defined(__i386) # define __LITTLE_ENDIAN__ # endif #endif - /* - * The least significant bit of the guard variable indicates that the object - * has been initialised, the most significant bit is used for a spinlock. + * The Itanium C++ ABI defines guard words that are 64-bit (32-bit on AArch32) + * values with one bit defined to indicate that the guarded variable is and + * another bit to indicate that it's currently locked (initialisation in + * progress). The bit to use depends on the byte order of the target. + * + * On many 32-bit platforms, 64-bit atomics are unavailable (or slow) and so we + * treat the two halves of the 64-bit word as independent values and establish + * an ordering on them such that the guard word is never modified unless the + * lock word is in the locked state. This means that we can do double-checked + * locking by loading the guard word and, if it is not initialised, trying to + * transition the lock word from the unlocked to locked state, and then + * manipulate the guard word. */ +namespace +{ + /** + * The state of the guard variable when an attempt is made to lock it. + */ + enum class GuardState + { + /** + * The lock is not held but is not needed because initialisation is + * one. + */ + InitDone, + + /** + * Initialisation is not done but the lock is held by the caller. + */ + InitLockSucceeded, + + /** + * Attempting to acquire the lock failed. + */ + InitLockFailed + }; + + /** + * Class encapsulating a single atomic word being used to represent the + * guard. The word size is defined by the type of `GuardWord`. The bit + * used to indicate the locked state is `1<<LockedBit`, the bit used to + * indicate the initialised state is `1<<InitBit`. + */ + template<typename GuardWord, int LockedBit, int InitBit> + struct SingleWordGuard + { + /** + * The value indicating that the lock bit is set (and no other bits). + */ + static constexpr GuardWord locked = static_cast<GuardWord>(1) + << LockedBit; + + /** + * The value indicating that the initialised bit is set (and all other + * bits are zero). + */ + static constexpr GuardWord initialised = static_cast<GuardWord>(1) + << InitBit; + + /** + * The guard variable. + */ + atomic<GuardWord> val; + + public: + /** + * Release the lock and set the initialised state. In the single-word + * implementation here, these are both done by a single store. + */ + void unlock(bool isInitialised) + { + val.store(isInitialised ? initialised : 0, memory_order::release); +#ifndef NDEBUG + GuardWord init_state = initialised; + assert(*reinterpret_cast<uint8_t*>(&init_state) != 0); +#endif + } + + /** + * Try to acquire the lock. This has a tri-state return, indicating + * either that the lock was acquired, it wasn't acquired because it was + * contended, or it wasn't acquired because the guarded variable is + * already initialised. + */ + GuardState try_lock() + { + GuardWord old = 0; + // Try to acquire the lock, assuming that we are in the state where + // the lock is not held and the variable is not initialised (so the + // expected value is 0). + if (val.compare_exchange(old, locked)) + { + return GuardState::InitLockSucceeded; + } + // If the CAS failed and the old value indicates that this is + // initialised, return that initialisation is done and skip further + // retries. + if (old == initialised) + { + return GuardState::InitDone; + } + // Otherwise, report failure. + return GuardState::InitLockFailed; + } + + /** + * Check whether the guard indicates that the variable is initialised. + */ + bool is_initialised() + { + return (val.load(memory_order::acquire) & initialised) == + initialised; + } + }; + + /** + * Class encapsulating using two 32-bit atomic values to represent a 64-bit + * guard variable. + */ + template<int LockedBit, int InitBit> + class DoubleWordGuard + { + /** + * The value of `lock_word` when the lock is held. + */ + static constexpr uint32_t locked = static_cast<uint32_t>(1) + << LockedBit; + + /** + * The value of `init_word` when the guarded variable is initialised. + */ + static constexpr uint32_t initialised = static_cast<uint32_t>(1) + << InitBit; + + /** + * The word used for the initialised flag. This is always the first + * word irrespective of endian because the generated code compares the + * first byte in memory against 0. + */ + atomic<uint32_t> init_word; + + /** + * The word used for the lock. + */ + atomic<uint32_t> lock_word; + + public: + /** + * Try to acquire the lock. This has a tri-state return, indicating + * either that the lock was acquired, it wasn't acquired because it was + * contended, or it wasn't acquired because the guarded variable is + * already initialised. + */ + GuardState try_lock() + { + uint32_t old = 0; + // Try to acquire the lock + if (lock_word.compare_exchange(old, locked)) + { + // If we succeeded, check if initialisation has happened. In + // this version, we don't have atomic manipulation of both the + // lock and initialised bits together. Instead, we have an + // ordering rule that the initialised bit is only ever updated + // with the lock held. + if (is_initialised()) + { + // If another thread did manage to initialise this, release + // the lock and notify the caller that initialisation is + // done. + lock_word.store(0, memory_order::release); + return GuardState::InitDone; + } + return GuardState::InitLockSucceeded; + } + return GuardState::InitLockFailed; + } + + /** + * Set the initialised state and release the lock. In this + * implementation, this is ordered, not atomic: the initialise bit is + * set while the lock is held. + */ + void unlock(bool isInitialised) + { + init_word.store(isInitialised ? initialised : 0, + memory_order::release); + lock_word.store(0, memory_order::release); + assert((*reinterpret_cast<uint8_t*>(this) != 0) == isInitialised); + } + + /** + * Return whether the guarded variable is initialised. + */ + bool is_initialised() + { + return (init_word.load(memory_order::acquire) & initialised) == + initialised; + } + }; + + // Check that the two implementations are the correct size. + static_assert(sizeof(SingleWordGuard<uint32_t, 31, 0>) == sizeof(uint32_t), + "Single-word 32-bit guard must be 32 bits"); + static_assert(sizeof(SingleWordGuard<uint64_t, 63, 0>) == sizeof(uint64_t), + "Single-word 64-bit guard must be 64 bits"); + static_assert(sizeof(DoubleWordGuard<31, 0>) == sizeof(uint64_t), + "Double-word guard must be 64 bits"); + #ifdef __arm__ -// ARM ABI - 32-bit guards. -typedef uint32_t guard_t; -typedef uint32_t guard_lock_t; -static const uint32_t LOCKED = static_cast<guard_t>(1) << 31; -static const uint32_t INITIALISED = 1; -#define LOCK_PART(guard) (guard) -#define INIT_PART(guard) (guard) + /** + * The Arm PCS defines a variant of the Itanium ABI with 32-bit lock words. + */ + using Guard = SingleWordGuard<uint32_t, 31, 0>; #elif defined(_LP64) -typedef uint64_t guard_t; -typedef uint64_t guard_lock_t; # if defined(__LITTLE_ENDIAN__) -static const guard_t LOCKED = static_cast<guard_t>(1) << 63; -static const guard_t INITIALISED = 1; + /** + * On little-endian 64-bit platforms the guard word is a single 64-bit + * atomic with the lock in the high bit and the initialised flag in the low + * bit. + */ + using Guard = SingleWordGuard<uint64_t, 63, 0>; # else -static const guard_t LOCKED = 1; -static const guard_t INITIALISED = static_cast<guard_t>(1) << 56; + /** + * On bit-endian 64-bit platforms, the guard word is a single 64-bit atomic + * with the lock in the low bit and the initialised bit in the highest + * byte. + */ + using Guard = SingleWordGuard<uint64_t, 0, 56>; # endif -#define LOCK_PART(guard) (guard) -#define INIT_PART(guard) (guard) #else -typedef uint32_t guard_lock_t; # if defined(__LITTLE_ENDIAN__) -typedef struct { - uint32_t init_half; - uint32_t lock_half; -} guard_t; -static const uint32_t LOCKED = static_cast<guard_lock_t>(1) << 31; -static const uint32_t INITIALISED = 1; + /** + * 32-bit platforms use the same layout as 64-bit. + */ + using Guard = DoubleWordGuard<31, 0>; # else -typedef struct { - uint32_t init_half; - uint32_t lock_half; -} guard_t; -static_assert(sizeof(guard_t) == sizeof(uint64_t), ""); -static const uint32_t LOCKED = 1; -static const uint32_t INITIALISED = static_cast<guard_lock_t>(1) << 24; + /** + * 32-bit platforms use the same layout as 64-bit. + */ + using Guard = DoubleWordGuard<0, 24>; # endif -#define LOCK_PART(guard) (&(guard)->lock_half) -#define INIT_PART(guard) (&(guard)->init_half) #endif -static const guard_lock_t INITIAL = 0; + +} // namespace /** * Acquires a lock on a guard, returning 0 if the object has already been * initialised, and 1 if it has not. If the object is already constructed then * this function just needs to read a byte from memory and return. */ -extern "C" int __cxa_guard_acquire(volatile guard_t *guard_object) +extern "C" int __cxa_guard_acquire(Guard *guard_object) { - guard_lock_t old; - // Not an atomic read, doesn't establish a happens-before relationship, but - // if one is already established and we end up seeing an initialised state - // then it's a fast path, otherwise we'll do something more expensive than - // this test anyway... - if (INITIALISED == __atomic_load_n(INIT_PART(guard_object), __ATOMIC_RELAXED)) + // Check if this is already initialised. If so, we don't have to do + // anything. + if (guard_object->is_initialised()) + { return 0; - // Spin trying to do the initialisation + } + // Spin trying to acquire the lock. If we fail to acquire the lock the + // first time then another thread will *probably* initialise it, but if the + // constructor throws an exception then we may have to try again in this + // thread. for (;;) { - // Loop trying to move the value of the guard from 0 (not - // locked, not initialised) to the locked-uninitialised - // position. - old = __sync_val_compare_and_swap(LOCK_PART(guard_object), - INITIAL, LOCKED); - if (old == INITIAL) { - // Lock obtained. If lock and init bit are - // in separate words, check for init race. - if (INIT_PART(guard_object) == LOCK_PART(guard_object)) - return 1; - if (INITIALISED != *INIT_PART(guard_object)) + // Try to acquire the lock. + switch (guard_object->try_lock()) + { + // If we failed to acquire the lock but another thread has + // initialised the lock while we were waiting, return immediately + // indicating that initialisation is not required. + case GuardState::InitDone: + return 0; + // If we acquired the lock, return immediately to start + // initialisation. + case GuardState::InitLockSucceeded: return 1; - - // No need for a memory barrier here, - // see first comment. - __atomic_store_n(LOCK_PART(guard_object), INITIAL, __ATOMIC_RELAXED); - return 0; + // If we didn't acquire the lock, pause and retry. + case GuardState::InitLockFailed: + break; } - // If lock and init bit are in the same word, check again - // if we are done. - if (INIT_PART(guard_object) == LOCK_PART(guard_object) && - old == INITIALISED) - return 0; - - assert(old == LOCKED); - // Another thread holds the lock. - // If lock and init bit are in different words, check - // if we are done before yielding and looping. - if (INIT_PART(guard_object) != LOCK_PART(guard_object) && - INITIALISED == *INIT_PART(guard_object)) - return 0; sched_yield(); } } @@ -166,28 +351,16 @@ extern "C" int __cxa_guard_acquire(volatile guard_t *guard_object) * Releases the lock without marking the object as initialised. This function * is called if initialising a static causes an exception to be thrown. */ -extern "C" void __cxa_guard_abort(volatile guard_t *guard_object) +extern "C" void __cxa_guard_abort(Guard *guard_object) { - __attribute__((unused)) - bool reset = __sync_bool_compare_and_swap(LOCK_PART(guard_object), - LOCKED, INITIAL); - assert(reset); + guard_object->unlock(false); } + /** * Releases the guard and marks the object as initialised. This function is * called after successful initialisation of a static. */ -extern "C" void __cxa_guard_release(volatile guard_t *guard_object) +extern "C" void __cxa_guard_release(Guard *guard_object) { - guard_lock_t old; - if (INIT_PART(guard_object) == LOCK_PART(guard_object)) - old = LOCKED; - else - old = INITIAL; - __attribute__((unused)) - bool reset = __sync_bool_compare_and_swap(INIT_PART(guard_object), - old, INITIALISED); - assert(reset); - if (INIT_PART(guard_object) != LOCK_PART(guard_object)) - *LOCK_PART(guard_object) = INITIAL; + guard_object->unlock(true); } diff --git a/contrib/libs/cxxsupp/libcxxrt/memory.cc b/contrib/libs/cxxsupp/libcxxrt/memory.cc index 694c5d5037..caa0aba79a 100644 --- a/contrib/libs/cxxsupp/libcxxrt/memory.cc +++ b/contrib/libs/cxxsupp/libcxxrt/memory.cc @@ -51,7 +51,7 @@ typedef void (*new_handler)(); * The function to call when allocation fails. By default, there is no * handler and a bad allocation exception is thrown if an allocation fails. */ -static new_handler new_handl; +static atomic<new_handler> new_handl{nullptr}; namespace std { @@ -61,12 +61,13 @@ namespace std __attribute__((weak)) new_handler set_new_handler(new_handler handler) noexcept { - return ATOMIC_SWAP(&new_handl, handler); + return new_handl.exchange(handler); } + __attribute__((weak)) new_handler get_new_handler(void) noexcept { - return ATOMIC_LOAD(&new_handl); + return new_handl.load(); } } diff --git a/contrib/libs/cxxsupp/libcxxrt/ya.make b/contrib/libs/cxxsupp/libcxxrt/ya.make index 66955cff48..93c9d74bb0 100644 --- a/contrib/libs/cxxsupp/libcxxrt/ya.make +++ b/contrib/libs/cxxsupp/libcxxrt/ya.make @@ -1,4 +1,4 @@ -# Generated by devtools/yamaker from nixpkgs 22.05. +# Generated by devtools/yamaker from nixpkgs 22.11. LIBRARY() @@ -11,9 +11,9 @@ LICENSE( LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(2021-09-08) +VERSION(2023-10-11) -ORIGINAL_SOURCE(https://github.com/libcxxrt/libcxxrt/archive/14bf5d5526056ae1cc16f03b7b8e96108a1e38d0.tar.gz) +ORIGINAL_SOURCE(https://github.com/libcxxrt/libcxxrt/archive/03c83f5a57be8c5b1a29a68de5638744f17d28ba.tar.gz) ADDINCL( contrib/libs/cxxsupp/libcxxrt @@ -23,10 +23,14 @@ NO_COMPILER_WARNINGS() NO_RUNTIME() -CXXFLAGS(-nostdinc++) +CXXFLAGS( + -nostdinc++ +) IF (CXX_UNWIND == "glibcxx_dynamic" OR ARCH_PPC64LE) - LDFLAGS(-lgcc_s) + LDFLAGS( + -lgcc_s + ) ELSE() PEERDIR( contrib/libs/libunwind @@ -35,6 +39,7 @@ ENDIF() IF (SANITIZER_TYPE == undefined OR FUZZING) NO_SANITIZE() + NO_SANITIZE_COVERAGE() ENDIF() diff --git a/contrib/python/hypothesis/py3/.dist-info/METADATA b/contrib/python/hypothesis/py3/.dist-info/METADATA index b4f00cf430..c94200ebd3 100644 --- a/contrib/python/hypothesis/py3/.dist-info/METADATA +++ b/contrib/python/hypothesis/py3/.dist-info/METADATA @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hypothesis -Version: 6.92.8 +Version: 6.94.0 Summary: A library for property-based testing Home-page: https://hypothesis.works Author: David R. MacIver and Zac Hatfield-Dodds diff --git a/contrib/python/hypothesis/py3/.dist-info/top_level.txt b/contrib/python/hypothesis/py3/.dist-info/top_level.txt index 93b8370b8d..77a969c858 100644 --- a/contrib/python/hypothesis/py3/.dist-info/top_level.txt +++ b/contrib/python/hypothesis/py3/.dist-info/top_level.txt @@ -1,3 +1,4 @@ _hypothesis_ftz_detector +_hypothesis_globals _hypothesis_pytestplugin hypothesis diff --git a/contrib/python/hypothesis/py3/_hypothesis_globals.py b/contrib/python/hypothesis/py3/_hypothesis_globals.py new file mode 100644 index 0000000000..e97e091879 --- /dev/null +++ b/contrib/python/hypothesis/py3/_hypothesis_globals.py @@ -0,0 +1,28 @@ +# This file is part of Hypothesis, which may be found at +# https://github.com/HypothesisWorks/hypothesis/ +# +# Copyright the Hypothesis Authors. +# Individual contributors are listed in AUTHORS.rst and the git log. +# +# This Source Code Form is subject to the terms of the Mozilla Public License, +# v. 2.0. If a copy of the MPL was not distributed with this file, You can +# obtain one at https://mozilla.org/MPL/2.0/. + +""" +Module for globals shared between plugin(s) and the main hypothesis module, without +depending on either. This file should have no imports outside of stdlib. +""" + +import os + +in_initialization = 1 +"""If nonzero, indicates that hypothesis is still initializing (importing or loading +the test environment). `import hypothesis` will cause this number to be decremented, +and the pytest plugin increments at load time, then decrements it just before the test +session starts. However, this leads to a hole in coverage if another pytest plugin +imports hypothesis before our plugin is loaded. HYPOTHESIS_EXTEND_INITIALIZATION may +be set to pre-increment the value on behalf of _hypothesis_pytestplugin, plugging the +hole.""" + +if os.environ.get("HYPOTHESIS_EXTEND_INITIALIZATION"): + in_initialization += 1 diff --git a/contrib/python/hypothesis/py3/_hypothesis_pytestplugin.py b/contrib/python/hypothesis/py3/_hypothesis_pytestplugin.py index 9875e067f5..944304ccdb 100644 --- a/contrib/python/hypothesis/py3/_hypothesis_pytestplugin.py +++ b/contrib/python/hypothesis/py3/_hypothesis_pytestplugin.py @@ -21,9 +21,12 @@ See https://github.com/HypothesisWorks/hypothesis/issues/3140 for details. import base64 import json +import os import sys +import warnings from inspect import signature +import _hypothesis_globals import pytest try: @@ -94,6 +97,19 @@ if tuple(map(int, pytest.__version__.split(".")[:2])) < (4, 6): # pragma: no co warnings.warn(PYTEST_TOO_OLD_MESSAGE % (pytest.__version__,), stacklevel=1) else: + # Restart side-effect detection as early as possible, to maximize coverage. We + # need balanced increment/decrement in configure/sessionstart to support nested + # pytest (e.g. runpytest_inprocess), so this early increment in effect replaces + # the first one in pytest_configure. + _configured = False + if not os.environ.get("HYPOTHESIS_EXTEND_INITIALIZATION"): + _hypothesis_globals.in_initialization += 1 + if "hypothesis" in sys.modules: + # Some other plugin has imported hypothesis, so we'll check if there + # have been undetected side-effects and warn if so. + from hypothesis.configuration import notice_initialization_restarted + + notice_initialization_restarted() def pytest_addoption(parser): group = parser.getgroup("hypothesis", "Hypothesis") @@ -147,6 +163,12 @@ else: return f"hypothesis profile {settings._current_profile!r}{settings_str}" def pytest_configure(config): + global _configured + # skip first increment because we pre-incremented at import time + if _configured: + _hypothesis_globals.in_initialization += 1 + _configured = True + config.addinivalue_line("markers", "hypothesis: Tests which use hypothesis.") if not _any_hypothesis_option(config): return @@ -407,6 +429,9 @@ else: if isinstance(item, pytest.Function) and is_hypothesis_test(item.obj): item.add_marker("hypothesis") + def pytest_sessionstart(session): + _hypothesis_globals.in_initialization -= 1 + # Monkeypatch some internals to prevent applying @pytest.fixture() to a # function which has already been decorated with @hypothesis.given(). # (the reverse case is already an explicit error in Hypothesis) diff --git a/contrib/python/hypothesis/py3/hypothesis/__init__.py b/contrib/python/hypothesis/py3/hypothesis/__init__.py index db140b8165..cfb55119f7 100644 --- a/contrib/python/hypothesis/py3/hypothesis/__init__.py +++ b/contrib/python/hypothesis/py3/hypothesis/__init__.py @@ -15,6 +15,8 @@ It verifies your code against a wide range of input and minimizes any failing examples it finds. """ +import _hypothesis_globals + from hypothesis._settings import HealthCheck, Phase, Verbosity, settings from hypothesis.control import ( assume, @@ -54,3 +56,6 @@ __all__ = [ run() del run + +_hypothesis_globals.in_initialization -= 1 +del _hypothesis_globals diff --git a/contrib/python/hypothesis/py3/hypothesis/configuration.py b/contrib/python/hypothesis/py3/hypothesis/configuration.py index 6e6ab29516..2586c729f7 100644 --- a/contrib/python/hypothesis/py3/hypothesis/configuration.py +++ b/contrib/python/hypothesis/py3/hypothesis/configuration.py @@ -9,8 +9,13 @@ # obtain one at https://mozilla.org/MPL/2.0/. import os +import warnings from pathlib import Path +import _hypothesis_globals + +from hypothesis.errors import HypothesisSideeffectWarning + __hypothesis_home_directory_default = Path.cwd() / ".hypothesis" __hypothesis_home_directory = None @@ -21,7 +26,12 @@ def set_hypothesis_home_dir(directory): __hypothesis_home_directory = None if directory is None else Path(directory) -def storage_directory(*names): +def storage_directory(*names, intent_to_write=True): + if intent_to_write: + check_sideeffect_during_initialization( + "accessing storage for {}", "/".join(names) + ) + global __hypothesis_home_directory if not __hypothesis_home_directory: if where := os.getenv("HYPOTHESIS_STORAGE_DIRECTORY"): @@ -29,3 +39,53 @@ def storage_directory(*names): if not __hypothesis_home_directory: __hypothesis_home_directory = __hypothesis_home_directory_default return __hypothesis_home_directory.joinpath(*names) + + +_first_postinit_what = None + + +def check_sideeffect_during_initialization( + what: str, *fmt_args: object, extra: str = "" +) -> None: + """Called from locations that should not be executed during initialization, for example + touching disk or materializing lazy/deferred strategies from plugins. If initialization + is in progress, a warning is emitted. + + Note that computing the repr can take nontrivial time or memory, so we avoid doing so + unless (and until) we're actually emitting the warning. + """ + global _first_postinit_what + # This is not a particularly hot path, but neither is it doing productive work, so we want to + # minimize the cost by returning immediately. The drawback is that we require + # notice_initialization_restarted() to be called if in_initialization changes away from zero. + if _first_postinit_what is not None: + return + elif _hypothesis_globals.in_initialization: + # Note: -Werror is insufficient under pytest, as doesn't take effect until + # test session start. + msg = what.format(*fmt_args) + warnings.warn( + f"Slow code in plugin: avoid {msg} at import time! Set PYTHONWARNINGS=error " + "to get a traceback and show which plugin is responsible." + extra, + HypothesisSideeffectWarning, + stacklevel=3, + ) + else: + _first_postinit_what = (what, fmt_args) + + +def notice_initialization_restarted(*, warn: bool = True) -> None: + """Reset _first_postinit_what, so that we don't think we're in post-init. Additionally, if it + was set that means that there has been a sideeffect that we haven't warned about, so do that + now (the warning text will be correct, and we also hint that the stacktrace can be improved). + """ + global _first_postinit_what + if _first_postinit_what is not None: + what, *fmt_args = _first_postinit_what + _first_postinit_what = None + if warn: + check_sideeffect_during_initialization( + what, + *fmt_args, + extra=" Additionally, set HYPOTHESIS_EXTEND_INITIALIZATION=1 to pinpoint the exact location.", + ) diff --git a/contrib/python/hypothesis/py3/hypothesis/control.py b/contrib/python/hypothesis/py3/hypothesis/control.py index 3a973f666f..5b662197a7 100644 --- a/contrib/python/hypothesis/py3/hypothesis/control.py +++ b/contrib/python/hypothesis/py3/hypothesis/control.py @@ -105,16 +105,13 @@ class BuildContext: ) ) - def prep_args_kwargs_from_strategies(self, arg_strategies, kwarg_strategies): + def prep_args_kwargs_from_strategies(self, kwarg_strategies): arg_labels = {} - all_s = [(None, s) for s in arg_strategies] + list(kwarg_strategies.items()) - args = [] kwargs = {} - for i, (k, s) in enumerate(all_s): + for k, s in kwarg_strategies.items(): start_idx = self.data.index - obj = self.data.draw(s) + obj = self.data.draw(s, observe_as=f"generate:{k}") end_idx = self.data.index - assert k is not None kwargs[k] = obj # This high up the stack, we can't see or really do much with the conjecture @@ -124,10 +121,10 @@ class BuildContext: # pass a dict of such out so that the pretty-printer knows where to place # the which-parts-matter comments later. if start_idx != end_idx: - arg_labels[k or i] = (start_idx, end_idx) + arg_labels[k] = (start_idx, end_idx) self.data.arg_slices.add((start_idx, end_idx)) - return args, kwargs, arg_labels + return kwargs, arg_labels def __enter__(self): self.assign_variable = _current_build_context.with_value(self) diff --git a/contrib/python/hypothesis/py3/hypothesis/core.py b/contrib/python/hypothesis/py3/hypothesis/core.py index 86b20ea6f9..75f1cc70e9 100644 --- a/contrib/python/hypothesis/py3/hypothesis/core.py +++ b/contrib/python/hypothesis/py3/hypothesis/core.py @@ -15,6 +15,7 @@ import contextlib import datetime import inspect import io +import math import sys import time import types @@ -605,6 +606,7 @@ def execute_explicit_examples(state, wrapped_test, arguments, kwargs, original_s data=empty_data, how_generated="explicit example", string_repr=state._string_repr, + timing=state._timing_features, ) deliver_json_blob(tc) @@ -816,34 +818,30 @@ class StateForActualGivenExecution: self._string_repr = "" text_repr = None - if self.settings.deadline is None: + if self.settings.deadline is None and not TESTCASE_CALLBACKS: test = self.test else: @proxies(self.test) def test(*args, **kwargs): - arg_drawtime = sum(data.draw_times) - initial_draws = len(data.draw_times) + arg_drawtime = math.fsum(data.draw_times.values()) start = time.perf_counter() try: result = self.test(*args, **kwargs) finally: finish = time.perf_counter() - internal_draw_time = sum(data.draw_times[initial_draws:]) - runtime = datetime.timedelta( - seconds=finish - start - internal_draw_time - ) + in_drawtime = math.fsum(data.draw_times.values()) - arg_drawtime + runtime = datetime.timedelta(seconds=finish - start - in_drawtime) self._timing_features = { - "time_running_test": finish - start - internal_draw_time, - "time_drawing_args": arg_drawtime, - "time_interactive_draws": internal_draw_time, + "execute_test": finish - start - in_drawtime, + **data.draw_times, } - current_deadline = self.settings.deadline - if not is_final: - current_deadline = (current_deadline // 4) * 5 - if runtime >= current_deadline: - raise DeadlineExceeded(runtime, self.settings.deadline) + if (current_deadline := self.settings.deadline) is not None: + if not is_final: + current_deadline = (current_deadline // 4) * 5 + if runtime >= current_deadline: + raise DeadlineExceeded(runtime, self.settings.deadline) return result def run(data): @@ -854,10 +852,9 @@ class StateForActualGivenExecution: args = self.stuff.args kwargs = dict(self.stuff.kwargs) if example_kwargs is None: - a, kw, argslices = context.prep_args_kwargs_from_strategies( - (), self.stuff.given_kwargs + kw, argslices = context.prep_args_kwargs_from_strategies( + self.stuff.given_kwargs ) - assert not a, "strategies all moved to kwargs by now" else: kw = example_kwargs argslices = {} @@ -944,7 +941,7 @@ class StateForActualGivenExecution: if expected_failure is not None: exception, traceback = expected_failure if isinstance(exception, DeadlineExceeded) and ( - runtime_secs := self._timing_features.get("time_running_test") + runtime_secs := self._timing_features.get("execute_test") ): report( "Unreliable test timings! On an initial run, this " @@ -1066,11 +1063,12 @@ class StateForActualGivenExecution: how_generated=f"generated during {phase} phase", string_repr=self._string_repr, arguments={**self._jsonable_arguments, **data._observability_args}, - metadata=self._timing_features, + timing=self._timing_features, + metadata={}, coverage=tractable_coverage_report(trace) or None, ) deliver_json_blob(tc) - self._timing_features.clear() + self._timing_features = {} def run_engine(self): """Run the test function many times, on database input and generated @@ -1184,17 +1182,17 @@ class StateForActualGivenExecution: "status": "passed" if sys.exc_info()[0] else "failed", "status_reason": str(origin or "unexpected/flaky pass"), "representation": self._string_repr, + "arguments": self._jsonable_arguments, "how_generated": "minimal failing example", "features": { **{ - k: v + f"target:{k}".strip(":"): v for k, v in ran_example.target_observations.items() - if isinstance(k, str) }, **ran_example.events, - **self._timing_features, }, - "coverage": None, # TODO: expose this? + "timing": self._timing_features, + "coverage": None, # Not recorded when we're replaying the MFE "metadata": {"traceback": tb}, } deliver_json_blob(tc) diff --git a/contrib/python/hypothesis/py3/hypothesis/database.py b/contrib/python/hypothesis/py3/hypothesis/database.py index 4abce10c01..9fbdd31597 100644 --- a/contrib/python/hypothesis/py3/hypothesis/database.py +++ b/contrib/python/hypothesis/py3/hypothesis/database.py @@ -59,7 +59,7 @@ def _db_for_path(path=None): "https://hypothesis.readthedocs.io/en/latest/settings.html#settings-profiles" ) - path = storage_directory("examples") + path = storage_directory("examples", intent_to_write=False) if not _usable_dir(path): # pragma: no cover warnings.warn( "The database setting is not configured, and the default " @@ -495,6 +495,8 @@ class GitHubArtifactDatabase(ExampleDatabase): self._initialized = True def _initialize_db(self) -> None: + # Trigger warning that we suppressed earlier by intent_to_write=False + storage_directory(self.path.name) # Create the cache directory if it doesn't exist self.path.mkdir(exist_ok=True, parents=True) diff --git a/contrib/python/hypothesis/py3/hypothesis/errors.py b/contrib/python/hypothesis/py3/hypothesis/errors.py index 8387a87586..0d376a7493 100644 --- a/contrib/python/hypothesis/py3/hypothesis/errors.py +++ b/contrib/python/hypothesis/py3/hypothesis/errors.py @@ -117,6 +117,13 @@ class HypothesisDeprecationWarning(HypothesisWarning, FutureWarning): """ +class HypothesisSideeffectWarning(HypothesisWarning): + """A warning issued by Hypothesis when it sees actions that are + discouraged at import or initialization time because they are + slow or have user-visible side effects. + """ + + class Frozen(HypothesisException): """Raised when a mutation method has been called on a ConjectureData object after freeze() has been called.""" diff --git a/contrib/python/hypothesis/py3/hypothesis/extra/lark.py b/contrib/python/hypothesis/py3/hypothesis/extra/lark.py index 57b68ec9f7..37b5f5d401 100644 --- a/contrib/python/hypothesis/py3/hypothesis/extra/lark.py +++ b/contrib/python/hypothesis/py3/hypothesis/extra/lark.py @@ -34,6 +34,7 @@ from hypothesis import strategies as st from hypothesis.errors import InvalidArgument from hypothesis.internal.conjecture.utils import calc_label_from_name from hypothesis.internal.validation import check_type +from hypothesis.strategies._internal.regex import IncompatibleWithAlphabet from hypothesis.strategies._internal.utils import cacheable, defines_strategy __all__ = ["from_lark"] @@ -59,7 +60,7 @@ class LarkStrategy(st.SearchStrategy): See ``from_lark`` for details. """ - def __init__(self, grammar, start, explicit): + def __init__(self, grammar, start, explicit, alphabet): assert isinstance(grammar, lark.lark.Lark) if start is None: start = grammar.options.start @@ -86,38 +87,66 @@ class LarkStrategy(st.SearchStrategy): t = r.origin self.names_to_symbols[t.name] = t + disallowed = set() + self.terminal_strategies = {} for t in terminals: self.names_to_symbols[t.name] = Terminal(t.name) - - self.start = st.sampled_from([self.names_to_symbols[s] for s in start]) + s = st.from_regex(t.pattern.to_regexp(), fullmatch=True, alphabet=alphabet) + try: + s.validate() + except IncompatibleWithAlphabet: + disallowed.add(t.name) + else: + self.terminal_strategies[t.name] = s self.ignored_symbols = tuple(self.names_to_symbols[n] for n in ignore_names) - self.terminal_strategies = { - t.name: st.from_regex(t.pattern.to_regexp(), fullmatch=True) - for t in terminals - } - unknown_explicit = set(explicit) - get_terminal_names( - terminals, rules, ignore_names - ) - if unknown_explicit: + all_terminals = get_terminal_names(terminals, rules, ignore_names) + if unknown_explicit := sorted(set(explicit) - all_terminals): + raise InvalidArgument( + "The following arguments were passed as explicit_strategies, but " + f"there is no {unknown_explicit} terminal production in this grammar." + ) + if missing_declared := sorted( + all_terminals - {t.name for t in terminals} - set(explicit) + ): raise InvalidArgument( - "The following arguments were passed as explicit_strategies, " - "but there is no such terminal production in this grammar: " - + repr(sorted(unknown_explicit)) + f"Undefined terminal{'s' * (len(missing_declared) > 1)} " + f"{sorted(missing_declared)!r}. Generation does not currently " + "support use of %declare unless you pass `explicit`, a dict of " + f"names-to-strategies, such as `{{{missing_declared[0]!r}: " + 'st.just("")}}`' ) self.terminal_strategies.update(explicit) nonterminals = {} for rule in rules: - nonterminals.setdefault(rule.origin.name, []).append(tuple(rule.expansion)) - - for v in nonterminals.values(): - v.sort(key=len) + if disallowed.isdisjoint(r.name for r in rule.expansion): + nonterminals.setdefault(rule.origin.name, []).append( + tuple(rule.expansion) + ) + + allowed_rules = {*self.terminal_strategies, *nonterminals} + while dict(nonterminals) != ( + nonterminals := { + k: clean + for k, v in nonterminals.items() + if (clean := [x for x in v if all(r.name in allowed_rules for r in x)]) + } + ): + allowed_rules = {*self.terminal_strategies, *nonterminals} + + if set(start).isdisjoint(allowed_rules): + raise InvalidArgument( + f"No start rule {tuple(start)} is allowed by {alphabet=}" + ) + self.start = st.sampled_from( + [self.names_to_symbols[s] for s in start if s in allowed_rules] + ) self.nonterminal_strategies = { - k: st.sampled_from(v) for k, v in nonterminals.items() + k: st.sampled_from(sorted(v, key=len)) for k, v in nonterminals.items() } self.__rule_labels = {} @@ -138,15 +167,7 @@ class LarkStrategy(st.SearchStrategy): def draw_symbol(self, data, symbol, draw_state): if isinstance(symbol, Terminal): - try: - strategy = self.terminal_strategies[symbol.name] - except KeyError: - raise InvalidArgument( - "Undefined terminal %r. Generation does not currently support " - "use of %%declare unless you pass `explicit`, a dict of " - 'names-to-strategies, such as `{%r: st.just("")}`' - % (symbol.name, symbol.name) - ) from None + strategy = self.terminal_strategies[symbol.name] draw_state.append(data.draw(strategy)) else: assert isinstance(symbol, NonTerminal) @@ -181,6 +202,7 @@ def from_lark( *, start: Optional[str] = None, explicit: Optional[Dict[str, st.SearchStrategy[str]]] = None, + alphabet: st.SearchStrategy[str] = st.characters(codec="utf-8"), ) -> st.SearchStrategy[str]: """A strategy for strings accepted by the given context-free grammar. @@ -214,4 +236,4 @@ def from_lark( k: v.map(check_explicit(f"explicit[{k!r}]={v!r}")) for k, v in explicit.items() } - return LarkStrategy(grammar, start, explicit) + return LarkStrategy(grammar, start, explicit, alphabet) diff --git a/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/data.py b/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/data.py index 7a5542b0bd..03f489fa50 100644 --- a/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/data.py +++ b/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/data.py @@ -30,6 +30,7 @@ from typing import ( Set, Tuple, Type, + TypeVar, Union, ) @@ -88,6 +89,8 @@ InterestingOrigin = Tuple[ ] TargetObservations = Dict[Optional[str], Union[int, float]] +T = TypeVar("T") + class ExtraInformation: """A class for holding shared state on a ``ConjectureData`` that should @@ -1426,7 +1429,7 @@ class ConjectureData: self.events: Dict[str, Union[str, int, float]] = {} self.forced_indices: "Set[int]" = set() self.interesting_origin: Optional[InterestingOrigin] = None - self.draw_times: "List[float]" = [] + self.draw_times: "Dict[str, float]" = {} self.max_depth = 0 self.has_discards = False self.provider = PrimitiveProvider(self) @@ -1550,6 +1553,8 @@ class ConjectureData: def draw_bytes(self, size: int, *, forced: Optional[bytes] = None) -> bytes: assert forced is None or len(forced) == size + assert size >= 0 + return self.provider.draw_bytes(size, forced=forced) def draw_boolean(self, p: float = 0.5, *, forced: Optional[bool] = None) -> bool: @@ -1594,7 +1599,12 @@ class ConjectureData: value = repr(value) self.output += value - def draw(self, strategy: "SearchStrategy[Ex]", label: Optional[int] = None) -> "Ex": + def draw( + self, + strategy: "SearchStrategy[Ex]", + label: Optional[int] = None, + observe_as: Optional[str] = None, + ) -> "Ex": if self.is_find and not strategy.supports_find: raise InvalidArgument( f"Cannot use strategy {strategy!r} within a call to find " @@ -1631,7 +1641,8 @@ class ConjectureData: try: return strategy.do_draw(self) finally: - self.draw_times.append(time.perf_counter() - start_time) + key = observe_as or f"unlabeled_{len(self.draw_times)}" + self.draw_times[key] = time.perf_counter() - start_time finally: self.stop_example() @@ -1719,6 +1730,11 @@ class ConjectureData: self.buffer = bytes(self.buffer) self.observer.conclude_test(self.status, self.interesting_origin) + def choice(self, values: Sequence[T], *, forced: Optional[T] = None) -> T: + forced_i = None if forced is None else values.index(forced) + i = self.draw_integer(0, len(values) - 1, forced=forced_i) + return values[i] + def draw_bits(self, n: int, *, forced: Optional[int] = None) -> int: """Return an ``n``-bit integer from the underlying source of bytes. If ``forced`` is set to an integer will instead @@ -1770,15 +1786,6 @@ class ConjectureData: assert result.bit_length() <= n return result - def write(self, string: bytes) -> Optional[bytes]: - """Write ``string`` to the output buffer.""" - self.__assert_not_frozen("write") - string = bytes(string) - if not string: - return None - self.draw_bits(len(string) * 8, forced=int_from_bytes(string)) - return self.buffer[-len(string) :] - def __check_capacity(self, n: int) -> None: if self.index + n > self.max_length: self.mark_overrun() diff --git a/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py b/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py index c5d33480e2..961774816f 100644 --- a/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py +++ b/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/engine.py @@ -53,7 +53,39 @@ class HealthCheckState: valid_examples: int = attr.ib(default=0) invalid_examples: int = attr.ib(default=0) overrun_examples: int = attr.ib(default=0) - draw_times: list = attr.ib(factory=list) + draw_times: "defaultdict[str, list[float]]" = attr.ib( + factory=lambda: defaultdict(list) + ) + + @property + def total_draw_time(self): + return math.fsum(sum(self.draw_times.values(), start=[])) + + def timing_report(self): + """Return a terminal report describing what was slow.""" + if not self.draw_times: + return "" + width = max(len(k[len("generate:") :].strip(": ")) for k in self.draw_times) + out = [f"\n {'':^{width}} count | fraction | slowest draws (seconds)"] + args_in_order = sorted(self.draw_times.items(), key=lambda kv: -sum(kv[1])) + for i, (argname, times) in enumerate(args_in_order): # pragma: no branch + # If we have very many unique keys, which can happen due to interactive + # draws with computed labels, we'll skip uninformative rows. + if ( + 5 <= i < (len(self.draw_times) - 2) + and math.fsum(times) * 20 < self.total_draw_time + ): + out.append(f" (skipped {len(self.draw_times) - i} rows of fast draws)") + break + # Compute the row to report, omitting times <1ms to focus on slow draws + reprs = [f"{t:>6.3f}," for t in sorted(times)[-5:] if t > 5e-4] + desc = " ".join(([" -- "] * 5 + reprs)[-5:]).rstrip(",") + arg = argname[len("generate:") :].strip(": ") # removeprefix in py3.9 + out.append( + f" {arg:^{width}} | {len(times):>4} | " + f"{math.fsum(times)/self.total_draw_time:>7.0%} | {desc}" + ) + return "\n".join(out) class ExitReason(Enum): @@ -205,7 +237,7 @@ class ConjectureRunner: call_stats = { "status": data.status.name.lower(), "runtime": data.finish_time - data.start_time, - "drawtime": math.fsum(data.draw_times), + "drawtime": math.fsum(data.draw_times.values()), "events": sorted( k if v == "" else f"{k}: {v}" for k, v in data.events.items() ), @@ -328,7 +360,8 @@ class ConjectureRunner: if state is None: return - state.draw_times.extend(data.draw_times) + for k, v in data.draw_times.items(): + state.draw_times[k].append(v) if data.status == Status.VALID: state.valid_examples += 1 @@ -371,7 +404,7 @@ class ConjectureRunner: HealthCheck.filter_too_much, ) - draw_time = sum(state.draw_times) + draw_time = state.total_draw_time # Allow at least the greater of one second or 5x the deadline. If deadline # is None, allow 30s - the user can disable the healthcheck too if desired. @@ -383,7 +416,8 @@ class ConjectureRunner: f"{state.valid_examples} valid examples in {draw_time:.2f} seconds " f"({state.invalid_examples} invalid ones and {state.overrun_examples} " "exceeded maximum size). Try decreasing size of the data you're " - "generating (with e.g. max_size or max_leaves parameters).", + "generating (with e.g. max_size or max_leaves parameters)." + + state.timing_report(), HealthCheck.too_slow, ) diff --git a/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/utils.py b/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/utils.py index 0712b2d8c8..97b913d79e 100644 --- a/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/utils.py +++ b/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/utils.py @@ -81,14 +81,6 @@ def check_sample( return tuple(values) -def choice( - data: "ConjectureData", values: Sequence[T], *, forced: Optional[T] = None -) -> T: - forced_i = None if forced is None else values.index(forced) - i = data.draw_integer(0, len(values) - 1, forced=forced_i) - return values[i] - - class Sampler: """Sampler based on Vose's algorithm for the alias method. See http://www.keithschwarz.com/darts-dice-coins/ for a good explanation. @@ -182,8 +174,8 @@ class Sampler: if forced is None else next((b, a, a_c) for (b, a, a_c) in self.table if forced in (b, a)) ) - base, alternate, alternate_chance = choice( - data, self.table, forced=forced_choice + base, alternate, alternate_chance = data.choice( + self.table, forced=forced_choice ) use_alternate = data.draw_boolean( alternate_chance, forced=None if forced is None else forced == alternate diff --git a/contrib/python/hypothesis/py3/hypothesis/internal/observability.py b/contrib/python/hypothesis/py3/hypothesis/internal/observability.py index 0da4aca764..284a2072d7 100644 --- a/contrib/python/hypothesis/py3/hypothesis/internal/observability.py +++ b/contrib/python/hypothesis/py3/hypothesis/internal/observability.py @@ -37,6 +37,7 @@ def make_testcase( how_generated: str = "unknown", string_repr: str = "<unknown>", arguments: Optional[dict] = None, + timing: Dict[str, float], metadata: Optional[dict] = None, coverage: Optional[Dict[str, List[int]]] = None, ) -> dict: @@ -65,6 +66,7 @@ def make_testcase( }, **data.events, }, + "timing": timing, "metadata": { **(metadata or {}), "traceback": getattr(data.extra_information, "_expected_traceback", None), diff --git a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/core.py b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/core.py index b3a558c306..028d8405c7 100644 --- a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/core.py +++ b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/core.py @@ -55,6 +55,7 @@ import attr from hypothesis._settings import note_deprecation from hypothesis.control import cleanup, current_build_context, note from hypothesis.errors import ( + HypothesisSideeffectWarning, HypothesisWarning, InvalidArgument, ResolutionFailed, @@ -2100,10 +2101,10 @@ class DataObject: def draw(self, strategy: SearchStrategy[Ex], label: Any = None) -> Ex: check_strategy(strategy, "strategy") - result = self.conjecture_data.draw(strategy) self.count += 1 printer = RepresentationPrinter(context=current_build_context()) desc = f"Draw {self.count}{'' if label is None else f' ({label})'}: " + result = self.conjecture_data.draw(strategy, observe_as=f"generate:{desc}") if TESTCASE_CALLBACKS: self.conjecture_data._observability_args[desc] = to_jsonable(result) @@ -2196,14 +2197,25 @@ def register_type_strategy( f"{custom_type=} is not allowed to be registered, " f"because there is no such thing as a runtime instance of {custom_type!r}" ) - elif not (isinstance(strategy, SearchStrategy) or callable(strategy)): + if not (isinstance(strategy, SearchStrategy) or callable(strategy)): raise InvalidArgument( f"{strategy=} must be a SearchStrategy, or a function that takes " "a generic type and returns a specific SearchStrategy" ) - elif isinstance(strategy, SearchStrategy) and strategy.is_empty: - raise InvalidArgument(f"{strategy=} must not be empty") - elif types.has_type_arguments(custom_type): + if isinstance(strategy, SearchStrategy): + with warnings.catch_warnings(): + warnings.simplefilter("error", HypothesisSideeffectWarning) + + # Calling is_empty forces materialization of lazy strategies. If this is done at import + # time, lazy strategies will warn about it; here, we force that warning to raise to + # avoid the materialization. Ideally, we'd just check if the strategy is lazy, but the + # lazy strategy may be wrapped underneath another strategy so that's complicated. + try: + if strategy.is_empty: + raise InvalidArgument(f"{strategy=} must not be empty") + except HypothesisSideeffectWarning: # pragma: no cover + pass + if types.has_type_arguments(custom_type): raise InvalidArgument( f"Cannot register generic type {custom_type!r}, because it has type " "arguments which would not be handled. Instead, register a function " diff --git a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/deferred.py b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/deferred.py index 489b4d7b7a..f7dae9a1e5 100644 --- a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/deferred.py +++ b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/deferred.py @@ -10,6 +10,7 @@ import inspect +from hypothesis.configuration import check_sideeffect_during_initialization from hypothesis.errors import InvalidArgument from hypothesis.internal.reflection import get_pretty_function_description from hypothesis.strategies._internal.strategies import SearchStrategy, check_strategy @@ -27,6 +28,8 @@ class DeferredStrategy(SearchStrategy): @property def wrapped_strategy(self): if self.__wrapped_strategy is None: + check_sideeffect_during_initialization("deferred evaluation of {!r}", self) + if not inspect.isfunction(self.__definition): raise InvalidArgument( f"Expected definition to be a function but got {self.__definition!r} " diff --git a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/lazy.py b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/lazy.py index 5e493a9099..d6bb13c7c1 100644 --- a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/lazy.py +++ b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/lazy.py @@ -12,6 +12,7 @@ from inspect import signature from typing import MutableMapping from weakref import WeakKeyDictionary +from hypothesis.configuration import check_sideeffect_during_initialization from hypothesis.internal.reflection import ( convert_keyword_arguments, convert_positional_arguments, @@ -100,6 +101,8 @@ class LazyStrategy(SearchStrategy): @property def wrapped_strategy(self): if self.__wrapped_strategy is None: + check_sideeffect_during_initialization("lazy evaluation of {!r}", self) + unwrapped_args = tuple(unwrap_strategies(s) for s in self.__args) unwrapped_kwargs = { k: unwrap_strategies(v) for k, v in self.__kwargs.items() diff --git a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/regex.py b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/regex.py index 23c3aedc82..8de137a422 100644 --- a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/regex.py +++ b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/regex.py @@ -63,6 +63,10 @@ GROUP_CACHE_STRATEGY: st.SearchStrategy[dict] = st.shared( ) +class IncompatibleWithAlphabet(InvalidArgument): + pass + + @st.composite def update_group(draw, group_name, strategy): cache = draw(GROUP_CACHE_STRATEGY) @@ -176,11 +180,8 @@ class CharactersBuilder: else: raise NotImplementedError(f"Unknown character category: {category}") - def add_char(self, char, *, check=True): + def add_char(self, c): """Add given char to the whitelist.""" - c = self.code_to_char(char) - if check and chars_not_in_alphabet(self._alphabet, c): - raise InvalidArgument(f"Literal {c!r} is not in the specified alphabet") self._whitelist_chars.add(c) if ( self._ignorecase @@ -363,7 +364,7 @@ def _strategy(codes, context, is_unicode, *, alphabet): if i + 1 < j: chars = empty.join(to_char(charcode) for _, charcode in codes[i:j]) if invalid := chars_not_in_alphabet(alphabet, chars): - raise InvalidArgument( + raise IncompatibleWithAlphabet( f"Literal {chars!r} contains characters {invalid!r} " f"which are not in the specified alphabet" ) @@ -389,7 +390,9 @@ def _strategy(codes, context, is_unicode, *, alphabet): # Regex 'a' (single char) c = to_char(value) if chars_not_in_alphabet(alphabet, c): - raise InvalidArgument(f"Literal {c!r} is not in the specified alphabet") + raise IncompatibleWithAlphabet( + f"Literal {c!r} is not in the specified alphabet" + ) if ( context.flags & re.IGNORECASE and c != c.swapcase() @@ -451,12 +454,28 @@ def _strategy(codes, context, is_unicode, *, alphabet): pass elif charset_code == sre.LITERAL: # Regex '[a]' (single char) - builder.add_char(charset_value) + c = builder.code_to_char(charset_value) + if chars_not_in_alphabet(builder._alphabet, c): + raise IncompatibleWithAlphabet( + f"Literal {c!r} is not in the specified alphabet" + ) + builder.add_char(c) elif charset_code == sre.RANGE: # Regex '[a-z]' (char range) low, high = charset_value - for char_code in range(low, high + 1): - builder.add_char(char_code, check=char_code in (low, high)) + chars = empty.join(map(builder.code_to_char, range(low, high + 1))) + if len(chars) == len( + invalid := set(chars_not_in_alphabet(alphabet, chars)) + ): + raise IncompatibleWithAlphabet( + f"Charset '[{chr(low)}-{chr(high)}]' contains characters {invalid!r} " + f"which are not in the specified alphabet" + ) + for c in chars: + if isinstance(c, int): + c = int_to_byte(c) + if c not in invalid: + builder.add_char(c) elif charset_code == sre.CATEGORY: # Regex '[\w]' (char category) builder.add_category(charset_value) @@ -515,7 +534,16 @@ def _strategy(codes, context, is_unicode, *, alphabet): elif code == sre.BRANCH: # Regex 'a|b|c' (branch) - return st.one_of([recurse(branch) for branch in value[1]]) + branches = [] + errors = [] + for branch in value[1]: + try: + branches.append(recurse(branch)) + except IncompatibleWithAlphabet as e: + errors.append(str(e)) + if errors and not branches: + raise IncompatibleWithAlphabet("\n".join(errors)) + return st.one_of(branches) elif code in [sre.MIN_REPEAT, sre.MAX_REPEAT, POSSESSIVE_REPEAT]: # Regexes 'a?', 'a*', 'a+' and their non-greedy variants diff --git a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/strategies.py b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/strategies.py index f2cc0925a5..d2b33f2673 100644 --- a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/strategies.py +++ b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/strategies.py @@ -602,7 +602,7 @@ class SampledFromStrategy(SearchStrategy): # The speculative index didn't work out, but at this point we've built # and can choose from the complete list of allowed indices and elements. if allowed: - i, element = cu.choice(data, allowed) + i, element = data.choice(allowed) data.draw_integer(0, len(self.elements) - 1, forced=i) return element # If there are no allowed indices, the filter couldn't be satisfied. diff --git a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/utils.py b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/utils.py index b2a7661cd6..bd56d2287e 100644 --- a/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/utils.py +++ b/contrib/python/hypothesis/py3/hypothesis/strategies/_internal/utils.py @@ -184,5 +184,11 @@ def to_jsonable(obj: object) -> object: if (pyd := sys.modules.get("pydantic")) and isinstance(obj, pyd.BaseModel): return to_jsonable(obj.model_dump()) + # Hey, might as well try calling a .to_json() method - it works for Pandas! + try: + return to_jsonable(obj.to_json()) # type: ignore + except Exception: + pass + # If all else fails, we'll just pretty-print as a string. return pretty(obj) diff --git a/contrib/python/hypothesis/py3/hypothesis/version.py b/contrib/python/hypothesis/py3/hypothesis/version.py index ef8fe6a63a..fd4613cb61 100644 --- a/contrib/python/hypothesis/py3/hypothesis/version.py +++ b/contrib/python/hypothesis/py3/hypothesis/version.py @@ -8,5 +8,5 @@ # v. 2.0. If a copy of the MPL was not distributed with this file, You can # obtain one at https://mozilla.org/MPL/2.0/. -__version_info__ = (6, 92, 8) +__version_info__ = (6, 94, 0) __version__ = ".".join(map(str, __version_info__)) diff --git a/contrib/python/hypothesis/py3/ya.make b/contrib/python/hypothesis/py3/ya.make index 92b1d0c734..476e93730e 100644 --- a/contrib/python/hypothesis/py3/ya.make +++ b/contrib/python/hypothesis/py3/ya.make @@ -2,7 +2,7 @@ PY3_LIBRARY() -VERSION(6.92.8) +VERSION(6.94.0) LICENSE(MPL-2.0) @@ -20,6 +20,7 @@ NO_CHECK_IMPORTS( PY_SRCS( TOP_LEVEL _hypothesis_ftz_detector.py + _hypothesis_globals.py _hypothesis_pytestplugin.py hypothesis/__init__.py hypothesis/_settings.py diff --git a/contrib/restricted/boost/asio/include/boost/asio/detail/config.hpp b/contrib/restricted/boost/asio/include/boost/asio/detail/config.hpp index 4c8dbe8347..c810625592 100644 --- a/contrib/restricted/boost/asio/include/boost/asio/detail/config.hpp +++ b/contrib/restricted/boost/asio/include/boost/asio/detail/config.hpp @@ -1451,9 +1451,9 @@ # endif // !defined(BOOST_ASIO_DISABLE_CO_AWAIT) # if defined(__clang__) # if (__cpp_coroutines >= 201703) -# if __has_include(<experimental/coroutine>) +# if __has_include(<coroutine>) # define BOOST_ASIO_HAS_CO_AWAIT 1 -# endif // __has_include(<experimental/coroutine>) +# endif // __has_include(<coroutine>) # endif // (__cpp_coroutines >= 201703) # endif // defined(__clang__) #endif // !defined(BOOST_ASIO_HAS_CO_AWAIT) |