Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/cmake-macos-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Interference NDK (macOS)

on: [push, pull_request]

jobs:
build:
# Используем актуальный образ macOS (Intel или Apple Silicon)
runs-on: macos-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Configure CMake
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release

- name: Build project
run: cmake --build build --config Release

- name: Install project
run: cmake --install build

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: indk-macos-arm64-clang
path: dist/
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ function(build_indk LIBTYPE)
include_directories(deps/facefull-bridge/include)

find_package(Threads REQUIRED)
target_link_libraries(${PROJECT_NAME}${LIBTYPE} Threads::Threads -latomic)
target_link_libraries(${PROJECT_NAME}${LIBTYPE} Threads::Threads)

if (NOT APPLE)
target_link_libraries(${PROJECT_NAME}${LIBTYPE} -latomic)
endif()

target_link_libraries(${PROJECT_NAME}${LIBTYPE} ${CMAKE_CURRENT_BINARY_DIR}/deps/facefull-bridge/libfacefull-bridge_static.a)

if (WIN32)
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ Cross-platform C++ library - universal neurobiology-based machine learning frame
Version 3.1.0
</p>

[![Interference NDK (windows)](https://github.com/nickware-group/interference/actions/workflows/cmake-windows-build.yml/badge.svg)](https://github.com/nickware-group/interference/actions/workflows/cmake-windows-build.yml)

[![Interference NDK (linux)](https://github.com/nickware-group/interference/actions/workflows/cmake-linux-build.yml/badge.svg)](https://github.com/nickware-group/interference/actions/workflows/cmake-linux-build.yml)

[![Interference NDK (windows)](https://github.com/nickware-group/interference/actions/workflows/cmake-windows-build.yml/badge.svg)](https://github.com/nickware-group/interference/actions/workflows/cmake-windows-build.yml)
[![Interference NDK (macOS)](https://github.com/nickware-group/interference/actions/workflows/cmake-macos-build.yml/badge.svg)](https://github.com/nickware-group/interference/actions/workflows/cmake-macos-build.yml)

----------------------------------------------------------------
### WHAT IS INTERFERENCE NDK
Expand All @@ -30,6 +32,7 @@ This framework is highly scalable. It is suitable for both powerful computing cl
|:------------------------------:|:---:|:-------:|:--------:|:---:|
| **Windows** | + | + | | |
| **Linux** | + | + | + | + |
| **MacOS** | + | + | | |
| **QNX** | + | | + | |

----------------------------------------------------------------
Expand Down Expand Up @@ -170,5 +173,5 @@ All files will be in `dist` directory.
#### Windows
Just run `build.cmd` script.

#### Linux
#### Linux / MacOS
Just run `build.sh` script.
1 change: 1 addition & 0 deletions samples/vision/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include <chrono>
#include <iomanip>
#include <sstream>
#include <indk/system.h>
#include <indk/neuralnet.h>
#include "bmp.hpp"
Expand Down
Loading