Skip to content

Commit

Permalink
Merge pull request #3 from sfiligoi/conda_opt
Browse files Browse the repository at this point in the history
Optimize for AVX in conda builds
  • Loading branch information
sfiligoi authored Mar 28, 2022
2 parents 864cc46 + 0574b16 commit b858cae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
./scripts/install_hpc_sdk.sh
source setup_nv_h5.sh
fi
export PERFORMING_CONDA_BUILD=True
make api && \
make main && \
make install && \
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ endif

ifneq (,$(findstring pgi,$(COMPILER)))
ifeq ($(PERFORMING_CONDA_BUILD),True)
CPPFLAGS += -tp=px
CPPFLAGS += -tp=sandybridge
endif
else
ifeq ($(PERFORMING_CONDA_BUILD),True)
Expand Down

0 comments on commit b858cae

Please sign in to comment.