Skip to content

Commit 52eb8d0

Browse files
committed
Enable OpenMP on macOS
1 parent 3a1607c commit 52eb8d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.azure-pipelines/xfel/unix-conda-build.yml

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ steps:
7070
conda create -y -n $(PYTHON_VERSION) --file $(Pipeline.Workspace)/modules/dials/.conda-envs/$(OS).txt python=$(PYTHON_FULL_VERSION)
7171
conda install -y -c conda-forge --no-deps -n $(PYTHON_VERSION) junit-xml
7272
conda install -y -c conda-forge cmake pandas distro -n $(PYTHON_VERSION)
73+
if [[ ! -z "$MACOSX_DEPLOYMENT_TARGET" ]]; then
74+
conda install -y -c conda-forge llvm-openmp
75+
fi
7376
displayName: Create conda environment
7477

7578
# build

0 commit comments

Comments
 (0)