Skip to content

Commit

Permalink
Mostly solved python path issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nsmith- committed Jul 28, 2022
1 parent e3c185a commit 1f3a1d8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Install build environment
shell: bash -l {0}
run: |
mamba install -c conda-forge python==${{ matrix.python }} pip root==${{ matrix.root }} gsl tbb vdt boost pcre eigen
mamba install -c conda-forge python==${{ matrix.python }} pip pandas root==${{ matrix.root }} gsl tbb vdt boost pcre eigen
cd HiggsAnalysis/CombinedLimit
bash set_conda_env_vars.sh
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ROOTLDFLAGS = $(shell root-config --ldflags)
DARWIN := $(shell uname|grep Darwin)
ifdef DARWIN
LDFLAGS = $(ROOTLDFLAGS) -shared -install_name @rpath/$(SONAME) -fPIC
EXELDFLAGS = -undefined dynamic_lookup -Wl,-rpath,'@executable_path/../lib'
EXELDFLAGS = -Wl,-rpath,'@executable_path/../lib'
else
LDFLAGS = $(ROOTLDFLAGS) -shared -Wl,-soname,$(SONAME) -Wl,-E -Wl,-z,defs -fPIC
EXELDFLAGS =
Expand All @@ -77,7 +77,7 @@ PROGS = $(notdir $(wildcard ${PROG_DIR}/*.cpp))
EXES = $(PROGS:.cpp=)

#Makefile Rules ---------------------------------------------------------------
.PHONY: clean dirs dict obj lib exe debug
.PHONY: clean dirs dict obj lib exe debug python


all: dirs dict obj lib exe python
Expand Down
1 change: 1 addition & 0 deletions conda_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
dependencies:
- python==3.8
- pip
- pandas
- root==6.22
- gsl
- tbb
Expand Down
2 changes: 1 addition & 1 deletion set_conda_env_vars.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
conda env config vars set PATH=${PATH}:${PWD}/exe:${PWD}/scripts
conda env config vars set LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PWD}/lib
conda env config vars set PYTHONPATH=${PYTHONPATH}:${PWD}/lib/python:${PWD}/lib
conda env config vars set PYTHONPATH=${PYTHONPATH}:${PWD}/lib/python

0 comments on commit 1f3a1d8

Please sign in to comment.