Skip to content

MacOS compilation issue #292

@FrogFlavouredWater

Description

@FrogFlavouredWater

Attempted to run:

chmod +x make.sh
./make.sh

on my M3 base model Macbook Air.

error.txt

I have attached the error log, but here is a brief example of the errors:

They all seem to be openCL errors for deprecated functions, and follow this format, but with different functions:

./src/OpenCL/include/CL/opencl.hpp:3177:16: warning: 'clUnloadCompiler' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations] 3177 | return CL_(clUnloadCompiler)(); | ^

There is also an isse where it attempts to get the system data for the logical processors:

./make.sh: line 19: nproc: command not found

nproc doesnt exist on MacOS, the substitute is sysctl -n hw.logicalcpu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions