8000 arangodb/GNUmakefile at devel · brennv/arangodb · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":".hooks","path":".hooks","contentType":"directory"},{"name":"3rdParty","path":"3rdParty","contentType":"directory"},{"name":"Documentation","path":"Documentation","contentType":"directory"},{"name":"Installation","path":"Installation","contentType":"directory"},{"name":"UnitTests","path":"UnitTests","contentType":"directory"},{"name":"arangod","path":"arangod","contentType":"directory"},{"name":"arangosh","path":"arangosh","contentType":"directory"},{"name":"cmake","path":"cmake","contentType":"directory"},{"name":"etc","path":"etc","contentType":"directory"},{"name":"js","path":"js","contentType":"directory"},{"name":"lib","path":"lib","contentType":"directory"},{"name":"scripts","path":"scripts","contentType":"directory"},{"name":"utils","path":"utils","contentType":"directory"},{"name":".clang-format","path":".clang-format","contentType":"file"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".jsbeautifyrc","path":".jsbeautifyrc","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"CHANGELOG","path":"CHANGELOG","contentType":"file"},{"name":"CMakeLists.txt","path":"CMakeLists.txt","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"DEPRECATED.md","path":"DEPRECATED.md","contentType":"file"},{"name":"EXPERIMENTAL","path":"EXPERIMENTAL","contentType":"file"},{"name":"GNUmakefile","path":"GNUmakefile","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"LICENSES-OTHER-COMPONENTS.md","path":"LICENSES-OTHER-COMPONENTS.md","contentType":"file"},{"name":"README","path":"README","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"README.windows","path":"README.windows","contentType":"file"},{"name":"README_maintainers.md","path":"README_maintainers.md","contentType":"file"},{"name":"VERSION","path":"VERSION","contentType":"file"}],"totalCount":31}},"fileTreeProcessingTime":8.966796,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":62043366,"defaultBranch":"devel","name":"arangodb","ownerLogin":"brennv","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2016-06-27T09:29:55.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/10409276?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"devel","listCacheKey":"v0:1617599095.421031","canEdit":false,"refType":"branch","currentOid":"c4cca4a3cb8d2bf0f5a1c5cf054b14c05d152587"},"path":"GNUmakefile","currentUser":null,"blob":{"rawLines":["# -*- mode: Makefile; -*-","","## -----------------------------------------------------------------------------","## --SECTION-- COMMON VARIABLES","## -----------------------------------------------------------------------------","","SRC=$(shell pwd |sed \"s;.*/;;\")","",".PHONY: warning help","","warning:","\t@echo \"ArangoDB has switched to CMAKE. In order to compile, use:\"","\t@echo \"\"","\t@echo \" mkdir -p build\"","\t@echo \" cd build\"","\t@echo \" cmake .. -DCMAKE_BUILD_TYPE=Release\"","\t@echo \" make\"","\t@echo \"\"","\t@echo \"MacOS users:\"","\t@echo \" Please use OPENSSL from homebrew and use\"","\t@echo \"\"","\t@echo \" cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_BUILD_TYPE=Release\"","\t@echo \"\"","\t@echo \" Note that some versions of Apple's clang have severe performance\"","\t@echo \" issues. Use GCC5 from homebrew in this case.\"","\t@echo \"\"","\t@echo \"Use 'make help' to see more options.\"","","help:","\t@echo \"The most common -D\u003coptions\u003e are\"","\t@echo \"\"","\t@echo \" -DCMAKE_CXX_COMPILER=/usr/local/bin/g++-5\"","\t@echo \" sets the C++ compiler\"","\t@echo \" -DCMAKE_C_COMPILER=/usr/local/bin/gcc-5\"","\t@echo \" sets the C compiler\"","\t@echo \"\"","\t@echo \"ArangoDB supports:\"","\t@echo \"\"","\t@echo \" -DUSE_BACKTRACE=off\"","\t@echo \" if ON, enables backtraces in fatal errors\"","\t@echo \" -DUSE_FAILURE_TESTS=off\"","\t@echo \" if ON, add failure functions for testing\"","\t@echo \" -DUSE_MAINTAINER_MODE=off\"","\t@echo \" if ON, enable maintainer features\"","\t@echo \"\"","\t@echo \"BOOST supports:\"","\t@echo \"\"","\t@echo \" -DUSE_BOOST_SYSTEM_LIBS=off\"","\t@echo \" if ON, use the operating system Boost installation\"","\t@echo \" -DUSE_BOOST_UNITTESTS=on\"","\t@echo \" if ON, use Boost unittest framework if this available\"","\t@echo \"\"","\t@echo \"OPENSSL supports:\"","\t@echo \" -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl\"","\t@echo \" sets the location of the openssl includes and libraries\"","\t@echo \"\"","\t@echo \"JEMALLOC supports:\"","\t@echo \" -DUSE_JEMALLOC=on\"","\t@echo \" if ON, link against JEMALLOC\"","\t@echo \"\"","\t@echo \"TCMALLOC supports:\"","\t@echo \" -DUSE_TCMALLOC=on\"","\t@echo \" if ON, link against TCMALLOC\"","\t@echo \"\"","\t@echo \"V8 supports:\"","\t@echo \" -DUSE_PRECOMPILED_V8=off\"","\t@echo \" if ON, use precompiled V8 libraries\"","\t@echo \"\"","\t@echo \"ZLIB supports:\"","\t@echo \" -DASM686=on\"","\t@echo \" if ON, enables building i686 assembly implementation\"","\t@echo \" -DAMD64=on\"","\t@echo \" if ON, enables building amd64 assembly implementation\"","","","## -----------------------------------------------------------------------------","## --SECTION-- CMAKE \u0026 CPACK","## -----------------------------------------------------------------------------","","################################################################################","### @brief MacOSX bundle","################################################################################","",".PHONY: pack-dmg pack-dmg-cmake","","DMG_NAME := ArangoDB-CLI.app","","pack-dmg:","\trm -rf Build \u0026\u0026 mkdir Build","\t${MAKE} pack-dmg-cmake","","pack-dmg-cmake:","\tcd Build \u0026\u0026 cmake \\","\t\t-D \"USE_OPTIMIZE_FOR_ARCHITECTURE=Off\" \\","\t\t-D \"CMAKE_BUILD_TYPE=RelWithDebInfo\" \\","\t\t-D \"CMAKE_OSX_DEPLOYMENT_TARGET=10.10\" \\","\t\t-D \"CMAKE_INSTALL_PREFIX=/opt/arangodb\" \\","\t\t-D \"OPENSSL_ROOT_DIR=`brew --prefix`/opt/openssl\" \\","\t\t..","","\tcd Build \u0026\u0026 ${MAKE}","","\tcd Build \u0026\u0026 cpack \\","\t\t-G Bundle \\","\t\t-D \"CPACK_INSTALL_PREFIX=${DMG_NAME}/Contents/MacOS/opt/arangodb\"","","################################################################################","### @brief MacOSXcode","################################################################################","",".PHONY: pack-macosxcode pack-macosxcode-cmake","","PACK_DESTDIR ?= .","","pack-macosxcode:","\trm -rf Build \u0026\u0026 mkdir Build","\t${MAKE} -f GNUMakefile pack-macosxcode-cmake MOREOPTS='$(MOREOPTS)'","","pack-macosxcode-cmake:","\tcd Build \u0026\u0026 cmake \\","\t\t-D \"USE_OPTIMIZE_FOR_ARCHITECTURE=Off\" \\","\t\t-D \"CMAKE_BUILD_TYPE=RelWithDebInfo\" \\","\t\t-D \"CMAKE_OSX_DEPLOYMENT_TARGET=10.10\" \\","\t\t-D \"CMAKE_INSTALL_PREFIX=/opt/arangodb\" \\","\t\t-D \"OPENSSL_ROOT_DIR=`brew --prefix`/opt/openssl\" \\","\t\t-G Xcode \\","\t\t$(MOREOPTS) \\","\t\t..","","","################################################################################","### @brief MacOSX","################################################################################","",".PHONY: pack-macosx pack-macosx-cmake","","PACK_DESTDIR ?= .","","pack-macosx:","\trm -rf Build \u0026\u0026 mkdir Build","","\t${MAKE} pack-macosx-cmake MOREOPTS='$(MOREOPTS)'","","pack-macosx-cmake:","\tcd Build \u0026\u0026 cmake \\","\t\t-D \"BUILD_PACKAGE=dmg-cli\" \\","\t\t-D \"CMAKE_INSTALL_PREFIX=${prefix}\" \\","\t\t-D \"OPENSSL_INCLUDE=`brew --prefix`/opt/openssl/include\" \\","\t\t-D \"OPENSSL_LIB_PATH=`brew --prefix`/opt/openssl/lib\" \\","\t\t-D \"OPENSSL_LIBS=`brew --prefix`/opt/openssl/lib/libssl.a;`brew --prefix`/opt/openssl/lib/libcrypto.a\" \\","\t\t$(MOREOPTS) \\","\t\t..","","\t${MAKE} ${BUILT_SOURCES}","","\ttest -d bin || mkdir bin","","\trm -f ./.file-list-js","\tcd Build \u0026\u0026 ${MAKE}","","\t./Installation/file-copy-js.sh . Build","","\tcd Build \u0026\u0026 ${MAKE} install DESTDIR=${PACK_DESTDIR}","","################################################################################","### @brief debian arm package","################################################################################","",".PHONY: pack-arm pack-arm-cmake","","pack-arm:","\trm -rf Build \u0026\u0026 mkdir Build","","\t${MAKE} pack-arm-cmake","","pack-arm-cmake:","\tcd Build \u0026\u0026 cmake \\","\t\t-D \"BUILD_PACKAGE=raspbian\" \\","\t\t-D \"CMAKE_CXX_FLAGS_RELEASE:STRING=-O2 -DNDEBUG\" \\","\t\t-D \"CMAKE_C_FLAGS_RELEASE:STRING=-O2 -DNDEBUG\" \\","\t\t-D \"CMAKE_INSTALL_PREFIX=${prefix}\" \\","\t\t-D \"ETCDIR=${sysconfdir}\" \\","\t\t-D \"VARDIR=${localstatedir}\" \\","\t\t$(MOREOPTS) \\","\t\t..","","\t${MAKE} ${BUILT_SOURCES}","","\trm -f ./.file-list-js","\tcd Build \u0026\u0026 ${MAKE}","","\t./Installation/file-copy-js.sh . Build","","\tcd Build \u0026\u0026 cpack -G DEB","","","pack-deb-cmake:","\tmkdir Build","\tcd Build \u0026\u0026 cmake \\","\t\t-D \"CMAKE_CXX_FLAGS_RELEASE:STRING=-O2 -DNDEBUG\" \\","\t\t-D \"CMAKE_C_FLAGS_RELEASE:STRING=-O2 -DNDEBUG\" \\","\t\t-D \"CMAKE_INSTALL_PREFIX=${prefix}\" \\","\t\t-D \"ETCDIR=${sysconfdir}\" \\","\t\t-D \"VARDIR=${localstatedir}\" \\","\t\t$(MOREOPTS) \\","\t\t..","","\t${MAKE} ${BUILT_SOURCES}","","\trm -f ./.file-list-js","\tcd Build \u0026\u0026 ${MAKE}","","\t./Installation/file-copy-js.sh . Build","","\tcd Build \u0026\u0026 cpack -G DEB","","################################################################################","### @brief Windows 64-bit bundle","################################################################################","",".PHONY: pack-win32 pack-winXX winXX-cmake win64-relative win64-relative-debug","","pack-win32: ","\t$(MAKE) pack-winXX BITS=32 TARGET=\"Visual Studio 14\" MOREOPTS='-D \"V8_TARGET_ARCHS=Release\"'","","pack-win64:","\t$(MAKE) pack-winXX BITS=64 TARGET=\"Visual Studio 14 Win64\" MOREOPTS='-D \"V8_TARGET_ARCHS=Release\"'","","pack-win32-relative:","\t$(MAKE) pack-winXX BITS=32 TARGET=\"Visual Studio 14\" MOREOPTS='-D \"USE_MAINTAINER_MODE=ON\" -D \"USE_BACKTRACE=ON\" -D \"V8_TARGET_ARCHS=Debug\"'","","pack-win64-relative:","\t$(MAKE) pack-winXX BITS=64 TARGET=\"Visual Studio 14 Win64\" MOREOPTS='-D \"USE_MAINTAINER_MODE=ON\" -D \"USE_BACKTRACE=ON\" -D \"V8_TARGET_ARCHS=Debug\"' ","","win64-relative:","\t$(MAKE) winXX-cmake BITS=64 TARGET=\"Visual Studio 14 Win64\" MOREOPTS='-D \"V8_TARGET_ARCHS=Debug\"'","\t$(MAKE) winXX-build BITS=64 BUILD_TARGET=RelWithDebInfo","","win64-relative-debug:","\t$(MAKE) winXX-cmake BITS=64 TARGET=\"Visual Studio 14 Win64\" MOREOPTS=' -D \"USE_MAINTAINER_MODE=ON\" -D \"USE_BACKTRACE=ON\" -D \"V8_TARGET_ARCHS=Debug\"' ","\t$(MAKE) winXX-build BITS=64 BUILD_TARGET=Debug","","pack-winXX:","\trm -rf ../b \u0026\u0026 mkdir ../b","","\t${MAKE} winXX-cmake BITS=\"$(BITS)\" TARGET=\"$(TARGET)\" BUILD_TARGET=RelWithDebInfo","\t${MAKE} winXX-build BITS=\"$(BITS)\" TARGET=\"$(TARGET)\" BUILD_TARGET=RelWithDebInfo","\t${MAKE} packXX BITS=\"$(BITS)\" BUILD_TARGET=RelWithDebInfo","","pack-winXX-MOREOPTS:","\trm -rf ../b \u0026\u0026 mkdir ../b","","\t${MAKE} winXX-cmake BITS=\"$(BITS)\" TARGET=\"$(TARGET)\" MOREOPTS=$(MOREOPTS)","\t${MAKE} winXX-build BITS=\"$(BITS)\" TARGET=\"$(TARGET)\" BUILD_TARGET=Debug","\t${MAKE} packXX BITS=\"$(BITS)\" TARGET=\"$(TARGET)\" BUILD_TARGET=Debug","","winXX-cmake:","\trm -f ./.file-list-js","\tcd ../b \u0026\u0026 cmake \\","\t\t-G \"$(TARGET)\" \\","\t\t-D \"CMAKE_BUILD_TYPE=RelWithDebInfo\" \\","\t\t-D \"BUILD_TYPE=RelWithDebInfo\" \\","\t\t-D \"BUILD_ID=${BUILD_ID}\" \\","\t\t$(MOREOPTS) \\","\t\t../$(SRC)/","","winXX-build:","\tcp Installation/Windows/Icons/arangodb.ico ../b","\tcd ../b \u0026\u0026 cmake --build . --config $(BUILD_TARGET)","","packXX:","\tif test ! -d ../b/js; then ./Installation/file-copy-js.sh . ../b; fi","\tcd ../b; rm -f ArangoDB-*.exe ArangoDB*.nsi","\tcd ../b \u0026\u0026 cpack -G NSIS -C $(BUILD_TARGET)","\tcd ../b \u0026\u0026 cpack -G ZIP -C $(BUILD_TARGET)","","\t./Installation/Windows/installer-generator.sh $(BITS) ..\\\\b"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/brennv/arangodb/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"GNUmakefile","displayUrl":"https://github.com/brennv/arangodb/blob/devel/GNUmakefile?raw=true","headerInfo":{"blobSize":"8.23 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":"f5eee17","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fbrennv%2Farangodb%2Fblob%2Fdevel%2FGNUmakefile","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"277","truncatedSloc":"215"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Makefile","languageID":220,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/brennv/arangodb/blob/devel/GNUmakefile","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/brennv/arangodb/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/brennv/arangodb/raw/refs/heads/devel/GNUmakefile","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,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/brennv/arangodb/branches":{"post":"X4D5zP3IiHizUJkW9GUcresfr-CQdm7vxutreeipBGF7TCDA6zCzEWvm6hgY43CuD3BZ1SVmZbTqE4-9HdNwMQ"},"/repos/preferences":{"post":"n8FTVZbzchYXAU-U1U557ACmnXNdroYprY0wo-lhScrSizV8J5EymqcSdxHqX_nJQUrU9-Ie3fI5Fg3rtVOkwg"}}},"title":"arangodb/GNUmakefile at devel · brennv/arangodb","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}
0