Skip to content

Support M1 #33

@Alexander-Ignition

Description

@Alexander-Ignition
swift build -c release --arch arm64 --arch x86_64

Release workflow failed with error

71%: Compile shims.c (x86_64)
2110
72%: Compile shims.c (arm64)
2111
72%: Write CCryptoBoringSSLShims.modulemap
2112
72%: Compile shims.c (x86_64)
2113
/Users/runner/work/catbird/catbird/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap:1:8: fatal error: import of shadowed module 'CCryptoBoringSSL'
2114

2115
module CCryptoBoringSSL {
2116
       ^
2117

2118
/Users/runner/work/catbird/catbird/.build/apple/Intermediates.noindex/GeneratedModuleMaps/macosx/CCryptoBoringSSL.modulemap:1:8: note: previous definition is here
2119
module CCryptoBoringSSL {
2120
       ^
2121

2122
In file included from 
2123
/Users/runner/work/catbird/catbird/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/shims.c
2124
:
2125
14
2126
:
2127

2128
/Users/runner/work/catbird/catbird/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/CCryptoBoringSSLShims.h
2129
:
2130
22
2131
:
2132
10
2133
:
2134
 
2135
note
2136
: submodule of top-level module 'CCryptoBoringSSL' implicitly imported here
2137

2138
#include <CCryptoBoringSSL.h>
2139

2140
         ^
2141

2142
1 error generated.
2143

2144
Build cancelled
2145
make: *** [release] Error 1
2146
Error: Process completed with exit code 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions