mirror of
https://github.com/BillyOutlast/rocm-stable-diffusion.cpp.git
synced 2026-02-04 03:01:18 +01:00
updating build for debug
This commit is contained in:
5
.github/workflows/build-hipblas-rocm71.yml
vendored
5
.github/workflows/build-hipblas-rocm71.yml
vendored
@@ -12,7 +12,6 @@ on:
|
||||
description: "GPU Targets (comma separated)"
|
||||
required: false
|
||||
type: string
|
||||
#default: "gfx1201,gfx1200,gfx1100,gfx1101,gfx1151"
|
||||
default: "gfx1201,gfx1200,gfx1100,gfx1101,gfx1151"
|
||||
push:
|
||||
branches:
|
||||
@@ -59,7 +58,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
gpu_target: [gfx1201, gfx1200, gfx1100, gfx1101, gfx1151]
|
||||
gpu_target: [gfx1151]
|
||||
|
||||
runs-on: self-hosted
|
||||
needs: get-default-branch
|
||||
@@ -147,7 +146,7 @@ jobs:
|
||||
-DSD_HIPBLAS=ON \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DGPU_TARGETS="${{ env.GPU_TARGET }}" \
|
||||
-DAMDGPU_TARGETS="${{ env.GPU_TARGET }}" \
|
||||
-GPU_TARGETS="${{ env.GPU_TARGET }}" \
|
||||
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
||||
|
||||
|
||||
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -325,14 +325,14 @@ jobs:
|
||||
cd build
|
||||
$env:CMAKE_PREFIX_PATH="${env:HIP_PATH}"
|
||||
cmake .. `
|
||||
-G "Unix Makefiles" `
|
||||
-DSD_HIPBLAS=ON `
|
||||
-DSD_BUILD_SHARED_LIBS=ON `
|
||||
-DGGML_NATIVE=OFF `
|
||||
-G "Ninja" `
|
||||
-DCMAKE_C_COMPILER=clang `
|
||||
-DCMAKE_CXX_COMPILER=clang++ `
|
||||
-DSD_HIPBLAS=ON `
|
||||
-DCMAKE_BUILD_TYPE=Release `
|
||||
-DGPU_TARGETS="${{ env.GPU_TARGETS }}"
|
||||
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON `
|
||||
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
||||
cmake --build . --config Release --parallel ${env:NUMBER_OF_PROCESSORS}
|
||||
|
||||
- name: Get commit hash
|
||||
|
||||
Reference in New Issue
Block a user