SpartanJ / efsw

efsw is a C++ cross-platform file system watcher and notifier.
Other
645 stars 98 forks source link

MacOS build on server #156

Closed jackokring closed 1 year ago

jackokring commented 1 year ago
cd efsw && premake5 gmake
Building configurations...
Running action 'gmake'...
Generated make/macosx/Makefile...
Generated make/macosx/efsw-static-lib.make...
Generated make/macosx/efsw-test.make...
Generated make/macosx/efsw-shared-lib.make...
Done ([29](https://github.com/jackokring/jqt-chromebook-arm/actions/runs/4350079242/jobs/7600434665#step:5:30)2ms).
cd efsw/make/macosx && make config=release
make[1]: Nothing to be done for `all'.
cp efsw/lib/libefsw-static-release.a .
cp: efsw/lib/libefsw-static-release.a: No such file or directory
make: *** [libefsw.a] Error 1
Error: Process completed with exit code 2.

No mac to hand to explain why target all is null

SpartanJ commented 1 year ago

premake5 uses other config options, since it appends the architecture in the config types, for example, release_x86_64. But it seems that I forgot to add arm to the build options, I just committed a fix, you'll be able to build it with make config=release_arm64 or make config=release_arm (64bits and 32bits respectively).