Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[aot] Fix missing .so in manylinux2014 environment (#8404)
Issue: # In manylinux2014 environments, cmake can't find `libtaichi_c_api.so`. since the path in manylinux2014 is wrong. ### Brief Summary <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at e75061d</samp> Improve the portability of the CMake configuration for the taichi C API. Use a variable to handle different library directory names on Linux. ### Walkthrough <!-- copilot:walkthrough --> ### <samp>🤖 Generated by Copilot at e75061d</samp> * Add a conditional check to find the shared library file for the taichi C API in either lib or lib64 directory ([link](https://github.com/taichi-dev/taichi/pull/8404/files?diff=unified&w=0#diff-bfaab7c38c6ea51652cf1c22898de199fe820384908f5758919aacbbb3fd5b7aL75-R87)) * Use the TAICHI_SO_LOCATION variable to set the imported location and the check file list for the taichi_c_api target ([link](https://github.com/taichi-dev/taichi/pull/8404/files?diff=unified&w=0#diff-bfaab7c38c6ea51652cf1c22898de199fe820384908f5758919aacbbb3fd5b7aL75-R87))
- Loading branch information