Skip to content

Instantly share code, notes, and snippets.

@mikdusan
Created April 15, 2021 04:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikdusan/9f9a5c8c103234e8a4e47868e55d6d7c to your computer and use it in GitHub Desktop.
Save mikdusan/9f9a5c8c103234e8a4e47868e55d6d7c to your computer and use it in GitHub Desktop.
moar memory
# export PATH=/bin:/usr/bin
#
# /usr/bin/cmake -G Ninja \
# -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja \
# -DCMAKE_BUILD_TYPE=debug \
# -DCMAKE_INSTALL_PREFIX=/opt/llvm-linux-x86_64-12.0.0.1-debug \
# -DCMAKE_EXE_LINKER_FLAGS_INIT='-fno-lto' \
# -DCMAKE_SHARED_LINKER_FLAGS_INIT='-fno-lto' \
# -DPython3_EXECUTABLE=/usr/bin/python3.9 \
# -DLLVM_PARALLEL_LINK_JOBS=1 \
# -DLLVM_ENABLE_PROJECTS='clang;lld' \
# -DLLVM_ENABLE_LIBXML2=OFF \
# -DLLVM_ENABLE_TERMINFO=OFF \
# -DLLVM_INCLUDE_TESTS=OFF \
# -DCLANG_INCLUDE_TESTS=OFF \
# -S ./llvm \
# -B _build.linux-x86_64-12.0.0.1-debug \
# ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment