Skip to content

Commit 2bd83cd

Browse files
committed
Update RELEASING.md with macOS target instructions
1 parent 3bc7757 commit 2bd83cd

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

RELEASING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,32 @@ gh release upload v1.1.0.1 \
6161
build/GPUBench-1.1.0.1-Linux.tar.gz \
6262
--clobber
6363
```
64+
65+
---
66+
67+
## 3. macOS Releases (Local macOS Machine)
68+
69+
If you compile for macOS, those packages (DMG, Tarball) are built locally on a macOS machine and uploaded manually using the GitHub CLI.
70+
71+
### Step 1: Build and Package Locally
72+
```bash
73+
# Navigate to the build directory
74+
cd build
75+
76+
# Configure and compile release targets
77+
cmake .. -DCMAKE_BUILD_TYPE=Release
78+
cmake --build . --parallel $(sysctl -n hw.ncpu)
79+
80+
# Generate DMG installer and tarball
81+
cpack -G DragNDrop
82+
cpack -G TGZ
83+
```
84+
85+
### Step 2: Upload to GitHub Release
86+
```bash
87+
# Upload assets to the corresponding tag
88+
gh release upload v1.1.0.1 \
89+
build/GPUBench-1.1.0.1-Darwin.dmg \
90+
build/GPUBench-1.1.0.1-Darwin.tar.gz \
91+
--clobber
92+
```

0 commit comments

Comments
 (0)