Skip to content

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

Open
@vvuk

Description

@vvuk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThis issue is about a problem building Reko

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions