Skip to content

Commit

Permalink
try this version
Browse files Browse the repository at this point in the history
  • Loading branch information
grburgess committed Aug 14, 2022
1 parent 966cd86 commit 63267ca
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
6 changes: 5 additions & 1 deletion conda_recipe/xspec-modelsonly-linux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ echo $PWD
echo $RECIPE_DIR
echo $CC
echo $CXX
echo $CONDA_PREFIX
echo $BUILD_PREFIX


tar xf heasoft-6.30.1src.tar.gz

Expand Down Expand Up @@ -37,7 +40,8 @@ cd ${XSPEC_MODELS_ONLY}/BUILD_DIR
export CFLAGS="-I$CONDA_PREFIX/include"
export CXXFLAGS="-std=c++11 -Wno-c++11-narrowing -Wall -Wno-deprecated -I$CONDA_PREFIX/include"

export LDFLAGS="$LDFLAGS -L$CONDA_PREFIX/lib -undefined dynamic_lookup --enable-shared"
#export LDFLAGS="$LDFLAGS -L$CONDA_PREFIX/lib -undefined dynamic_lookup --enable-shared"
export LDFLAGS="$LDFLAGS -L$CONDA_PREFIX/lib "
# -L${PREFIX}/lib"
export CCTEST="echo"

Expand Down
5 changes: 2 additions & 3 deletions conda_recipe/xspec-modelsonly-linux/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ build:

requirements:
build:
- gfortran_osx-64 # [osx]
- {{ compiler('c') }} # [osx]
- {{ compiler('cxx') }} # [osx]
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('fortran') }} # [linux]
#- libgfortran>=3.0,<4.0 # [osx]
#- libgfortran-ng==7.5.0 # [linux]
Expand Down
16 changes: 8 additions & 8 deletions conda_recipe/xspec-modelsonly/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# c_compiler:
# - gcc # [linux]
# - clang # [osx]
# cxx_compiler:
# - gxx # [linux]
# - clangxx # [osx]
# CONDA_BUILD_SYSROOT:
# - /opt/MacOSX10.10.sdk # [osx]
c_compiler:
- gcc # [linux]
- clang # [osx]
cxx_compiler:
- gxx # [linux]
- clangxx # [osx]
CONDA_BUILD_SYSROOT:
- /opt/MacOSX10.10.sdk # [osx]

0 comments on commit 63267ca

Please sign in to comment.