diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 061cd9f..7419892 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -1,4 +1,4 @@ -name: C/C++ Binary build +name: C/C++ Binary build with OpenMP on: push: @@ -16,4 +16,13 @@ jobs: - name: clean run: make clean - name: make (run) - run: make \ No newline at end of file + working-directory: ./ + env: OMP_NUM_THREADS: 8 + run: | + sudo apt-get update; sudo apt-get install -y libomp5 libomp-dev + echo OMP_NUM_THREADS:$OMP_NUM_THREADS + echo OMP_SCHEDULE:$OMP_SCHEDULE + echo OMP_DYNAMIC:$OMP_DYNAMIC + echo OMP_NESTED:$OMP_NESTED + make + ldd ./bin/K-Means3D diff --git a/bin/K-means3D b/bin/K-means3D deleted file mode 100755 index 6d06e6b..0000000 Binary files a/bin/K-means3D and /dev/null differ diff --git a/obj/k-means.o b/obj/k-means.o deleted file mode 100644 index eebd85f..0000000 Binary files a/obj/k-means.o and /dev/null differ diff --git a/obj/main.o b/obj/main.o deleted file mode 100644 index 4839796..0000000 Binary files a/obj/main.o and /dev/null differ diff --git a/obj/point.o b/obj/point.o deleted file mode 100644 index 57c5390..0000000 Binary files a/obj/point.o and /dev/null differ diff --git a/obj/readWrite.o b/obj/readWrite.o deleted file mode 100644 index 582ac28..0000000 Binary files a/obj/readWrite.o and /dev/null differ