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
2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
c_compiler:
- gcc
c_compiler_version:
- '13'
- '14'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
- conda-forge
channel_targets:
Expand Down
4 changes: 1 addition & 3 deletions .ci_support/linux_aarch64_.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
c_compiler:
- gcc
c_compiler_version:
- '13'
- '14'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
- conda-forge
channel_targets:
Expand Down
4 changes: 1 addition & 3 deletions .ci_support/linux_ppc64le_.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
c_compiler:
- gcc
c_compiler_version:
- '13'
- '14'
c_stdlib:
- sysroot
c_stdlib_version:
- '2.17'
cdt_name:
- conda
channel_sources:
- conda-forge
channel_targets:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MACOSX_SDK_VERSION:
c_compiler:
- clang
c_compiler_version:
- '18'
- '19'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_arm64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MACOSX_SDK_VERSION:
c_compiler:
- clang
c_compiler_version:
- '18'
- '19'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/win_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
c_compiler:
- vs2019
- vs2022
c_stdlib:
- vs
channel_sources:
Expand Down
1 change: 1 addition & 0 deletions .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .scripts/run_docker_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .scripts/run_win_build.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 35 additions & 20 deletions build-locally.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
mkdir "%SRC_DIR%"\build
pushd "%SRC_DIR%"\build

REM This also sets the minimum CMake policy version to 3.5 for compatibility. Can be removed with >2.14.1

cmake -G "Ninja" ^
-DBUILD_SHARED_LIBS=ON ^
-DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 ^
..
if errorlevel 1 exit 1

Expand Down
22 changes: 22 additions & 0 deletions recipe/janssonConfig.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# janssonConfig.cmake
include_guard(GLOBAL)

if(NOT TARGET jansson::jansson)
find_package(PkgConfig REQUIRED QUIET)
pkg_check_modules(JANSSON REQUIRED jansson)

add_library(jansson::jansson INTERFACE IMPORTED)
set_target_properties(jansson::jansson PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${JANSSON_INCLUDE_DIRS}"
INTERFACE_LINK_LIBRARIES "${JANSSON_LIBRARIES}"
)

message(STATUS "janssonConfig.cmake shim by conda-forge: created imported target jansson::jansson "
"from pkg-config (${JANSSON_VERSION})")
else()
message(STATUS "janssonConfig.cmake shim: using existing jansson::jansson target")
endif()

set(JANSSON_LIBRARIES "${JANSSON_LIBRARIES}")
set(JANSSON_INCLUDE_DIRS "${JANSSON_INCLUDE_DIRS}")
set(JANSSON_VERSION "${JANSSON_VERSION}")
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source:
sha256: 979210eaffdffbcf54cfc34d047fccde13f21b529a381df26db871d886f729a4

build:
number: 0
number: 1
run_exports:
- {{ pin_subpackage('jansson', max_pin='x') }}

Expand Down