Additional build instructions for Mac/OSX

Issue #384 new
Former user created an issue

1) CMakeCache.txt doesn't seem to update correctly, so add rm -f CMakeCache.txt to build sequence.

2) CMake system fails to find macports yasm, defaulting to nasm, which kills build, so add these flags to get build to work.

cmake -DCMAKE_NASM_EXECUTABLE:FILEPATH=/opt/local/bin/yasm -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX -DCMAKE_INSTALL_NAME_DIR=$PREFIX/lib ../../source >/smartbuild/work/x265.hg/build.log 2>&1

Providing this as a documentation enhancement.

Comments (2)

  1. Jayashri Murugan
    1. Couldn't reproduce this CMakeCache update problem. Can you please give us more detail.
    2. We have moved default tip of x265 to NASM while stable tip still supports YASM. In next tagging, stable tip will also be moved to NASM. So YASM is expected to fail in default tip.
  2. Log in to comment