forked from litalbarkai/open-redatam
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test rhub USING R-HUB IMAGES simplify r test modify rhub fix docker dependencies separate deps and check run line use of with install dependencies install pak fix cd arguments specify r user pkg dir install openssl dont use apt when it is not recognized install rcmdcheck explicit use of apt-get correct cmd syntax try script remove multiple lines in gha install rcmdcheck on docker correct docker image call simplify docker docker: use local dir use devtools with docker try pak again use devtools with docker check with rcmdcheck on docker install decor on docker test with all rhub images update pkg desc + add more devel R images correct clang versions dont' install curl on docker use old cache for ols OSes downgrade checkout with ols OS try checkout v2 try old OS again remove old OSes for now install pandoc on redhat simplify gha simplify gha more skip R setup on docker install pak install pak via rscript indent pak fix asan errors? full refactor + use libpng for mac m1 rpkg: use cpp/xxx.hpp instead of cpp11.hpp consistent use of ThrowIfBad + add link to microdata add microdata to main readme and pypkg micro data in pypkg readme
- Loading branch information
1 parent
be67822
commit ddf1ff4
Showing
36 changed files
with
427 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
rm -f src/Makevars configure.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/sh | ||
|
||
PKG_CONFIG_NAME="redatam" | ||
|
||
# Check for pkg-config | ||
pkg-config --version >/dev/null 2>&1 | ||
if [ $? -eq 0 ]; then | ||
PKGCONFIG_CFLAGS=`pkg-config --cflags --silence-errors` | ||
PKGCONFIG_LIBS=`pkg-config --libs` | ||
fi | ||
|
||
# Set default flags | ||
PKG_CFLAGS="-Ivendor -Iredatamlib -Iredatamlib/entities -Iredatamlib/exporters -Iredatamlib/readers" | ||
PKG_LIBS="-Lvendor -Lredatamlib" | ||
|
||
# Use pkg-config if available | ||
if [ "$PKGCONFIG_CFLAGS" ] || [ "$PKGCONFIG_LIBS" ]; then | ||
echo "Found pkg-config cflags and libs!" | ||
PKG_CFLAGS=${PKGCONFIG_CFLAGS} | ||
PKG_LIBS=${PKGCONFIG_LIBS} | ||
fi | ||
|
||
# Uncomment CXXFLAGS in Makevars.in to debug | ||
# CXXFLAGS="-O0 -g -stdlib=libc++" | ||
LDFLAGS="-stdlib=libc++" | ||
|
||
# Write to Makevars using sed to replace placeholders | ||
sed -e "s|@cflags@|$PKG_CFLAGS|" \ | ||
-e "s|@libs@|$PKG_LIBS|" \ | ||
-e "s|@cxxflags@|$CXXFLAGS|" \ | ||
-e "s|@ldflags@|$LDFLAGS|" \ | ||
src/Makevars.in > src/Makevars | ||
|
||
# Success | ||
exit 0 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.