Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve build instructions and prerequisites so building opencv and llm are not skipped #273

Open
saket424 opened this issue May 8, 2024 · 0 comments

Comments

@saket424
Copy link

saket424 commented May 8, 2024

(venv3) anand@tufb2lap:~/ion-kit-stuff/ion-kit/build$ cmake -D CMAKE_TOOLCHAIN_FILE=${VCPKG_PATH}/scripts/buildsystems/vcpkg.cmake -D Halide_DIR=${HALIDE_PATH}/lib/cmake/Halide -D HalideHelpers_DIR=${HALIDE_PATH}/lib/cmake/HalideHelpers -DCMAKE_BUILD_TYPE=Release -D ION_BUILD_TEST=ON -D ION_BUILD_EXAMPLE=ON ..
cmake --build .
-- Running vcpkg install
Detecting compiler hash for triplet x64-linux...
Compiler found: /usr/bin/c++
All requested packages are currently installed.
Total install time: 230 ns
libjpeg-turbo is compatible with built-in implementation-agnostic CMake targets:

    find_package(JPEG REQUIRED)
    target_include_directories(main PRIVATE JPEG::JPEG)

libjpeg-turbo provides CMake targets for the TurboJPEG C API:

    find_package(libjpeg-turbo CONFIG REQUIRED)
    target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:libjpeg-turbo::turbojpeg>,libjpeg-turbo::turbojpeg,libjpeg-turbo::turbojpeg-static>)

The package zlib is compatible with built-in CMake targets:

    find_package(ZLIB REQUIRED)
    target_link_libraries(main PRIVATE ZLIB::ZLIB)

The package libpng is compatible with built-in CMake targets:

    find_package(PNG REQUIRED)
    target_link_libraries(main PRIVATE PNG::PNG)

-- Running vcpkg install - done
-- Halide 'host' platform triple:   x86-64-linux
-- Halide 'cmake' platform triple:  x86-64-linux
-- Halide default AOT target:       host
CMake Warning (dev) at /home/anand/ion-kit-stuff/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package):
  Policy CMP0146 is not set: The FindCUDA module is removed.  Run "cmake
  --help-policy CMP0146" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

Call Stack (most recent call first):
  CMakeLists.txt:33 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Version: v1.7.0-40-gd021033
Skip building "dnn"
Skip building "fpga"
Skip building "opencv"
Skip building "llm"
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /home/anand/ion-kit-stuff/ion-kit/build
[ 13%] Built target ion-core
[ 15%] Linking CXX shared library libion-bb.so
[ 16%] Built target ion-bb
[ 17%] Linking CXX shared library libion-bb-test.so
[ 18%] Built target ion-bb-test
[ 20%] Linking CXX executable c_api_jit
[ 21%] Built target c_api_jit
[ 22%] Linking CXX executable error_jit
[ 24%] Built target error_jit
[ 25%] Linking CXX executable metadata_jit
[ 26%] Built target metadata_jit
[ 27%] Linking CXX executable multi_out_jit
[ 29%] Built target multi_out_jit
[ 30%] Linking CXX executable array_inout_jit
[ 31%] Built target array_inout_jit
[ 32%] Linking CXX executable array_input_jit
[ 34%] Built target array_input_jit
[ 35%] Linking CXX executable array_output_jit
[ 36%] Built target array_output_jit
[ 37%] Linking CXX executable array_dup_names_jit
[ 39%] Built target array_dup_names_jit
[ 40%] Linking CXX executable inverted_dep_jit
[ 41%] Built target inverted_dep_jit
[ 43%] Linking CXX executable dup_jit
[ 44%] Built target dup_jit
[ 45%] Linking CXX executable port-binding_jit
[ 46%] Built target port-binding_jit
[ 48%] Linking CXX executable port-assign_jit
[ 49%] Built target port-assign_jit
[ 50%] Linking CXX executable direct-extern_jit
[ 51%] Built target direct-extern_jit
[ 53%] Linking CXX executable gpu-extern_jit
[ 54%] Built target gpu-extern_jit
[ 55%] Linking CXX shared library libgpu-extern-lib.so
[ 56%] Built target gpu-extern-lib
[ 58%] Linking CXX executable dup-port-name_jit
[ 59%] Built target dup-port-name_jit
[ 60%] Linking CXX executable configure_jit
[ 62%] Built target configure_jit
[ 63%] Linking CXX executable export_jit
[ 64%] Built target export_jit
[ 65%] Linking CXX executable validation_jit
[ 67%] Built target validation_jit
[ 68%] Linking CXX executable multi_pipe_jit
[ 69%] Built target multi_pipe_jit
[ 70%] Linking CXX executable graph_jit
[ 72%] Built target graph_jit
[ 73%] Linking CXX executable compile/simple_graph_compile
[ 74%] Built target simple_graph_compile
[ 75%] Generating compile/simple_graph_compile_out/simple_graph.h, compile/simple_graph_compile_out/simple_graph.a
Passed
[ 77%] Building CXX object test/CMakeFiles/simple_graph_aot.dir/simple_graph_run.cc.o
[ 78%] Linking CXX executable simple_graph_aot
[ 79%] Built target simple_graph_aot
[ 81%] Linking CXX executable simple_graph_jit
[ 82%] Built target simple_graph_jit
[ 83%] Linking CXX executable compile/complex_graph_compile
[ 84%] Built target complex_graph_compile
[ 86%] Generating compile/complex_graph_compile_out/complex_graph.h, compile/complex_graph_compile_out/complex_graph.a
Passed
[ 87%] Building CXX object test/CMakeFiles/complex_graph_aot.dir/complex_graph_run.cc.o
[ 88%] Linking CXX executable complex_graph_aot
[ 89%] Built target complex_graph_aot
[ 91%] Linking CXX executable complex_graph_jit
[ 92%] Built target complex_graph_jit
[ 93%] Linking CXX executable compile/producerx3_compile
[ 94%] Built target producerx3_compile
[ 96%] Generating compile/producerx3_compile_out/producerx3.h, compile/producerx3_compile_out/producerx3.a
[ 97%] Building CXX object example/CMakeFiles/producerx3_aot.dir/producerx3_run.cc.o
[ 98%] Linking CXX executable producerx3_aot
[100%] Built target producerx3_aot
(venv3) anand@tufb2lap:~/ion-kit-stuff/ion-kit/build$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant