Fix ROCm build on FreeBSD.
This commit is contained in:
parent
4295de104c
commit
cbea2355ec
2
third_party/gpus/rocm_configure.bzl
vendored
2
third_party/gpus/rocm_configure.bzl
vendored
@ -301,7 +301,7 @@ def _lib_name(lib, cpu_value, version = "", static = False):
|
||||
Returns:
|
||||
The platform-specific name of the library.
|
||||
"""
|
||||
if cpu_value in ("Linux"):
|
||||
if cpu_value in ("Linux", "FreeBSD"):
|
||||
if static:
|
||||
return "lib%s.a" % lib
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user