Commit c927c554 authored by Wieland Morgenstern's avatar Wieland Morgenstern

update macOS build instructions, travis no longer exists

parent 7bb49a34
...@@ -6,19 +6,22 @@ Using ccache to speed up recompilation is recommended, but not required, on Linu ...@@ -6,19 +6,22 @@ Using ccache to speed up recompilation is recommended, but not required, on Linu
## Building with macOS: ## Building with macOS:
To install the dependencies on macOS, use either the MacPorts or Homebrew package manager.
### Using MacPorts ### Using MacPorts
``` ```
# Build tools # Install build tools
sudo port install CMake bison doxygen yasm ninja ccache sudo port install CMake bison doxygen yasm ninja ccache
# Libraries # Install library dependencies
sudo port install opencv glew gsed jpeg libpng \ sudo port install opencv glew gsed jpeg libpng \
tiff faac faad2 ceres-solver glfw glm OpenEXR \ tiff faac faad2 ceres-solver glfw glm OpenEXR \
ffmpeg +gpl2 +librtmp +nonfree ffmpeg +gpl2 +librtmp +nonfree
``` ```
``` ```
# Configure build
cmake -DCREATE_BOX_PACKAGE=OFF \ cmake -DCREATE_BOX_PACKAGE=OFF \
-DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=ON \ -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=ON \
-DQt5_DIR=~/Qt/5.9.6/clang_64/lib/cmake/Qt5 \ -DQt5_DIR=~/Qt/5.9.6/clang_64/lib/cmake/Qt5 \
...@@ -26,12 +29,13 @@ cmake -DCREATE_BOX_PACKAGE=OFF \ ...@@ -26,12 +29,13 @@ cmake -DCREATE_BOX_PACKAGE=OFF \
-G Ninja \ -G Ninja \
stitchEm stitchEm
# Build!
ninja ninja
``` ```
### Using Homebrew ### Using Homebrew
See [../.travis.yml](../.travis.yml) See the `run` instructions in the MacOpenCL builder in [../.github/workflows/build.yml](build.yml) for a full OpenCL-build with Homebrew dependencies.
## Building with Linux: ## Building with Linux:
...@@ -73,6 +77,7 @@ sudo apt install ...@@ -73,6 +77,7 @@ sudo apt install
# Install CUDA: https://developer.nvidia.com/cuda-downloads # Install CUDA: https://developer.nvidia.com/cuda-downloads
# Configure build
cmake -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=OFF -DRTMP_NVENC=OFF \ cmake -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=OFF -DRTMP_NVENC=OFF \
-G Ninja \ -G Ninja \
stitchEm stitchEm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment