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

macOS dotnet 6/7 build - libArmNative not being built #1275

Open
vvuk opened this issue Aug 1, 2023 · 2 comments
Open

macOS dotnet 6/7 build - libArmNative not being built #1275

vvuk opened this issue Aug 1, 2023 · 2 comments
Labels
build This issue is about a problem building Reko

Comments

@vvuk
Copy link

vvuk commented Aug 1, 2023

Trying to build on macOS (14, so could be something there), following the exact cirrus CI commands (dotnet msbuild -p:Platform=ARM64 -p:Configuration=UnixRelease -t:build_solution -m ./src/BuildTargets/BuildTargets.csproj) , with both dotnet 7 and 6 results in:

/opt/proj/reko/src/Drivers/PreBuild.targets(21,5): error MSB3030: Could not copy the file "/opt/proj/reko/src/Native/build/ARM64/Release/ArmNative/libArmNative.dylib" because it was not found. [/opt/proj/reko/src/Drivers/AvaloniaShell/AvaloniaShell.csproj] [/opt/proj/reko/src/BuildTargets/BuildTargets.csproj]

and elsewhere where libArmNative is referenced. I don't have a src/Native/build directory at all, and I don't see any errors or any references earlier to ArmNative at all.

I noticed that src/Native/NativeProxy.csproj is missing ARM64 in the platforms list, but changing that doesn't affect the outcome and.. somehow CI still works.

@uxmal
Copy link
Owner

uxmal commented Aug 1, 2023

Thanks for report this. What version of CMake do you have installed? The absence of a build directory implies that CMake is not doing what it's supposed to do. I'm looping in @smx-smx as well to assist.

@uxmal uxmal added the build This issue is about a problem building Reko label Aug 2, 2023
@uxmal
Copy link
Owner

uxmal commented Aug 3, 2023

We've been unable to reproduce this in house on a separate machine. You should be able capture the build output in a file. Please attach it to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build This issue is about a problem building Reko
Projects
None yet
Development

No branches or pull requests

2 participants