14 lines
247 B
Bash
Executable file
14 lines
247 B
Bash
Executable file
#!/bin/bash
|
|
set -ex
|
|
|
|
pushd "${0%/*}"
|
|
rm -rvf build
|
|
mkdir build
|
|
pushd build
|
|
|
|
export CC=clang
|
|
export CXX=clang++
|
|
export CFLAGS="-ggdb -O0 -march=x86-64 -mtune=generic"
|
|
export CXXFLAGS="-ggdb -O0 -march=x86-64 -mtune=generic"
|
|
cmake ..
|
|
make -j$(nproc) |