Skip to content

Commit 1324832

Browse files
committed
friday YOLO: try the build directory option.
1 parent 124f81a commit 1324832

File tree

2 files changed

+20
-19
lines changed

2 files changed

+20
-19
lines changed

build.sh

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,25 @@ pwd
44
echo "Contents of SRC_DIR / Build directory are:"
55
ls
66

7-
## this is sufficient
8-
autoreconf -i
9-
./configure --prefix=$PREFIX || cat config.log
7+
### this is sufficient
8+
#autoreconf -i
9+
#./configure --prefix=$PREFIX || cat config.log
1010
#./configure --prefix=$PREFIX --with-mpi || cat config.log
1111
#./configure --prefix=$PREFIX --enable-quad-precision || cat config.log
1212
#./configure --prefix=$PREFIX --enable-quad-precision --with-mpi || cat config.log
13-
echo "compiling/building"
14-
make
15-
echo "installing into $PREFIX"
16-
make install
17-
18-
### to test, build-dir option, ala README
19-
#autoreconf -i
20-
#mkdir build && cd build
21-
#../configure --prefix=$PREFIX || cat config.log
22-
##../configure --prefix=$PREFIX --with-mpi || cat config.log
23-
##../configure --prefix=$PREFIX --enable-quad-precision || cat config.log
24-
##../configure --prefix=$PREFIX --enable-quad-precision --with-mpi || cat config.logecho "compiling/building"
13+
#echo "compiling/building"
2514
#make
2615
#echo "installing into $PREFIX"
2716
#make install
17+
18+
## to test, build-dir option, ala README
19+
autoreconf -i
20+
mkdir build && cd build
21+
../configure --prefix=$PREFIX || cat config.log
22+
#../configure --prefix=$PREFIX --with-mpi || cat config.log
23+
#../configure --prefix=$PREFIX --enable-quad-precision || cat config.log
24+
#../configure --prefix=$PREFIX --enable-quad-precision --with-mpi || cat config.logecho "compiling/building"
25+
echo "compiling/building at $PWD"
26+
make
27+
echo "installing into $PREFIX"
28+
make install

meta.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ requirements:
7979

8080
test:
8181
source_files:
82-
- ./**
82+
- build/**
8383
- man/**
8484
- tests/**
8585
- tools/**
@@ -88,8 +88,7 @@ test:
8888
- m4/**
8989
- configure.ac
9090
- Makefile.am
91-
# # if using build-dir option? needed?
92-
# - build**
91+
9392
commands:
9493
- echo 'Testing FRE-NCtools conda package installation...'
9594
- echo "Installation directory:"
@@ -128,7 +127,8 @@ test:
128127
# Run actual tests using the repository's test infrastructure
129128
# vanilla
130129
- echo "Setting up test environment..."
131-
- autoreconf -i && ./configure --prefix=$PREFIX && make check RUN_EXPENSIVE_TESTS=no || echo "fail guard"
130+
- autoreconf -i && cd build/ && ../configure --prefix=$PREFIX && make check RUN_EXPENSIVE_TESTS=no || echo "fail guard"
131+
#- autoreconf -i && ./configure --prefix=$PREFIX && make check RUN_EXPENSIVE_TESTS=no || echo "fail guard"
132132

133133
- echo "does test-suite.log exist?"
134134
- ls tests/test-suite.log && echo "yes it does exist!"

0 commit comments

Comments
 (0)