mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	* Simplify rocm install and update to 6.3.1 * Build out more necessary packages * Update to 6.3.3 * Set bake version * Fix typo * Ensure NHWC is used * Reset dev changes * Write to cache
		
			
				
	
	
		
			47 lines
		
	
	
		
			830 B
		
	
	
	
		
			HCL
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			830 B
		
	
	
	
		
			HCL
		
	
	
	
	
	
| variable "AMDGPU" {
 | |
|   default = "gfx900"
 | |
| }
 | |
| variable "ROCM" {
 | |
|   default = "6.3.3"
 | |
| }
 | |
| variable "HSA_OVERRIDE_GFX_VERSION" {
 | |
|   default = ""
 | |
| }
 | |
| variable "HSA_OVERRIDE" {
 | |
|   default = "1"
 | |
| }
 | |
| 
 | |
| target wget {
 | |
|   dockerfile = "docker/main/Dockerfile"
 | |
|   platforms = ["linux/amd64"]
 | |
|   target = "wget"
 | |
| }
 | |
| 
 | |
| target deps {
 | |
|   dockerfile = "docker/main/Dockerfile"
 | |
|   platforms = ["linux/amd64"]
 | |
|   target = "deps"
 | |
| }
 | |
| 
 | |
| target rootfs {
 | |
|   dockerfile = "docker/main/Dockerfile"
 | |
|   platforms = ["linux/amd64"]
 | |
|   target = "rootfs"
 | |
| }
 | |
| 
 | |
| target rocm {
 | |
|   dockerfile = "docker/rocm/Dockerfile"
 | |
|   contexts = {
 | |
|     deps = "target:deps",
 | |
|     wget = "target:wget",
 | |
|     rootfs = "target:rootfs"
 | |
|   }
 | |
|   platforms = ["linux/amd64"]
 | |
|   args = {
 | |
|     AMDGPU = AMDGPU,
 | |
|     ROCM = ROCM,
 | |
|     HSA_OVERRIDE_GFX_VERSION = HSA_OVERRIDE_GFX_VERSION,
 | |
|     HSA_OVERRIDE = HSA_OVERRIDE
 | |
|   }
 | |
| }
 |