build_cosmocc.sh 303 B

12345678910
  1. #!/bin/sh
  2. # Copyright (C) 2023 Dylibso. All rights reserved.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. export CC=x86_64-unknown-cosmo-cc
  5. export CXX=x86_64-unknown-cosmo-c++
  6. rm -rf build
  7. mkdir build
  8. cmake -DWAMR_BUILD_INTERP=1 -DWAMR_BUILD_FAST_INTERP=1 -B build
  9. cmake --build build -j