Skip to content

Feature/mac arm64 support#587

Open
ricardopieper wants to merge 6 commits intofrustra:masterfrom
ricardopieper:feature/mac-arm64-support
Open

Feature/mac arm64 support#587
ricardopieper wants to merge 6 commits intofrustra:masterfrom
ricardopieper:feature/mac-arm64-support

Conversation

@ricardopieper
Copy link

@ricardopieper ricardopieper commented Feb 8, 2026

Not meant to be merged, just a reference of what I'm doing to make it run on macs.


#include "console/Console.hh"

#include <unistd.h>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise it does not find execl and fork

*/
size_t Add(const Event &event, size_t transactionId = 0) const;
size_t Add(const AsyncEvent &event) const;
uint64_t Add(const Event &event, uint64_t transactionId = 0) const;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The impl changed but the interface didn't. No difference on linux but it is a compilation error for me.

VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME,
VK_EXT_SHADER_VIEWPORT_INDEX_LAYER_EXTENSION_NAME,
};
"VK_KHR_portability_subset"};
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The const exists but for some reason compilation fails because it... does not exist? idk

set(PROJECT_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(PROJECT_OUTPUT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/bin)
set(CMAKE_INSTALL_RPATH $ORIGIN)
if(APPLE)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MacOS does not like the $ORIGIN

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And the /usr/local/lib is so that it finds the vulkan dylib

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.

1 participant