fix: cmake invocation for lumen-tblgen task
Closes
@@ -22,7 +22,8 @@ end
mkdir ${build_dir}
cd ${build_dir}
-exec --fail-on-error cmake -GNinja -DLUMEN_BUILD_TESTS=OFF -DLUMEN_BUILD_SHARED_LIBS=OFF "-DLLVM_PREFIX=${llvm_prefix}" --target lumen-tblgen --build "${workspace_dir}/compiler/codegen_llvm"
+exec --fail-on-error cmake -GNinja -Wno-dev -S "${workspace_dir}/compiler/codegen_llvm" -B "${build_dir}" -DLUMEN_BUILD_TESTS=OFF -DLUMEN_BUILD_SHARED_LIBS=OFF "-DLLVM_PREFIX=${llvm_prefix}"
+exec --fail-on-error cmake --build "${build_dir}" --target lumen-tblgen
exec --fail-on-error ninja lumen-tblgen
if is_file "${build_dir}/bin/lumen-tblgen"
