• Pedro Eugenio Rocha Pedreira's avatar
    Add support for `extra_cmake_defines` · 25ce99fc
    Pedro Eugenio Rocha Pedreira authored
    Summary:
    `extra_cmake_defines` are extra flags that are passed to cmake when
    compiling each one of the dependencies. For instance:
    ```
    $ ./opensource/fbcode_builder/getdeps.py  build f4d --extra-cmake-define='{"CMAKE_CXX_FLAGS": "-mavx2 -mfma -mavx -mf16c -march=native"}'
    ```
    It takes a json map as input, which can take a list of defines (key value
    pairs).
    
    Reviewed By: wez
    
    Differential Revision: D25855781
    
    fbshipit-source-id: 7f4fef2c66f4d12f23c8d7086d6a4f24fcc01ff7
    25ce99fc
manifest.py 20 KB