MXNet: fix flag versions (#38402)
This commit is contained in:
		| @@ -92,9 +92,9 @@ def cmake_args(self): | ||||
|             self.define("BLAS_LIBRARIES", self.spec["blas"].libs[0]), | ||||
|         ] | ||||
| 
 | ||||
|         if self.spec.satisfies("@:1.8"): | ||||
|         if self.spec.satisfies("@:1"): | ||||
|             args.append(self.define_from_variant("USE_MKLDNN", "mkldnn")) | ||||
|         elif self.spec.satisfies("@1.9:"): | ||||
|         elif self.spec.satisfies("@2:"): | ||||
|             args.append(self.define_from_variant("USE_ONEDNN", "mkldnn")) | ||||
|             args.append(self.define("USE_CUTENSOR", False)) | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Adam J. Stewart
					Adam J. Stewart