Skip to content

Commit ebda780

Browse files
committed
and with reckless abandon, we continue.
1 parent a26c79d commit ebda780

File tree

2 files changed

+53
-24
lines changed

2 files changed

+53
-24
lines changed

build.sh

Lines changed: 40 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61,32 +61,32 @@ echo ""
6161

6262
echo ""
6363
#CC=mpicc
64-
CC=`nc-config --cc`
64+
export CC=`nc-config --cc`
6565
echo "CC is:"
6666
echo $CC
6767
echo ""
6868

6969
echo ""
7070
#FC=mpifc
71-
FC=`nf-config --fc`
71+
export FC=`nf-config --fc`
7272
echo "FC is:"
7373
echo $FC
7474
echo ""
7575

7676
echo ""
77-
CFLAGS=`nc-config --cflags`
77+
export CFLAGS=`nc-config --cflags`
7878
echo "CFLAGS is:"
7979
echo $CFLAGS
8080
echo ""
8181

8282
echo ""
83-
FCFLAGS=`nf-config --fflags`
83+
export FCFLAGS=`nf-config --fflags`
8484
echo "FCFLAGS is:"
8585
echo $FCFLAGS
8686
echo ""
8787

8888
echo ""
89-
LDFLAGS=`nc-config --libs`
89+
export LDFLAGS=`nc-config --libs`
9090
echo "LDFLAGS is:"
9191
echo $LDFLAGS
9292
echo ""
@@ -119,20 +119,45 @@ echo ""
119119
echo "installing no PREFIX"
120120
make install
121121

122-
cp -r lib/ $PREFIX
123-
cp -r src/ $PREFIX
124-
cp -r tests/ $PREFIX
125-
#cp -r tools/ $PREFIX
126-
cp -r man/ $PREFIX
127-
cp -r m4/ $PREFIX
128-
cp -r docs/ $PREFIX
122+
cp aclocal.m4 $PREFIX || echo "oops couldnt do it"
123+
cp ar-lib $PREFIX || echo "oops couldnt do it"
124+
cp build.sh $PREFIX || echo "oops couldnt do it"
125+
cp CODE_OF_CONDUCT.md $PREFIX || echo "oops couldnt do it"
126+
cp compile $PREFIX || echo "oops couldnt do it"
127+
cp config.h $PREFIX || echo "oops couldnt do it"
128+
cp config.h.in $PREFIX || echo "oops couldnt do it"
129+
cp config.log $PREFIX || echo "oops couldnt do it"
130+
cp config.status $PREFIX || echo "oops couldnt do it"
131+
cp configure $PREFIX || echo "oops couldnt do it"
132+
cp configure.ac $PREFIX || echo "oops couldnt do it"
133+
cp CONTRIBUTING.md $PREFIX || echo "oops couldnt do it"
134+
cp depcomp $PREFIX || echo "oops couldnt do it"
135+
cp environment.yml $PREFIX || echo "oops couldnt do it"
136+
cp install-sh $PREFIX || echo "oops couldnt do it"
137+
cp LICENSE.md $PREFIX || echo "oops couldnt do it"
138+
cp Makefile $PREFIX || echo "oops couldnt do it"
139+
cp Makefile.am $PREFIX || echo "oops couldnt do it"
140+
cp Makefile.in $PREFIX || echo "oops couldnt do it"
141+
cp meta.yaml $PREFIX || echo "oops couldnt do it"
142+
cp missing $PREFIX || echo "oops couldnt do it"
143+
cp README.md $PREFIX || echo "oops couldnt do it"
144+
cp stamp-h1 $PREFIX || echo "oops couldnt do it"
145+
cp tap-driver.sh $PREFIX || echo "oops couldnt do it"
146+
cp test-driver $PREFIX || echo "oops couldnt do it"
147+
cp autom4te.cache/** $PREFIX || echo "oops couldnt do it"
148+
cp -r docs/* $PREFIX || echo "oops couldnt do it"
149+
cp -r lib/* $PREFIX || echo "oops couldnt do it"
150+
cp -r m4/* $PREFIX || echo "oops couldnt do it"
151+
cp -r man/* $PREFIX || echo "oops couldnt do it"
152+
cp -r site-configs/* $PREFIX || echo "oops couldnt do it"
153+
cp -r src/* $PREFIX || echo "oops couldnt do it"
154+
cp -r tests/* $PREFIX || echo "oops couldnt do it"
155+
cp -r tools/* $PREFIX || echo "oops couldnt do it"
129156

130157
#echo ""
131158
#echo "trying a make check in the build process, not advisable but i want info"
132159
#make check RUN_EXPENSIVE_TESTS=no \
133-
# || echo "make check failed- see test-suite.log, guarding against the failure to not clobber helpful output"
160+
# || echo "make check failed- see test-suite.log, guarding against the failure to not clobber helpful output"
134161

135162
#ls $SRC_DIR/tests/test-suite.log || echo "test-suite.log not found at $SRC_DIR/tests/test-suite.log"
136163
#cp $SRC_DIR/tests/test-suite.log /app/fre-nctools-tarball || echo "copying test-suite log failed"
137-
138-

meta.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ source:
66
path: .
77

88
build:
9-
number: 0
9+
number: 1
1010

1111
requirements:
1212
host:
@@ -117,11 +117,9 @@ about:
117117
summary: Tools for manipulating and creating netCDF inputs for FMS managed models
118118

119119
test:
120-
skip: true
121120
source_files:
122121
- aclocal.m4
123122
- ar-lib
124-
- autom4te.cache/**
125123
- build.sh
126124
- CODE_OF_CONDUCT.md
127125
- compile
@@ -133,24 +131,25 @@ test:
133131
- configure.ac
134132
- CONTRIBUTING.md
135133
- depcomp
136-
- docs/**
137134
- environment.yml
138135
- install-sh
139-
- lib/**
140136
- LICENSE.md
141-
- m4/**
142137
- Makefile
143138
- Makefile.am
144139
- Makefile.in
145-
- man/**
146140
- meta.yaml
147141
- missing
148142
- README.md
149-
- site-configs/**
150-
- src/**
151143
- stamp-h1
152144
- tap-driver.sh
153145
- test-driver
146+
- autom4te.cache/**
147+
- docs/**
148+
- lib/**
149+
- m4/**
150+
- man/**
151+
- site-configs/**
152+
- src/**
154153
- tests/**
155154
- tools/**
156155

@@ -166,6 +165,11 @@ test:
166165
# Run actual tests using the repository's test infrastructure
167166
# vanilla
168167
- echo "Setting up test environment..."
168+
# - CC=`nc-config --cc`
169+
# - FC=`nf-config --fc`
170+
# - CFLAGS=`nc-config --cflags`
171+
# - FCFLAGS=`nf-config --fflags`
172+
# - LDFLAGS=`nc-config --libs`
169173
- autoreconf -iv
170174
- ./configure --prefix=$PREFIX --with-mpi --enable-quad-precision
171175
- make check RUN_VERY_EXPENSIVE_TESTS=no RUN_EXPENSIVE_TESTS=no || echo "make check failed in conda build. guarding against that failure so the tarball still gets put out!"

0 commit comments

Comments
 (0)