-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux Install Documentation improvement & latest drivers (#54)
* Update installation script * Install latest version of the driver and Riallto * Add intructions to run Riallto from other users * Set shell to bash * Specify docker owner via username * Fix args check * Add information about username ownership * Remove unneded as base * Remove all directories * Check if args are less or equal to 2 * Fix args check * Grammar
- Loading branch information
1 parent
6338ba4
commit f785a7f
Showing
4 changed files
with
98 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved. | ||
# SPDX-License-Identifier: MIT | ||
|
||
FROM ubuntu:24.04 as base | ||
FROM ubuntu:24.04 | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG KERNEL_HEADERS | ||
|
@@ -24,8 +24,8 @@ RUN apt-get install -y zstd | |
COPY _work /root/ | ||
|
||
RUN apt-get install -y libelf1t64 | ||
RUN apt-get install -y kmod | ||
RUN apt-get install -y linux-base | ||
RUN apt-get install -y kmod | ||
RUN apt-get install -y linux-base | ||
|
||
RUN dpkg -i /root/$KERNEL_HEADERS | ||
RUN dpkg -i /root/$KERNEL_HEADERS_GENERIC | ||
|
@@ -34,9 +34,9 @@ RUN dpkg -i /root/$KERNEL_IMAGE | |
|
||
RUN git config --global url."https://github.com/".insteadOf "[email protected]:" | ||
RUN cd /root && git clone https://github.com/amd/xdna-driver.git --recursive | ||
RUN cd /root/xdna-driver && git checkout 7682e0b4b6c435d6700faef3dc27cd709324e27f | ||
RUN cd /root/xdna-driver && git checkout main | ||
|
||
RUN apt-get install -y cmake jq pkg-config wget libdrm-dev | ||
RUN apt-get install -y cmake jq pkg-config wget libdrm-dev | ||
RUN apt-get install -y python3-pip | ||
RUN apt-get install -y ocl-icd-opencl-dev | ||
|
||
|