[Bf-blender-cvs] [1c08ab45357] master: CMake: Compile GMP library as fat library

Sergey Sharybin noreply at git.blender.org
Tue Oct 20 16:19:10 CEST 2020


Commit: 1c08ab45357ca0884107bbc5e159097c9c58cc19
Author: Sergey Sharybin
Date:   Tue Oct 20 16:18:12 2020 +0200
Branches: master
https://developer.blender.org/rB1c08ab45357ca0884107bbc5e159097c9c58cc19

CMake: Compile GMP library as fat library

The idea behind this is to compile all versions of functions,
and let the library to pick the best at runtime.

Attempting to fix T81835

===================================================================

M	build_files/build_environment/cmake/gmp.cmake

===================================================================

diff --git a/build_files/build_environment/cmake/gmp.cmake b/build_files/build_environment/cmake/gmp.cmake
index 173f4df7e60..54250bad153 100644
--- a/build_files/build_environment/cmake/gmp.cmake
+++ b/build_files/build_environment/cmake/gmp.cmake
@@ -41,6 +41,7 @@ elseif(UNIX)
   set(GMP_OPTIONS
     ${GMP_OPTIONS}
     --with-pic
+    --enable-fat
   )
 endif()



More information about the Bf-blender-cvs mailing list