-
Notifications
You must be signed in to change notification settings - Fork 93
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically detect all cores when the --use-all-cores flag is passed #227
Open
ghost
wants to merge
60
commits into
notanumber:master
Choose a base branch
from
memegauste:configure-jflag
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
2112c3e
Fix PY2 error
karolyi d0d482c
Update test versions
asedeno 58486b5
Update test expected queries
asedeno 217ae5d
test setting tweaks for django 2.1
asedeno 9b691a4
user friendly modifications to install_xapian.sh...
kneufeld 03f7a3a
Build fix
memegauste 8f3e129
Fix package, because why not
memegauste 4475d45
Update manual plz
memegauste 9963e54
Move rst to md code
memegauste 51efad6
Fix formatting
memegauste 42fe244
I found it :)
memegauste 236a815
Yh
memegauste eef148f
Ehhh
memegauste 59baa55
.
memegauste 5b626d3
Django settingsify
memegauste 10d2a1d
Merge remote-tracking branch 'origin/master'
memegauste 449067e
Use all of the CPU cores for compilation
memegauste 4073f83
Fix broken tests message
memegauste 1811fc7
Optional flag for all cores usage
memegauste 6da6e7c
Pardon
memegauste a6a72ea
Microoptimizations based on fstring, needs testing
memegauste 4ac9d1b
Ops
memegauste 05c21b2
Fix
memegauste f301fd2
Fix membership performance
memegauste 7f9ef55
django-haystack git home moved
claudep 5934d8d
Dropped Python 2 support
claudep 9751fb0
install_xapian.sh: pin sphinx to avoid compatibility issues with 2.0
asedeno 12576af
Add CI tests for Django 2.2, 3.0, 3.1
claudep ef3e219
Simplified super() calls
claudep b3ff5e5
Drop support for Django < 2.2 and add Django 3.2 support
claudep da4a0ad
Update Django dependency in requirements.txt
claudep c69f2c6
install_xapian.sh - unpin sphinx for xapian >= 1.4.12
asedeno 75cfce9
Added builder script xapian_wheel_builder.sh
asedeno 2906116
work on xapian-delve issues
asedeno 893a229
Replace Travis CI by GitHub Actions
asedeno 6827c82
Replaced travis build badge by GH Actions one
claudep b5b6d37
Ensure README is read with utf-8 encoding in setup.py
claudep 7623860
xapian_wheel_builder - better metadata
asedeno a1b93fc
Better coverage handling
asedeno d1f2827
Drop code meant to support Xapian 1.2.x, 1.3.x.
asedeno 2fb5a88
drop _old_xapian_sort
asedeno 80e5cf3
Github Actions - expand test matrix
asedeno b325b8a
Add a ChangeLog
claudep f868b1e
Add Changelog to Manifest
claudep 81c288b
Remove force_text usage
claudep 75a5ac3
coveragerc - switch from source to include
asedeno 67d0f84
Bump version to 3.0.1
claudep cd8e238
Expand the test matrix to include python 3.10 / django 3.2
asedeno 4fc4d90
Revert "coveragerc - switch from source to include"
asedeno 0bb70c1
Dropped support for Python 3.6
claudep c931e80
Remove obsolete comment backend docstring.
claudep 5f1df4f
tests for non-multiprocessing management commands
ajslater ec98a86
GitHub Actions: rework test matrix
asedeno db033d7
Management Command Database Locking
ajslater 40317e3
Bump Xapian version to 1.4.19
asedeno 041d8c6
Merge remote-tracking branch 'from/master'
memegauste 7fa1c54
Fix multiple issues with merge
memegauste 3db84eb
Automatically detect all cores when the --use-all-cores flag is passed
8ff568e
Merge remote-tracking branch 'origin/master' into configure-jflag
pszczepanski-wt e665171
Merge
pszczepanski-wt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to work on current macOS and FreeBSD, though some older FreeBSD may only have
NPROCESSORS_ONLN
(no leading underscore). That seems to fail in a way that limits us to 1 processor and then proceeds, so that's probably fine.