Open 744570676 opened 3 years ago
when i build with ninja, the following problems occur
ninja: error: build.ninja:2657: bad $-escape (literal $ must be written as $$)
cmake options:
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_JEMALLOC=ON -DWITH_TESTS=OFF -DWITH_TOOLS=OFF -DWITH_TERARK_ZIP=OFF
but after i modified build.ninja manually by replacing $(nproc) with ${nproc}, the problem was solved.
build.ninja
$(nproc)
${nproc}
nproc is a command to get number of cores. Does ${nproc} work the same as $(nproc)?
nproc
[BUG]
when i build with ninja, the following problems occur
cmake options:
but after i modified
build.ninja
manually by replacing$(nproc)
with${nproc}
, the problem was solved.