Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix Jamfile#4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
coolcoder613eb merged 1 commit intocoolcoder613eb:mainfromZardshard:build4
Oct 5, 2023
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletionsJamfile
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,6 +27,8 @@ rule SharedLibrary
# Then turn those .o files into a single .so file
SharedLibraryFromObjects $(<) : $(>:S=$(SUFOBJ)) ;
# Remove .o file after .so is made
# NOTE: commenting this line out allows rebuilds to skip compiling .cpp
# files that haven't been changed.
RmTemps $(<) : $(>:S=$(SUFOBJ)) ;
}

Expand All@@ -37,17 +39,15 @@ actions SoftLink
$(RM) $(<) && $(LN) -sr $(>) $(<)
}


ruleCreateSymlinks
# Create multiple symlinks to a single file
ruleSymlink
{
# Create all the symlinks to Be.so
for sourceFile in $(sourceFiles) {
# replace sourceFile's suffix (aka file extension) with .so
libFile = $(sourceFile:S=.so) ;
for targetFile in $(<) {
# Put target file into LOCATE_TARGET directory
MakeLocate $(targetFile) : $(LOCATE_TARGET) ;

# $(libFile) can be made by symlinking to Be.so
SoftLink $(<)/$(libFile) : Be.so ;
}
SoftLink $(targetFile) : $(>) ;
}
}

## Main build file
Expand DownExpand Up@@ -107,6 +107,9 @@ local sourceFiles =
# The shared library Be.so can be built from the sourceFiles
SharedLibrary Be.so : $(sourceFiles) ;

# The symlinked libraries can be built by linking to Be.so
Symlink $(sourceFiles:S=.so) : Be.so ;


InstallLib /boot/system/lib/python$(py) : $(LOCATE_TARGET) ;
# As part of `jam install`, copy the following files:
InstallLib /boot/system/non-packaged/lib/python$(py)/site-packages/haiku-pyapi
: $(sourceFiles:S=.so) Be.so ;

[8]ページ先頭

©2009-2025 Movatter.jp