{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"config","path":"config","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"dtools","path":"dtools","contentType":"directory"},{"name":"gcell","path":"gcell","contentType":"directory"},{"name":"gnuradio-core","path":"gnuradio-core","contentType":"directory"},{"name":"gnuradio-examples","path":"gnuradio-examples","contentType":"directory"},{"name":"gr-atsc","path":"gr-atsc","contentType":"directory"},{"name":"gr-audio","path":"gr-audio","contentType":"directory"},{"name":"gr-comedi","path":"gr-comedi","contentType":"directory"},{"name":"gr-cvsd-vocoder","path":"gr-cvsd-vocoder","contentType":"directory"},{"name":"gr-gcell","path":"gr-gcell","contentType":"directory"},{"name":"gr-gpio","path":"gr-gpio","contentType":"directory"},{"name":"gr-gsm-fr-vocoder","path":"gr-gsm-fr-vocoder","contentType":"directory"},{"name":"gr-howto-write-a-block","path":"gr-howto-write-a-block","contentType":"directory"},{"name":"gr-msdd6000","path":"gr-msdd6000","contentType":"directory"},{"name":"gr-noaa","path":"gr-noaa","contentType":"directory"},{"name":"gr-pager","path":"gr-pager","contentType":"directory"},{"name":"gr-qtgui","path":"gr-qtgui","contentType":"directory"},{"name":"gr-radar-mono","path":"gr-radar-mono","contentType":"directory"},{"name":"gr-radio-astronomy","path":"gr-radio-astronomy","contentType":"directory"},{"name":"gr-run-waveform","path":"gr-run-waveform","contentType":"directory"},{"name":"gr-sounder","path":"gr-sounder","contentType":"directory"},{"name":"gr-trellis","path":"gr-trellis","contentType":"directory"},{"name":"gr-uhd","path":"gr-uhd","contentType":"directory"},{"name":"gr-usrp","path":"gr-usrp","contentType":"directory"},{"name":"gr-usrp2","path":"gr-usrp2","contentType":"directory"},{"name":"gr-utils","path":"gr-utils","contentType":"directory"},{"name":"gr-video-sdl","path":"gr-video-sdl","contentType":"directory"},{"name":"gr-wxgui","path":"gr-wxgui","contentType":"directory"},{"name":"grc","path":"grc","contentType":"directory"},{"name":"gruel","path":"gruel","contentType":"directory"},{"name":"usrp","path":"usrp","contentType":"directory"},{"name":"usrp2","path":"usrp2","contentType":"directory"},{"name":"volk","path":"volk","contentType":"directory"},{"name":"vrt","path":"vrt","contentType":"directory"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"AUTHORS","path":"AUTHORS","contentType":"file"},{"name":"COPYING","path":"COPYING","contentType":"file"},{"name":"ChangeLog","path":"ChangeLog","contentType":"file"},{"name":"Guile-TODO","path":"Guile-TODO","contentType":"file"},{"name":"INSTALL","path":"INSTALL","contentType":"file"},{"name":"Makefile.am","path":"Makefile.am","contentType":"file"},{"name":"Makefile.common","path":"Makefile.common","contentType":"file"},{"name":"Makefile.common.spu","path":"Makefile.common.spu","contentType":"file"},{"name":"Makefile.gen.gen","path":"Makefile.gen.gen","contentType":"file"},{"name":"Makefile.par.gen","path":"Makefile.par.gen","contentType":"file"},{"name":"Makefile.swig","path":"Makefile.swig","contentType":"file"},{"name":"Makefile.swig.gen.t","path":"Makefile.swig.gen.t","contentType":"file"},{"name":"NEWS","path":"NEWS","contentType":"file"},{"name":"README","path":"README","contentType":"file"},{"name":"README-win32-mingw-short.txt","path":"README-win32-mingw-short.txt","contentType":"file"},{"name":"README.building-boost","path":"README.building-boost","contentType":"file"},{"name":"README.hacking","path":"README.hacking","contentType":"file"},{"name":"README.ps3","path":"README.ps3","contentType":"file"},{"name":"bootstrap","path":"bootstrap","contentType":"file"},{"name":"config.guess","path":"config.guess","contentType":"file"},{"name":"config.sub","path":"config.sub","contentType":"file"},{"name":"configure-cell-cross","path":"configure-cell-cross","contentType":"file"},{"name":"configure.ac","path":"configure.ac","contentType":"file"},{"name":"gnuradio-pkg_chk.conf","path":"gnuradio-pkg_chk.conf","contentType":"file"},{"name":"run_tests.sh.in","path":"run_tests.sh.in","contentType":"file"},{"name":"setup_guile_test_env.in","path":"setup_guile_test_env.in","contentType":"file"},{"name":"version.sh","path":"version.sh","contentType":"file"}],"totalCount":64}},"fileTreeProcessingTime":6.292534,"foldersToFetch":[],"repo":{"id":1639901,"defaultBranch":"master","name":"gnuradio","ownerLogin":"pgoeser","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2011-04-20T10:42:36.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/741088?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1616035641.85525","canEdit":false,"refType":"branch","currentOid":"e96213a7da0c74cb0818de7d08d8f6478484364e"},"path":"setup_guile_test_env.in","currentUser":null,"blob":{"rawLines":["#","# Copyright 2010 Free Software Foundation, Inc.","#","# This file is part of GNU Radio","#","# GNU Radio is free software; you can redistribute it and/or modify","# it under the terms of the GNU General Public License as published by","# the Free Software Foundation; either version 3, or (at your option)","# any later version.","#","# GNU Radio is distributed in the hope that it will be useful,","# but WITHOUT ANY WARRANTY; without even the implied warranty of","# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the","# GNU General Public License for more details.","#","# You should have received a copy of the GNU General Public License","# along with this program. If not, see .","#","","# This is sourced by run_guile_tests to establish the environment","# variables required to run the tests in the build tree.","","# add_local_paths is the only \"public\" function in this file","","# 1st argument is absolute path to hand coded guile source directory","# 2nd argument is absolute path to component C++ shared library build directory","# 3nd argument is absolute path to component SWIG build directory","","add_local_paths() {"," if [ $# -ne 3 ]"," then"," echo \"$0: requires 3 args\" 1>&2"," exit 1"," fi",""," # Add local dirs to the front"," prepend_to_guile_load_path \"$1\""," prepend_to_libpath \"$2/.libs\""," [ \"$2\" != \"$3\" ] && prepend_to_libpath \"$3/.libs\""," prepend_to_guile_load_path \"$3\"",""," # Add withdirs to the end"," append_to_guile_load_path \"@with_GUILE_LOAD_PATH@\""," append_to_libpath \"@with_LIBDIRPATH@\"","}","","# ------------------------------------------------------------------------","","abs_top_srcdir=@abs_top_srcdir@","abs_top_builddir=@abs_top_builddir@","","# usage: prepend ","prepend() {"," if [ $# -ne 2 ]"," then"," echo \"$0: prepend needs 2 args\" 1>&2"," exit 1"," fi"," local path=\"$1\" dir=\"$2\" contents=\"\""," eval \"contents=\\$$path\""," if [ \"$dir\" != \"\" ]"," then"," if [ \"$contents\" = \"\" ]"," then"," eval \"$path=\\\"$dir\\\"\""," else"," eval \"$path=\\\"$dir:$contents\\\"\""," fi"," fi"," #echo end-of-prepend: $path=${!path}","}","","# usage: append ","append() {"," if [ $# -ne 2 ]"," then"," echo \"$0: append needs 2 args\" 1>&2"," exit 1"," fi"," local path=\"$1\" dir=\"$2\" contents=\"\""," eval \"contents=\\$$path\""," if [ \"$dir\" != \"\" ]"," then"," if [ \"$contents\" = \"\" ]"," then"," eval \"$path=\\\"$dir\\\"\""," else"," eval \"$path=\\\"$contents:$dir\\\"\""," fi"," fi"," #echo end-of-append: $path=${!path}","}","","prepend_to_guile_load_path() {"," prepend GUILE_LOAD_PATH \"$1\""," export GUILE_LOAD_PATH","}","","append_to_guile_load_path() {"," append GUILE_LOAD_PATH \"$1\""," export GUILE_LOAD_PATH","}","","prepend_to_libpath() {"," prepend LTDL_LIBRARY_PATH \"$1\""," export LTDL_LIBRARY_PATH"," case \"@host_os@\" in","\tdarwin*)","\t prepend DYLD_LIBRARY_PATH \"$1\"","\t export DYLD_LIBRARY_PATH","\t ;;","\tcygwin*|win*|mingw*)","\t prepend PATH \"$1\"","\t export PATH","\t ;;"," esac","}","","append_to_libpath() {"," append LTDL_LIBRARY_PATH \"$1\""," export LTDL_LIBRARY_PATH"," case \"@host_os@\" in","\tdarwin*)","\t append DYLD_LIBRARY_PATH \"$1\"","\t export DYLD_LIBRARY_PATH","\t ;;","\tcygwin*|win*|mingw*)","\t append PATH \"$1\"","\t export PATH","\t ;;"," esac","}","","# ------------------------------------------------------------------------","# Everybody gets gruel and gnuradio-core for free.","# FIXME Eventually this should be gruel and gnuradio-runtime.","# ------------------------------------------------------------------------","","# Where to search for not yet installed C++ shared libraries","prepend_to_libpath $abs_top_builddir/gruel/src/lib/.libs","prepend_to_libpath $abs_top_builddir/gnuradio-core/src/lib/.libs","prepend_to_libpath $abs_top_builddir/gnuradio-core/src/guile/.libs","","# Where to search for not yet installed swig generated guile libs","prepend_to_libpath $abs_top_builddir/gnuradio-core/src/lib/swig/.libs","","# Where to seach for guile code.","prepend_to_guile_load_path $abs_top_srcdir/gnuradio-core/src/guile","prepend_to_guile_load_path $abs_top_builddir/gnuradio-core/src/lib/swig","","","export GUILE_WARN_DEPRECATED=no"],"stylingDirectives":[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/pgoeser/gnuradio/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"setup_guile_test_env.in","displayUrl":"https://github.com/pgoeser/gnuradio/blob/master/setup_guile_test_env.in?raw=true","headerInfo":{"blobSize":"3.94 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"1a73d33","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fpgoeser%2Fgnuradio%2Fblob%2Fmaster%2Fsetup_guile_test_env.in","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"152","truncatedSloc":"132"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":null,"languageID":null,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/pgoeser/gnuradio/blob/master/setup_guile_test_env.in","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/pgoeser/gnuradio/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/pgoeser/gnuradio/raw/master/setup_guile_test_env.in","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":true,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/pgoeser/gnuradio/branches":{"post":"4g3FcZ1ZTfZv0xxiX3LieWFK0wz41_oHRyCcgIYmWK_zj6CCV3ExVrDO1ucX7__kP04KPHgkK-sA_6bR579d0Q"},"/repos/preferences":{"post":"MKPkPzFiwPN61kObnOcV1sbPKroQKnWt3lIO0Ol8l2C4uHibT6Zg0AWLbuKb61dBuOSmSnxXsYNmJbhnh_VffA"}}},"title":"gnuradio/setup_guile_test_env.in at master ยท pgoeser/gnuradio"}