Open zacky1972 opened 4 years ago
make -f _build/dev/lib/pelemay/build/libnifelixirpelemaysample.mk
:
% make -f _build/dev/lib/pelemay/build/libnifelixirpelemaysample.mk
/usr/bin/clang -S -o ../obj/libnifelixirpelemaysample.s -Ofast -g -ansi -pedantic -I/Users/zacky/github/pelemay_sample/deps/pelemay/lib/pelemay/generator/native -I/usr/local/Cellar/erlang/23.1.4/lib/erlang/erts-11.1.3/include -std=c11 -Wno-unused-function -fPIC -I`xcrun --show-sdk-path 2>/dev/null`/usr/include
clang: error: no input files
make: *** [../obj/libnifelixirpelemaysample.o] Error 1
I guess it will be compiled correctly if call CC as xrun clang
instead of /usr/bin/clang
.
Describe the bug An error occurs when M1 Mac with Rosetta 2 mode.
To Reproduce Steps to reproduce the behavior:
pelemay_sample
mix compile
Expected behavior No error occurs and benchmarks will start.
Screenshots None.
Desktop (please complete the following information):
Running
CpuInfo.all_profile
:Additional context Add any other context about the problem here.