File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1616# permissions and limitations under the License.
1717
1818from conan import ConanFile
19+ from conan .tools .build import build_jobs
1920from conan .tools .cmake import CMake , cmake_layout , CMakeDeps , CMakeToolchain
2021
2122def load_version_from_file ():
@@ -111,9 +112,9 @@ def build(self):
111112
112113 # Cannot use cmake.build(...) because not possible to pass make arguments like --keep-going.
113114 if self .options .build :
114- self .run ("cmake --build . -- --keep-going VERBOSE=1" )
115+ self .run (f "cmake --build . -- --keep-going VERBOSE=1 -j { build_jobs ( self ) } " )
115116 if self .options .doc :
116- self .run ("cmake --build . -- flow_doc_public flow_doc_full --keep-going VERBOSE=1" )
117+ self .run (f "cmake --build . -- flow_doc_public flow_doc_full --keep-going VERBOSE=1 -j { build_jobs ( self ) } " )
117118
118119 def requirements (self ):
119120 if self .options .build :
You can’t perform that action at this time.
0 commit comments