gnu: python-protobuf: Use C++ implementation.
* gnu/packages/protobuf.scm (python-protobuf): Use C++ implementation. [inputs]: Add protobuf. [arguments]: Add --cpp_implementation configure flags. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									51d6bd3507
								
							
						
					
					
						commit
						9b016e2991
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -406,6 +406,12 @@ from protobuf specification files.") | |||
|         (base32 | ||||
|          "1ja2vpk9nklllmsirmil2s4l7ni9yfqvbvj47zz5xx17s1k1bhxd")))) | ||||
|     (build-system python-build-system) | ||||
|     (inputs (list protobuf)) | ||||
|     (arguments | ||||
|      `(;; Favor C++ implementation from protobuf over the native Python | ||||
|        ;; implementation. The additional dependency yields significant | ||||
|        ;; performance improvements for some workloads. | ||||
|        #:configure-flags '("--cpp_implementation"))) | ||||
|     (home-page "https://github.com/google/protobuf") | ||||
|     (synopsis "Protocol buffers is a data interchange format") | ||||
|     (description | ||||
|  |  | |||
		Reference in a new issue