go: set GOMAXPROCS to limit number of build processes (#35703)
This commit is contained in:
		| @@ -116,6 +116,7 @@ def setup_build_environment(self, env): | |||||||
|         # internal Spack wrappers and fail. |         # internal Spack wrappers and fail. | ||||||
|         env.set("CC_FOR_TARGET", self.compiler.cc) |         env.set("CC_FOR_TARGET", self.compiler.cc) | ||||||
|         env.set("CXX_FOR_TARGET", self.compiler.cxx) |         env.set("CXX_FOR_TARGET", self.compiler.cxx) | ||||||
|  |         env.set("GOMAXPROCS", make_jobs) | ||||||
| 
 | 
 | ||||||
|     def setup_dependent_package(self, module, dependent_spec): |     def setup_dependent_package(self, module, dependent_spec): | ||||||
|         """Called before go modules' install() methods. |         """Called before go modules' install() methods. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alex Richert
					Alex Richert