Skip to content

Instantly share code, notes, and snippets.

@taless474
Created January 11, 2019 16:52
Show Gist options
  • Save taless474/30e713e02f93c5a0c44184e2eb9c10e9 to your computer and use it in GitHub Desktop.
Save taless474/30e713e02f93c5a0c44184e2eb9c10e9 to your computer and use it in GitHub Desktop.
Building Phylanx with blaze tensor
cd blaze_tensor
rd /s /q cmake-build-debug
cmake -C ../blaze_tensor_cache.cmake -H. -Bcmake-build-debug -G"Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX="C:/Repos/blaze_tensor/cmake-install"
cmake --build cmake-build-debug --config Debug --target install
pause
set(CMAKE_BUILD_TYPE Debug CACHE STRING "")
#set(CMAKE_CONFIGURATION_TYPES "Release;Debug" CACHE STRING "")
set(CMAKE_TOOLCHAIN_FILE "C:/Repos/vcpkg/scripts/buildsystems/vcpkg.cmake" CACHE FILEPATH "")
set(HPX_DIR "C:/Repos/hpx/cmake-build-debug/lib/cmake/HPX" CACHE PATH "")
cd hpx
rd /s /q cmake-build-debug
git pull
cmake -C ../hpx_cache.cmake -H. -Bcmake-build-debug -G"Visual Studio 15 2017 Win64"
::pause
cmake --build cmake-build-debug --config Debug --target hello_world
::pause
cmake --build cmake-build-debug --config RelWithDebInfo --target hello_world
::pause
cmake --build cmake-build-debug --config Release --target hello_world
pause
set(CMAKE_BUILD_TYPE Debug CACHE STRING "")
#set(CMAKE_CONFIGURATION_TYPES "Release;Debug" CACHE STRING "")
set(CMAKE_TOOLCHAIN_FILE "C:/Repos/vcpkg/scripts/buildsystems/vcpkg.cmake" CACHE FILEPATH "")
set(HPX_WITH_TOOLS On CACHE BOOL "")
set(HPX_WITH_EXAMPLES On CACHE BOOL "")
set(HPX_WITH_EXAMPLES_HDF5 Off CACHE BOOL "")
set(HPX_WITH_TESTS On CACHE BOOL "")
set(HPX_WITH_RUNTIME Off CACHE BOOL "")
set(HPX_WITH_DEPRECATION_WARNINGS On CACHE BOOL "")
cd phylanx
rd /s /q cmake-build-debug
cmake -C ../phylanx_cache.cmake -H. -Bcmake-build-debug -G"Visual Studio 15 2017 Win64"
::pause
::cmake --build cmake-build-debug --config Debug --target physl_exe
::cmake --build cmake-build-debug --config Debug --target remote_run_test_exe
::cmake --build cmake-build-debug --config Debug --target arithmetics_primitive
::cmake --build cmake-build-debug --config Debug --target booleans_primitive
::cmake --build cmake-build-debug --config Debug --target controls_primitive
::cmake --build cmake-build-debug --config Debug --target fileio_primitive
::cmake --build cmake-build-debug --config Debug --target listops_primitive
::cmake --build cmake-build-debug --config Debug --target matrixops_primitive
::cmake --build cmake-build-debug --config Debug --target python_setup
::pause
::cmake --build cmake-build-debug --config RelWithDebInfo --target physl_exe
::cmake --build cmake-build-debug --config RelWithDebInfo --target arithmetics_primitive
::cmake --build cmake-build-debug --config RelWithDebInfo --target booleans_primitive
::cmake --build cmake-build-debug --config RelWithDebInfo --target controls_primitive
::cmake --build cmake-build-debug --config RelWithDebInfo --target fileio_primitive
::cmake --build cmake-build-debug --config RelWithDebInfo --target listops_primitive
::cmake --build cmake-build-debug --config RelWithDebInfo --target matrixops_primitive
::cmake --build cmake-build-debug --config RelWithDebInfo --target python_setup
::::pause
::
::cmake --build cmake-build-debug --config Release --target physl_exe
::cmake --build cmake-build-debug --config Release --target arithmetics_primitive
::cmake --build cmake-build-debug --config Release --target booleans_primitive
::cmake --build cmake-build-debug --config Release --target controls_primitive
::cmake --build cmake-build-debug --config Release --target fileio_primitive
::cmake --build cmake-build-debug --config Release --target listops_primitive
::cmake --build cmake-build-debug --config Release --target matrixops_primitive
::cmake --build cmake-build-debug --config Release --target python_setup
pause
set(CMAKE_BUILD_TYPE Debug CACHE STRING "")
#set(CMAKE_CONFIGURATION_TYPES "Release;Debug" CACHE STRING "")
set(CMAKE_TOOLCHAIN_FILE "C:/Repos/vcpkg/scripts/buildsystems/vcpkg.cmake" CACHE FILEPATH "")
set(HPX_DIR "C:/Repos/hpx/cmake-build-debug/lib/cmake/HPX" CACHE PATH "")
set(PHYLANX_WITH_TOOLS On CACHE BOOL "")
set(PHYLANX_WITH_EXAMPLES On CACHE BOOL "")
set(PHYLANX_WITH_HighFive On CACHE BOOL "")
set(PHYLANX_WITH_BLAZE_TENSOR On CACHE BOOL "")
set(blaze_tensor_DIR "C:/Repos/blaze_tensor/cmake-install" CACHE PATH "")
set(PHYLANX_WITH_TESTS On CACHE BOOL "")
set(PHYLANX_WITH_CXX17 Off CACHE BOOL "")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment