mirror of
https://github.com/logos-storage/logos-storage-go-bindings-example.git
synced 2026-01-04 06:23:07 +00:00
debug
This commit is contained in:
parent
eb164349eb
commit
c2b1d2036c
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@ -10,25 +10,25 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target:
|
target:
|
||||||
- os: ubuntu-latest
|
# - os: ubuntu-latest
|
||||||
name: linux
|
# name: linux
|
||||||
cpu: amd64
|
# cpu: amd64
|
||||||
lib_ext: so
|
# lib_ext: so
|
||||||
|
|
||||||
- os: ubuntu-24.04-arm
|
# - os: ubuntu-24.04-arm
|
||||||
cpu: arm64
|
# cpu: arm64
|
||||||
name: linux
|
# name: linux
|
||||||
lib_ext: so
|
# lib_ext: so
|
||||||
|
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
lib_ext: so
|
lib_ext: so
|
||||||
name: macos
|
name: macos
|
||||||
cpu: arm64
|
cpu: arm64
|
||||||
|
|
||||||
- os: windows-latest
|
# - os: windows-latest
|
||||||
cpu: amd64
|
# cpu: amd64
|
||||||
name: windows
|
# name: windows
|
||||||
lib_ext: dll
|
# lib_ext: dll
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out sources
|
- name: Check out sources
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ LIBS_DIR := $(abspath ./libs)
|
|||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
ifeq ($(UNAME_S),Darwin)
|
ifeq ($(UNAME_S),Darwin)
|
||||||
CGO_CFLAGS := -I$(LIBS_DIR)
|
CGO_CFLAGS := -I$(LIBS_DIR)
|
||||||
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,@executable_path
|
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,@executable_path/libs/libcodex.dylib
|
||||||
else
|
else
|
||||||
CGO_CFLAGS := -I$(LIBS_DIR)
|
CGO_CFLAGS := -I$(LIBS_DIR)
|
||||||
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR)
|
CGO_LDFLAGS := -L$(LIBS_DIR) -lcodex -Wl,-rpath,$(LIBS_DIR)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user