Skip to content

Commit

Permalink
moved to build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vikshiv committed Dec 31, 2024
1 parent 18adc49 commit f78869e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
19 changes: 19 additions & 0 deletions recipes/mumemto/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

mkdir build
cd build
cmake ..
make -j"${CPU_COUNT}" install
cd ..

mkdir -p $PREFIX/bin
mkdir -p $SP_DIR/mumemto
mkdir -p $PREFIX/share/licenses/$PKG_NAME

cp build/mumemto $PREFIX/bin/mumemto_exec
cp build/bin/newscanNT.x $PREFIX/bin/
cp mumemto/*.py $SP_DIR/mumemto/
cp mumemto/mumemto $PREFIX/bin/
cp LICENSE $PREFIX/share/licenses/$PKG_NAME/
chmod +x $PREFIX/bin/mumemto
touch $SP_DIR/mumemto/__init__.py
16 changes: 0 additions & 16 deletions recipes/mumemto/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,6 @@ build:
pkg_format: '.conda'
run_exports:
- {{ pin_subpackage(name, max_pin='x.x') }}
script:
- mkdir build
- cd build
- cmake ..
- make -j"${CPU_COUNT}" install
- cd ..
- mkdir -p $PREFIX/bin
- mkdir -p $SP_DIR/mumemto
- cp build/mumemto $PREFIX/bin/mumemto_exec
- cp build/bin/newscanNT.x $PREFIX/bin/
- cp mumemto/*.py $SP_DIR/mumemto/
- cp mumemto/mumemto $PREFIX/bin/
- mkdir -p $PREFIX/share/licenses/{{ name }}
- cp LICENSE $PREFIX/share/licenses/{{ name }}/
- chmod +x $PREFIX/bin/mumemto
- touch $SP_DIR/mumemto/__init__.py

requirements:
build:
Expand Down

0 comments on commit f78869e

Please sign in to comment.