Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Add conditional pinning
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab committed Dec 27, 2022
1 parent cc5b868 commit 14aa3f8
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,22 @@ PROJECT_PATH = meson.source_root()

cxx = meson.get_compiler('cpp')

r = run_command('echo', '$OSTYPE', check: true)
operation_system = r.stdout().strip()

# note: probably not a good approach but we should have both
# OS with the same pinning soon

if 'Linux' in operation_system
llvm_version = '>=15.0.0'
else
# osx
llvm_version = '>=14.0.0'
endif

deps = [
dependency('arrow'),
dependency('llvm', version : '>=14.0.0'),
dependency('llvm', version : llvm_version),
dependency('CLI11'),
dependency('threads'),
dependency('glog'),
Expand Down

0 comments on commit 14aa3f8

Please sign in to comment.