File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,14 +94,42 @@ jobs:
9494 if : steps.cache-cts.outputs.cache-hit != 'true'
9595 run : |
9696 echo "Building OpenVX CTS..."
97+
98+ # Create symlink for include directory if needed
99+ if [ ! -d "openvx" ]; then
100+ echo "Creating openvx symlink..."
101+ ln -sf include openvx 2>/dev/null || true
102+ fi
103+
97104 cd OpenVX-cts
98105 mkdir -p build
99106 cd build
107+
108+ # Configure with CMake
109+ echo "Configuring with CMake..."
100110 cmake .. \
101111 -DCMAKE_BUILD_TYPE=Release \
102- -G Ninja
103- ninja -j$(nproc) || make -j$(nproc)
104- echo "CTS build complete."
112+ -DCMAKE_C_COMPILER=gcc \
113+ -DCMAKE_CXX_COMPILER=g++ \
114+ 2>&1
115+
116+ if [ $? -ne 0 ]; then
117+ echo "CMake configuration failed!"
118+ cat CMakeFiles/CMakeError.log 2>/dev/null | head -50 || echo "No error log found"
119+ exit 1
120+ fi
121+
122+ echo "Building with Make..."
123+ make -j$(nproc) 2>&1
124+
125+ if [ $? -ne 0 ]; then
126+ echo "Build failed!"
127+ exit 1
128+ fi
129+
130+ echo "CTS build complete. Checking for binary..."
131+ ls -la bin/vx_test_conformance 2>/dev/null || echo "Binary not found in bin/"
132+ find . -name "vx_test_conformance" -type f 2>/dev/null
105133
106134 - name : Prepare test environment
107135 run : |
You can’t perform that action at this time.
0 commit comments