Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TMP: disable parallel builds temporarly
Browse files Browse the repository at this point in the history
Running generator parallel in a cmake project screws up objectbox-model json and header file
dan-obx committed Aug 12, 2024
1 parent 48dc4b7 commit 2ea84b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/cmake/cmake.go
Original file line number Diff line number Diff line change
@@ -29,8 +29,6 @@ import (
"os"
"os/exec"
"path/filepath"
"runtime"
"strconv"
"text/template"
)

@@ -171,7 +169,7 @@ func (cmake *Cmake) Build(config string) ([]byte, []byte, error) {
return cmakeExec(cmake.ConfDir,
"--build", cmake.BuildDir,
"--config", config,
"--parallel "+strconv.FormatInt(int64(runtime.NumCPU()/2), 10),
// "--parallel "+strconv.FormatInt(int64(runtime.NumCPU()/2), 10),
)
}

0 comments on commit 2ea84b6

Please sign in to comment.