Skip to content

Commit

Permalink
move gcc_linux install to conda_build
Browse files Browse the repository at this point in the history
  • Loading branch information
egluckthaler committed Dec 18, 2023
1 parent fa76f06 commit c97967f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conda_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
conda config --add channels bioconda
conda config --add channels conda-forge
conda install conda-build conda-verify
conda install -c conda-forge conda-build conda-verify gcc_linux-64
conda build .
# This step installs conda-build and then uses it to build your Conda package.

Expand Down
7 changes: 0 additions & 7 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
# Install g++ compiler
conda install -c conda-forge gcc_linux-64 --force-reinstall

# Set environment variables to use the Conda environment's compilers
export CC=$CONDA_PREFIX/bin/x86_64-conda-linux-gnu-gcc
export CXX=$CONDA_PREFIX/bin/x86_64-conda-linux-gnu-g++

# compile CNEFinder
cd $SRC_DIR/CNEFinder/
./pre-install.sh
Expand Down
4 changes: 2 additions & 2 deletions meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ build:
requirements:
build:
- python=3.8.*
- gcc_linux-64
- conda-forge::gcc_linux-64
- make
run:
- python=3.8.* # Add your runtime dependencies here
- gcc_linux-64
- conda-forge::gcc_linux-64
- mummer4=4.0.0
- bedtools=2.30.0
- sourmash>=4.6
Expand Down

0 comments on commit c97967f

Please sign in to comment.