build boost on mac
This commit is contained in:
@@ -41,7 +41,8 @@ tar zxvpf $libFilePath -C $buildPath
|
|||||||
|
|
||||||
if [ "${machineArch}" = "Linux" ]; then
|
if [ "${machineArch}" = "Linux" ]; then
|
||||||
(cd $libSrcPath && \
|
(cd $libSrcPath && \
|
||||||
./bootstrap.sh --prefix=$libInstallPath && \
|
./bootstrap.sh \
|
||||||
|
--prefix=$libInstallPath && \
|
||||||
./b2 \
|
./b2 \
|
||||||
--build-dir=$libBuildPath \
|
--build-dir=$libBuildPath \
|
||||||
--prefix=$libInstallPath \
|
--prefix=$libInstallPath \
|
||||||
@@ -55,7 +56,9 @@ if [ "${machineArch}" = "Linux" ]; then
|
|||||||
install)
|
install)
|
||||||
elif [ "${machineArch}" = "MacOS" ]; then
|
elif [ "${machineArch}" = "MacOS" ]; then
|
||||||
(cd $libSrcPath && \
|
(cd $libSrcPath && \
|
||||||
./bootstrap.sh --prefix=$libInstallPath && \
|
./bootstrap.sh \
|
||||||
|
--prefix=$libInstallPath \
|
||||||
|
--with-toolset=clang && \
|
||||||
./b2 \
|
./b2 \
|
||||||
--build-dir=$libBuildPath \
|
--build-dir=$libBuildPath \
|
||||||
--prefix=$libInstallPath \
|
--prefix=$libInstallPath \
|
||||||
@@ -66,6 +69,7 @@ elif [ "${machineArch}" = "MacOS" ]; then
|
|||||||
threading=multi \
|
threading=multi \
|
||||||
runtime-link=shared \
|
runtime-link=shared \
|
||||||
address-model=64 \
|
address-model=64 \
|
||||||
|
toolset=clang \
|
||||||
install)
|
install)
|
||||||
elif [ "${machineArch}" = "Windows" ]; then
|
elif [ "${machineArch}" = "Windows" ]; then
|
||||||
(cd $libSrcPath && \
|
(cd $libSrcPath && \
|
||||||
|
|||||||
Reference in New Issue
Block a user