mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-10 00:07:21 -06:00
* Remove gfx 900 support and only keep ROCm build with all variants by default * Include C++ for JIT header compilation
43 lines
766 B
HCL
43 lines
766 B
HCL
variable "ROCM" {
|
|
default = "7.1.1"
|
|
}
|
|
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 = {
|
|
ROCM = ROCM,
|
|
HSA_OVERRIDE_GFX_VERSION = HSA_OVERRIDE_GFX_VERSION,
|
|
HSA_OVERRIDE = HSA_OVERRIDE
|
|
}
|
|
}
|