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

build(nix): update dependencies #589

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

rvolosatovs
Copy link
Member

@rvolosatovs rvolosatovs commented Aug 29, 2023

Feature or Problem

This makes sure that aarch64-darwin binaries are runnable out-of-the-box and we now build Mac binaries on Linux

Related Issues

rvolosatovs/nixify#148
bytecodealliance/wit-deps#49

Release Information

Consumer Impact

Testing

Built on platform(s)

  • x86_64-linux
  • aarch64-linux
  • x86_64-darwin
  • aarch64-darwin
  • x86_64-windows

Tested on platform(s)

  • x86_64-linux
  • aarch64-linux
  • x86_64-darwin
  • aarch64-darwin
  • x86_64-windows

Unit Test(s)

Acceptance or Integration

Manual Verification

$ unzip wasmcloud-universal-darwin.zip 
Archive:  wasmcloud-universal-darwin.zip
  inflating: wasmcloud-universal-darwin  
administrator@administrators-Mac-mini ~ % chmod +x wasmcloud-universal-darwin
administrator@administrators-Mac-mini ~ % ./wasmcloud-universal-darwin 
OTEL exporter endpoint not set, defaulting to 'http://localhost:55681/v1/traces'
Error: failed to initialize host

Caused by:
    0: failed to establish NATS control server connection
    1: failed to connect to NATS
    2: Connection refused (os error 61)
    3: Connection refused (os error 61)
administrator@administrators-Mac-mini ~ % file ./wasmcloud-universal-darwin
./wasmcloud-universal-darwin: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64]
./wasmcloud-universal-darwin (for architecture x86_64):	Mach-O 64-bit executable x86_64
./wasmcloud-universal-darwin (for architecture arm64):	Mach-O 64-bit executable arm64
administrator@administrators-Mac-mini ~ % otool -L ./wasmcloud-universal-darwin
./wasmcloud-universal-darwin (architecture x86_64):
	/System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 60157.30.13)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1853.0.0)
	/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)
./wasmcloud-universal-darwin (architecture arm64):
	/System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 60157.30.13)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1853.0.0)
	/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)

Signed-off-by: Roman Volosatovs <[email protected]>
@rvolosatovs rvolosatovs merged commit 84dbdee into wasmCloud:main Aug 29, 2023
17 checks passed
@rvolosatovs rvolosatovs deleted the build/update-nix branch August 29, 2023 18:07
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

Successfully merging this pull request may close these issues.

2 participants