-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
.github: cross-compile arm64 macOS asset #796
Commits on Aug 16, 2023
-
.github: prepare to cross-compile with matrix
It seems like it might be easiest to build the arm64-macos asset on macos. Prepare to do that.
Configuration menu - View commit details
-
Copy full SHA for 034f64b - Browse repository at this point
Copy the full SHA 034f64bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 955f56e - Browse repository at this point
Copy the full SHA 955f56eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bb991b - Browse repository at this point
Copy the full SHA 7bb991bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9236160 - Browse repository at this point
Copy the full SHA 9236160View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5620a67 - Browse repository at this point
Copy the full SHA 5620a67View commit details -
.github(install-zig): macos: skip archive checksum for now
It produced an error: shasum: standard input: no properly formatted SHA checksum lines found
Configuration menu - View commit details
-
Copy full SHA for b10d252 - Browse repository at this point
Copy the full SHA b10d252View commit details -
config: macos: try to fix error for missing SecRandom.h
`Security/SecRandom.h` was still not found when cross-compiling for arm64 macos, even when building on macos: /Users/runner/.cache/nim/configlet_r/@m..@snimdir@slib@sstd@ssysrand.nim.c:9:10: fatal error: 'Security/SecRandom.h' file not found ^~~~~~~~~~~~~~~~~~~~~~ nimble.nim(229) buildFromDir 1 error generated. Error: execution of an external compiler program 'zigcc -c -w -ferror-limit=3 -pthread -target aarch64-macos-none -Os -I/Users/runner/work/configlet/configlet/nimdir/lib -I/Users/runner/work/configlet/configlet/src -o /Users/runner/.cache/nim/configlet_r/@m..@snimdir@slib@sstd@ssysrand.nim.c.o /Users/runner/.cache/nim/configlet_r/@m..@snimdir@slib@sstd@ssysrand.nim.c' failed with exit code: 1 Error: Build failed for the package: configlet
Configuration menu - View commit details
-
Copy full SHA for 8919ed8 - Browse repository at this point
Copy the full SHA 8919ed8View commit details -
Some `clang --help` output: -F <value> Add directory to framework include search path -I <dir> Add directory to the end of the list of include search paths -iframeworkwithsysroot <directory> Add directory to SYSTEM framework search path, absolute paths are relative to -isysroot -iframework <value> Add directory to SYSTEM framework search path
Configuration menu - View commit details
-
Copy full SHA for 34c641a - Browse repository at this point
Copy the full SHA 34c641aView commit details -
config: try setting FRAMEWORK_SEARCH_PATHS
Building with the previous commit produced a link-time error: CC: configlet.nim Hint: [Link] warning(link): framework not found for '-framework Security' warning(link): Framework search paths: error(link): undefined reference to symbol '_SecRandomCopyBytes' error(link): first referenced in '/Users/runner/.cache/nim/configlet_r/@m..@snimdir@slib@sstd@ssysrand.nim.c.o' error: UndefinedSymbolReference
Configuration menu - View commit details
-
Copy full SHA for a18260f - Browse repository at this point
Copy the full SHA a18260fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf292b8 - Browse repository at this point
Copy the full SHA cf292b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eace88 - Browse repository at this point
Copy the full SHA 6eace88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 443a82e - Browse repository at this point
Copy the full SHA 443a82eView commit details -
Configuration menu - View commit details
-
Copy full SHA for deb3b79 - Browse repository at this point
Copy the full SHA deb3b79View commit details -
.github(cross-compile): try enabling -flto on macOS
I think this won't work.
Configuration menu - View commit details
-
Copy full SHA for d0e67f6 - Browse repository at this point
Copy the full SHA d0e67f6View commit details -
Revert ".github(cross-compile): try enabling -flto on macOS"
This reverts commit d0e67f6. It produced the error: error: LTO is not yet supported with the Mach-O object format. More details: ziglang/zig#8680
Configuration menu - View commit details
-
Copy full SHA for f9ea4e1 - Browse repository at this point
Copy the full SHA f9ea4e1View commit details
Commits on Aug 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3542cbe - Browse repository at this point
Copy the full SHA 3542cbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cee7f4 - Browse repository at this point
Copy the full SHA 7cee7f4View commit details