Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
stitchEm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franco (nextime) Lanza
stitchEm
Commits
1405bdeb
Commit
1405bdeb
authored
Mar 03, 2021
by
Wieland Morgenstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document process of building a macOS release
parent
0f399501
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
BUILD.md
doc/BUILD.md
+39
-0
No files found.
doc/BUILD.md
View file @
1405bdeb
...
...
@@ -37,6 +37,45 @@ ninja
See the
`run`
instructions in the MacOpenCL builder in
[
build.yml
](
../.github/workflows/build.yml
)
for a full OpenCL-build with Homebrew dependencies.
### Creating a binary OpenCL release on macOS
```
git clone https://github.com/stitchEm/stitchEm.git
# checkout master branch, create a tag in the naming scheme Studio-v2.4.1-macOS
# Using Qt 5.12.10 in this example:
echo 5.12.10 > stitchEm/qt.version
# path of the build directory is hardcoded in script that creates the package later
mkdir cmake_build
cd cmake_build
# BUILD_MACOSX_BUNDLE=ON is required to get an .app bundle
# DISABLE_OPENCL_SPIR=ON is important, otherwise there will be kernel compilation errors
# from SPIR incompatibilities
cmake -DBUILD_MACOSX_BUNDLE=ON \
-DGPU_BACKEND_CUDA=OFF \
-DGPU_BACKEND_OPENCL=ON \
-DDISABLE_OPENCL_SPIR=ON \
-DQt5_DIR=~/Qt/5.12.10/clang_64/lib/cmake/Qt5 \
-DMACPORTS=ON \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
../stitchEm
ninja
cd ../stitchEm/apps/dmg
env QT_INSTALL=/Users/{$USER}/Qt ./make_studio_dmg_opencl.sh
# on succes, a VideoStitch-Studio.dmg should have been created in the current directory
# -> extract app to another folder, and zip for upload to a new GitHub release
# (GitHub doesn't allow .dmg uploads)
```
## Building with Linux:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment