Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support M1 #33

Open
Alexander-Ignition opened this issue Nov 10, 2021 · 0 comments
Open

Support M1 #33

Alexander-Ignition opened this issue Nov 10, 2021 · 0 comments

Comments

@Alexander-Ignition
Copy link
Collaborator

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant