Skip to content

omp on makefile

omp on makefile #29

Workflow file for this run

name: C/C++ Binary build with OpenMP
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: clean
run: make clean
- name: make (run)
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