Skip to content

Instantly share code, notes, and snippets.

@matvore
Created December 17, 2020 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matvore/daaa613be1f399b532ff6cbde75108cd to your computer and use it in GitHub Desktop.
Save matvore/daaa613be1f399b532ff6cbde75108cd to your computer and use it in GitHub Desktop.
# Use to build https://github.com/matvore/nfs-ganesha on macOS
cflags="-DHAVE_STRNLEN=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 \
-Wno-deprecated-declarations"
cmake --clean-first \
-DTIRPC_EPOLL:BOOL=OFF
-DBISON_EXECUTABLE:FILEPATH=$BREW_PREFIX/opt/bison/bin/bison \
-DUSE_FSAL_VFS:BOOL=OFF \
-DUSE_FSAL_XFS:BOOL=OFF \
-DUSE_FSAL_PROXY_V3:BOOL=OFF \
-DUSE_FSAL_PROXY_V4:BOOL=OFF \
-DUSE_FSAL_GPFS:BOOL=OFF \
-DUSE_FSAL_PANFS:BOOL=OFF \
-DRPCBIND:BOOL=OFF \
-DUSE_RQUOTA:BOOL=OFF \
-DUSE_GSS:BOOL=OFF \
-DUSE_9P:BOOL=OFF \
-DUSE_FSAL_LUSTRE:STRING=OFF \
-DCMAKE_C_FLAGS:STRING="$cflags" \
~/ganesha/src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment